View previous topic :: View next topic |
Author |
Message |
linuxexplorer n00b
Joined: 01 Jun 2007 Posts: 22
|
Posted: Mon Jul 09, 2007 3:33 pm Post subject: doppelte events von acpid |
|
|
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 |
|
|
flammenflitzer Advocate
Joined: 25 Nov 2003 Posts: 3541 Location: Berlin
|
Posted: Thu Jul 12, 2007 7:36 pm Post subject: |
|
|
Was steht denn bei ? |
|
Back to top |
|
|
linuxexplorer n00b
Joined: 01 Jun 2007 Posts: 22
|
Posted: Fri Jul 13, 2007 7:13 am Post subject: |
|
|
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 |
|
|
|