You are not logged in.
Hi @all,
I'm new to arch linux and i have got an annoying problem with acpi on my notebook (ACER Aspire 1694WLMi)
When I close my screen (or press the little button manually) acpid triggers far too much events:
acpi_listen output example
...
button/lid LID 00000080 00000030
button/lid LID 00000080 00000031
button/lid LID 00000080 00000032
button/lid LID 00000080 00000033
button/lid LID 00000080 00000034
button/lid LID 00000080 00000035
button/lid LID 00000080 00000036
button/lid LID 00000080 00000037
button/lid LID 00000080 00000038
button/lid LID 00000080 00000039
...
The strange thing is that acpid triggers more events when my screen is closed for a few minutes than just for one second. The output above shows just a half of a second.
acpid.log output example
...
Mar 18 00:57:15 aspire1694 acpid: received event "button/lid LID 00000080 00000030"
Mar 18 00:57:15 aspire1694 acpid: notifying client 2742[82:82]
Mar 18 00:57:15 aspire1694 acpid: executing action "/etc/acpi/handler.sh button/lid LID 00000080 00000030"
Mar 18 00:57:15 aspire1694 acpid: action exited with status 0
Mar 18 00:57:15 aspire1694 acpid: executing action "/etc/acpi/actions/lm_lid.sh button/lid LID 00000080 00000030"
Mar 18 00:57:15 aspire1694 acpid: action exited with status 0
Mar 18 00:57:15 aspire1694 acpid: completed event "button/lid LID 00000080 00000030"
Mar 18 00:57:15 aspire1694 acpid: received event "button/lid LID 00000080 00000031"
Mar 18 00:57:15 aspire1694 acpid: notifying client 2742[82:82]
Mar 18 00:57:15 aspire1694 acpid: executing action "/etc/acpi/handler.sh button/lid LID 00000080 00000031"
Mar 18 00:57:15 aspire1694 acpid: action exited with status 0
Mar 18 00:57:15 aspire1694 acpid: executing action "/etc/acpi/actions/lm_lid.sh button/lid LID 00000080 00000031"
Mar 18 00:57:15 aspire1694 acpid: action exited with status 0
Mar 18 00:57:15 aspire1694 acpid: completed event "button/lid LID 00000080 00000031"
Mar 18 00:57:15 aspire1694 acpid: received event "button/lid LID 00000080 00000032"
Mar 18 00:57:15 aspire1694 acpid: notifying client 2742[82:82]
Mar 18 00:57:15 aspire1694 acpid: executing action "/etc/acpi/handler.sh button/lid LID 00000080 00000032"
Mar 18 00:57:15 aspire1694 acpid: action exited with status 0
Mar 18 00:57:15 aspire1694 acpid: executing action "/etc/acpi/actions/lm_lid.sh button/lid LID 00000080 00000032"
Mar 18 00:57:16 aspire1694 acpid: action exited with status 0
Mar 18 00:57:16 aspire1694 acpid: completed event "button/lid LID 00000080 00000032"
Mar 18 00:57:16 aspire1694 acpid: received event "button/lid LID 00000080 00000033"
Mar 18 00:57:16 aspire1694 acpid: notifying client 2742[82:82]
Mar 18 00:57:16 aspire1694 acpid: executing action "/etc/acpi/handler.sh button/lid LID 00000080 00000033"
Mar 18 00:57:16 aspire1694 acpid: action exited with status 0
Mar 18 00:57:16 aspire1694 acpid: executing action "/etc/acpi/actions/lm_lid.sh button/lid LID 00000080 00000033"
Mar 18 00:57:16 aspire1694 acpid: action exited with status 0
Mar 18 00:57:16 aspire1694 acpid: completed event "button/lid LID 00000080 00000033"
Mar 18 00:57:16 aspire1694 acpid: received event "button/lid LID 00000080 00000034"
Mar 18 00:57:16 aspire1694 acpid: notifying client 2742[82:82]
Mar 18 00:57:16 aspire1694 acpid: executing action "/etc/acpi/handler.sh button/lid LID 00000080 00000034"
Mar 18 00:57:16 aspire1694 acpid: action exited with status 0
Mar 18 00:57:16 aspire1694 acpid: executing action "/etc/acpi/actions/lm_lid.sh button/lid LID 00000080 00000034"
Mar 18 00:57:16 aspire1694 acpid: action exited with status 0
Mar 18 00:57:16 aspire1694 acpid: completed event "button/lid LID 00000080 00000034"
Mar 18 00:57:16 aspire1694 acpid: received event "button/lid LID 00000080 00000035"
Mar 18 00:57:16 aspire1694 acpid: notifying client 2742[82:82]
Mar 18 00:57:16 aspire1694 acpid: executing action "/etc/acpi/handler.sh button/lid LID 00000080 00000035"
Mar 18 00:57:16 aspire1694 acpid: action exited with status 0
Mar 18 00:57:16 aspire1694 acpid: executing action "/etc/acpi/actions/lm_lid.sh button/lid LID 00000080 00000035"
Mar 18 00:57:16 aspire1694 acpid: action exited with status 0
Mar 18 00:57:16 aspire1694 acpid: completed event "button/lid LID 00000080 00000035"
Mar 18 00:57:16 aspire1694 acpid: received event "button/lid LID 00000080 00000036"
Mar 18 00:57:16 aspire1694 acpid: notifying client 2742[82:82]
Mar 18 00:57:16 aspire1694 acpid: executing action "/etc/acpi/handler.sh button/lid LID 00000080 00000036"
Mar 18 00:57:16 aspire1694 acpid: action exited with status 0
Mar 18 00:57:16 aspire1694 acpid: executing action "/etc/acpi/actions/lm_lid.sh button/lid LID 00000080 00000036"
Mar 18 00:57:16 aspire1694 acpid: action exited with status 0
Mar 18 00:57:16 aspire1694 acpid: completed event "button/lid LID 00000080 00000036"
Mar 18 00:57:16 aspire1694 acpid: received event "button/lid LID 00000080 00000037"
Mar 18 00:57:16 aspire1694 acpid: notifying client 2742[82:82]
Mar 18 00:57:16 aspire1694 acpid: executing action "/etc/acpi/handler.sh button/lid LID 00000080 00000037"
Mar 18 00:57:16 aspire1694 acpid: action exited with status 0
Mar 18 00:57:16 aspire1694 acpid: executing action "/etc/acpi/actions/lm_lid.sh button/lid LID 00000080 00000037"
Mar 18 00:57:16 aspire1694 acpid: action exited with status 0
...
Apart from this annoying thing acpi works just fine. I have tried a bios update for my notebook, but that changed nothing. The next thing i would try is to patch the DSDT file, but i cannot find acpidump in the arch repos to dump the DSDT file.
Has anyone a solution to this problem or a better idea?
Complete acpi_listen output for 5 seconds: http://80.190.53.236/~christoph/acpi_listen.output.5sec
acpid log: http://80.190.53.236/~christoph/acpid.log
Thanks in advance
Chris
Last edited by chris89 (2008-03-22 15:57:36)
Offline
button/lid LID 00000080 00000030
button/lid LID 00000080 00000031
button/lid LID 00000080 00000032
button/lid LID 00000080 00000033
button/lid LID 00000080 00000034
button/lid LID 00000080 00000035
button/lid LID 00000080 00000036
button/lid LID 00000080 00000037
button/lid LID 00000080 00000038
button/lid LID 00000080 00000039
I believe this means that acpid detected the LID being closed 9 times. I think your problem is not related with the software, I thinks it's hardware or BIOS, as the same event keep triggering over and over....
Offline
Hi nDray,
I guess so too, but i have this problem only under archlinux. I have tested this acpi event under an ubuntu live system, and there the event is triggered correctly just 2 times, one for closing and one for opening again.
The strange and funny thing is that this event is not just triggered 9 times, it is triggered over a hundred times depeding on how long my screen is closed. (see the log files).
I'm trying to patch a DSDT file for my notebook right now, i hope that this will solve the problem.
If not, could it be a missconfigured acpid?
Christoph
EDIT:
I have patched my DSDT file, but how can i load it / include it?
Last edited by chris89 (2008-03-18 19:02:04)
Offline
I have patched my DSDT file, but how can i load it / include it?
Zygfryd Homonto
Offline
Ok, made a new initrd with dsdt hook .. but nothing changed... still 100 events are triggered T_T
Could this problem be caused by the kernel 2.6.24? Because with a kubuntu live cd (7.10 - 2.6.22) there are just 3 events triggered when i close the screen.
So far i updated my BIOS, patched the DSDT but not even a litte change.
Christoph
Offline
Looks alot like this:
http://mindspill.net/computing/linux-no … usage.html
Offline
Thanks, I will look through this article. But I think I know what the problem causes... The defined events in /etc/acpi/events and the action-scripts in /etc/acpi/actions
There are five files in /etc/acpi/events:
- anything (from the acpid package)
- 4x lm_* (from the laptop-mode-tools package)
I moved the "anything" file from event to my home dir, restarted acpid .. again, hundred events...
Now only files with the prefix "lm_" are in events, so I moved them to my home dir and the "anything" file back to events, restarted acpid .. only three triggered events....
The event files with the prefix "lm_" are files from the laptop-mode-tools package ... so the problem must be in the event files / event scripts of the laptop-mode-tools .. there must be some kind of reaction/feedback (sorry, i don't know the english word xD) with the event-scripts of laptop-mode-tools
I'm not sure which script causes this problem, but it must be one of those 4 lm_ scripts..
So, should I report this bug to the laptop-mode-tools or ..?
EDIT:
Ok, this is caused by the lm_lid event .. so it's the script for this event:
There is only one command
/usr/sbin/laptop_mode auto
So this command must trigger one more LID event.
Last edited by chris89 (2008-03-18 23:04:41)
Offline
OK, will mark this thread as solved. Thanks for your help.
Offline