Comment 8 for bug 25784

Revision history for this message
Stas Zytkiewicz (stas-zytkiewicz) wrote :

I confirm that the problem still exist in Ubuntu edgy.

BTW, the patch only changes the name of the hotkeys to look for.
Nothing more as that's the only problem, one could also do:
cd /etc/acpi; sudo find ./events/ -name "asus*" -exec sed 's/ATKD/HOTK/g' -i {} \;

(It's what I've had done in Dapper and now again in Edgy)

stas@mobi:~$ cat /proc/version
Linux version 2.6.17-10-386 (root@vernadsky) (gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)) #2 Fri Oct 13 18:41:40 UTC 2006 (Ubuntu 2.6.17-10.33-386)

stas@mobi:~$ cat /proc/acpi/asus/info
Asus Laptop ACPI Extras Driver 0.30
Model reference : A2x
SFUN value : 0x0877
ASYM value : 0x0000
DSDT length : 14754
DSDT checksum : 155
DSDT revision : 1
OEM id : ASUS
OEM table id : A2H/L
OEM revision : 0x1000
ASL comp vendor id : MSFT
ASL comp revision : 0x100000e

Taken from /var/log/acpid before fixing the acpi-support problem.

[Sat Nov 4 07:12:41 2006] starting up
[Sat Nov 4 07:12:41 2006] 54 rules loaded

Hitting the volume down hotkey:
[Sat Nov 4 07:12:44 2006] client connected from 4116[108:108]
[Sat Nov 4 07:12:44 2006] 1 client rule loaded
[Sat Nov 4 07:13:34 2006] received event "hotkey HOTK 00000031 00000001"
[Sat Nov 4 07:13:34 2006] notifying client 4116[108:108]
[Sat Nov 4 07:13:34 2006] completed event "hotkey HOTK 00000031 00000001"

stas@mobi:~$ cat /etc/acpi/events/asus-volume-down
# /etc/acpi/events/asus-volume-down
# This is called when the user presses the volume down button and calls
# /etc/acpi/volume.sh for further processing.

event=hotkey ATKD 00000031
action=/etc/acpi/voldownbtn.sh

After changing the hotkey names:

stas@mobi:~$ cat /etc/acpi/events/asus-volume-down
# /etc/acpi/events/asus-volume-down
# This is called when the user presses the volume down button and calls
# /etc/acpi/volume.sh for further processing.

event=hotkey HOTK 00000031
action=/etc/acpi/voldownbtn.sh

Hitting the volume down hotkey:
[Sat Nov 4 07:39:44 2006] received event "hotkey HOTK 00000031 00000006"
[Sat Nov 4 07:39:44 2006] notifying client 4116[108:108]
[Sat Nov 4 07:39:44 2006] executing action "/etc/acpi/voldownbtn.sh"
[Sat Nov 4 07:39:44 2006] BEGIN HANDLER MESSAGES
[Sat Nov 4 07:39:44 2006] END HANDLER MESSAGES
[Sat Nov 4 07:39:44 2006] action exited with status 0
[Sat Nov 4 07:39:44 2006] completed event "hotkey HOTK 00000031 00000006"

Volume is going down, everything works as excpected.
Also the other hotkeys are working now.

Regards,
Stas