Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
doppelte events von acpid
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
linuxexplorer
n00b
n00b


Joined: 01 Jun 2007
Posts: 22

PostPosted: Mon Jul 09, 2007 3:33 pm    Post subject: doppelte events von acpid Reply with quote

Hallo!

Ich erhalte von acpid doppelte events. Das ist besonders ärgerlich, weil acpid dann die Aktionen=Scripten auch doppelt oder sogar dreifach ausführt.

Beim Ziehen des Steckers:

Code:

[Mon Jul  9 17:26:27 2007] received event "battery BAT0 00000080 00000001"
[Mon Jul  9 17:26:27 2007] notifying client 5046[102:1003]
[Mon Jul  9 17:26:27 2007] notifying client 5218[0:0]
[Mon Jul  9 17:26:27 2007] notifying client 11093[0:0]
[Mon Jul  9 17:26:27 2007] completed event "battery BAT0 00000080 00000001"
[Mon Jul  9 17:26:27 2007] received event "processor CPU0 00000080 00000000"
[Mon Jul  9 17:26:27 2007] notifying client 5046[102:1003]
[Mon Jul  9 17:26:27 2007] notifying client 5218[0:0]
[Mon Jul  9 17:26:27 2007] notifying client 11093[0:0]
[Mon Jul  9 17:26:27 2007] completed event "processor CPU0 00000080 00000000"
[Mon Jul  9 17:26:27 2007] received event "processor CPU1 00000080 00000000"
[Mon Jul  9 17:26:27 2007] notifying client 5046[102:1003]
[Mon Jul  9 17:26:27 2007] notifying client 5218[0:0]
[Mon Jul  9 17:26:27 2007] notifying client 11093[0:0]
[Mon Jul  9 17:26:27 2007] completed event "processor CPU1 00000080 00000000"
[Mon Jul  9 17:26:28 2007] received event "battery BAT0 00000080 00000001"
[Mon Jul  9 17:26:28 2007] notifying client 5046[102:1003]
[Mon Jul  9 17:26:28 2007] notifying client 5218[0:0]
[Mon Jul  9 17:26:28 2007] notifying client 11093[0:0]
[Mon Jul  9 17:26:28 2007] completed event "battery BAT0 00000080 00000001"
[Mon Jul  9 17:26:28 2007] received event "battery BAT0 00000080 00000001"
[Mon Jul  9 17:26:28 2007] notifying client 5046[102:1003]
[Mon Jul  9 17:26:28 2007] notifying client 5218[0:0]
[Mon Jul  9 17:26:28 2007] notifying client 11093[0:0]
[Mon Jul  9 17:26:28 2007] completed event "battery BAT0 00000080 00000001"
[Mon Jul  9 17:26:30 2007] received event "battery BAT0 00000080 00000001"
[Mon Jul  9 17:26:30 2007] notifying client 5046[102:1003]
[Mon Jul  9 17:26:30 2007] notifying client 5218[0:0]
[Mon Jul  9 17:26:30 2007] notifying client 11093[0:0]
[Mon Jul  9 17:26:30 2007] completed event "battery BAT0 00000080 00000001"
[Mon Jul  9 17:26:30 2007] received event "battery BAT0 00000080 00000001"
[Mon Jul  9 17:26:30 2007] notifying client 5046[102:1003]
[Mon Jul  9 17:26:30 2007] notifying client 5218[0:0]
[Mon Jul  9 17:26:30 2007] notifying client 11093[0:0]
[Mon Jul  9 17:26:30 2007] completed event "battery BAT0 00000080 00000001"



Das ganze auch gefiltert:

Code:

zep@zeptop /etc $ sudo tailf /var/log/acpid | grep "received event"
[Mon Jul  9 17:32:30 2007] received event "battery BAT0 00000080 00000001"
[Mon Jul  9 17:32:30 2007] received event "battery BAT0 00000080 00000001"
[Mon Jul  9 17:35:41 2007] received event "button/lid LID 00000080 00000009"
[Mon Jul  9 17:35:45 2007] received event "button/lid LID 00000080 0000000a"
[Mon Jul  9 17:35:52 2007] received event "ac_adapter AC 00000080 00000000"
[Mon Jul  9 17:35:52 2007] received event "battery BAT0 00000080 00000001"
[Mon Jul  9 17:35:52 2007] received event "processor CPU0 00000080 00000002"
[Mon Jul  9 17:35:52 2007] received event "processor CPU1 00000080 00000002"
[Mon Jul  9 17:35:53 2007] received event "battery BAT0 00000080 00000001"
[Mon Jul  9 17:35:53 2007] received event "battery BAT0 00000080 00000001"
[Mon Jul  9 17:36:00 2007] received event "ac_adapter AC 00000080 00000001"
[Mon Jul  9 17:36:00 2007] received event "battery BAT0 00000080 00000001"
[Mon Jul  9 17:36:00 2007] received event "processor CPU0 00000080 00000000"
[Mon Jul  9 17:36:00 2007] received event "processor CPU1 00000080 00000000"
[Mon Jul  9 17:36:00 2007] received event "battery BAT0 00000080 00000001"
[Mon Jul  9 17:36:00 2007] received event "battery BAT0 00000080 00000001"
[Mon Jul  9 17:36:03 2007] received event "battery BAT0 00000080 00000001"
[Mon Jul  9 17:36:03 2007] received event "battery BAT0 00000080 00000001"


Woran könnte das wohl liegen?

Liebe Grüsse, Linuxexplorer
Back to top
View user's profile Send private message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3541
Location: Berlin

PostPosted: Thu Jul 12, 2007 7:36 pm    Post subject: Reply with quote

Was steht denn bei
Code:
rules loaded
?
Back to top
View user's profile Send private message
linuxexplorer
n00b
n00b


Joined: 01 Jun 2007
Posts: 22

PostPosted: Fri Jul 13, 2007 7:13 am    Post subject: Reply with quote

Code:
[Wed Jul 11 08:20:02 2007] starting up
[Wed Jul 11 08:20:02 2007] 1 rule loaded
[Wed Jul 11 08:20:03 2007] client connected from 5465[0:0]
[Wed Jul 11 08:20:03 2007] 1 client rule loaded



Ich habe jetzt einfach im Skript was eingebaut, um doppeltes ausführen zu unterbinden.
Die Rules sind doch einfach die Aktionen, welche acpid ausführt, wenn ein entsprechendes Event eintrifft, oder?

Lg, Linuxexplorer
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum