View previous topic :: View next topic |
Author |
Message |
Genjix Apprentice
Joined: 23 Jun 2005 Posts: 163
|
Posted: Sat Dec 03, 2005 2:03 pm Post subject: [SOLVED] strange /var/log/acpid [SOLVED] |
|
|
could anyone enlighten me, as to whether this is a problem or not?
Code: |
amir genjix # tail -f /var/log/acpid | grep "received event" <AC>
[Sat Dec 3 15:00:22 2005] received event "battery BAT0 00000080 00000001"
<take out AC>
[Sat Dec 3 15:01:30 2005] received event "battery BAT0 00000080 00000001"
[Sat Dec 3 15:01:30 2005] received event "processor CPU0 00000080 00000000"
[Sat Dec 3 15:01:30 2005] received event "processor CPU0 00000081 00000000"
<put AC back in>
[Sat Dec 3 15:01:55 2005] received event "battery BAT0 00000080 00000001"
[Sat Dec 3 15:01:55 2005] received event "processor CPU0 00000080 00000000"
[Sat Dec 3 15:01:56 2005] received event "processor CPU0 00000081 00000000"
|
on_ac_power seems to still return the correct value though
Code: |
amir genjix # on_ac_power && echo AC || echo battery
AC
amir genjix # on_ac_power && echo AC || echo battery
battery
amir genjix #
|
Should I ignore this?
Thanks.
Last edited by Genjix on Sat Dec 03, 2005 2:10 pm; edited 1 time in total |
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Sat Dec 03, 2005 2:07 pm Post subject: |
|
|
Shouldn't be a problem. Some laptops generate strange events, but it's better than no events. _________________ KDE |
|
Back to top |
|
|
Genjix Apprentice
Joined: 23 Jun 2005 Posts: 163
|
Posted: Sat Dec 03, 2005 2:09 pm Post subject: |
|
|
yeah I just realised it when I found this
http://www.gentoo.org/doc/en/power-management-guide.xml
Quote: | The interesting part is the quoted string after received event. It will be matched by the event line in the files you are going to create below. Don't worry if your system generates multiple events or always the same. As long as any event is generated, runlevel changing will work. |
|
|
Back to top |
|
|
|