Little ACPI problem I had - GNU/Linux

Users browsing this thread: 1 Guest(s)
htor
Members
The event `ac_adapter ACPI0003:00 00000080 00000000`
reported by `acpi_listen` isn't matched against the ac_adapter rule in handler.sh, so you need to adjust that rule accordingly so that the event is handled.

Change it to:
Code:
...
ac_adapter)
case "$2" in
ACPI*)
case "$4" in
00000000)
# AC is unplugged
# do something
;;
00000001)
# AC is plugged
# do something
;;
...
As for the lights, there could be many reasons.. Try playing around with
`xset led`.


Messages In This Thread
Little ACPI problem I had - by venam - 19-08-2012, 03:20 PM
RE: Little ACPI problem I had - by venam - 20-08-2012, 02:07 PM
RE: Little ACPI problem I had - by simon - 20-08-2012, 02:59 PM
RE: Little ACPI problem I had - by htor - 21-08-2012, 02:23 PM
RE: Little ACPI problem I had - by venam - 21-08-2012, 06:25 PM
RE: Little ACPI problem I had - by htor - 24-08-2012, 07:26 AM
RE: Little ACPI problem I had - by venam - 25-08-2012, 04:48 PM
RE: Little ACPI problem I had - by simon - 27-09-2012, 10:00 AM