[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Hotkeys on Asus M6N with sid



Frank Zimmermann wrote:
> Hi,
> 
> I'm having some nightmares configuring my hotkeys on the Asus M6N. On
> boot I get the following messages:
> 
> Asus Laptop ACPI Extras version 0.30
>   M6N model detected, supported
> 
> So everything should be fine on this side. However, hotkeys refuse to
> work with sid. I have the following scripts:
> /etc/acpi/events/hotkey:
> event=hotkey ATKD .*
> action=/etc/acpi/hotkey.sh %e
> 
> and  /etc/acpi/hotkey.sh:
> #!/bin/sh
> 
> case "$3" in
>     00000032)         /usr/bin/amixer set Master toggle
>                       ;;
>     00000030)         /usr/bin/amixer set Master 1+
>                       ;;
>     00000031)         /usr/bin/amixer set Master 1-
>                       ;;
>     0000005d)         /usr/local/sbin/hotkey_wlan
>                       ;;
> 
> esac
> 
> For what ever reason hotkey_wlan is the only keys that's working. Here's
>  the output fom /var/log/messages:
> 
> logger: /etc/acpi/hotkey.sh: hotkey ATKD 0000005d 00000000
> logger: /etc/acpi/hotkey.sh: hotkey ATKD 0000005d 00000001
> kernel: ADDRCONF(NETDEV_UP): eth2: link is not ready
> kernel: ADDRCONF(NETDEV_CHANGE): eth2: link becomes ready
> logger: /etc/acpi/hotkey.sh: hotkey ATKD 00000030 00000006
> 
> It used to work ages ago with sarge but now that I switched to sid I
> don't get my hotkeys working again. Do you have any hint's i can look
> at. All examples I found so far on the web are pretty similar to my attempt.
> 
> Thanks Frank
> 

I have the same laptop and partially the same problem. I have this nice
buttons on the side, which are meant to steer media player. They used to
work up to the point at which I installed a nice applit called
KPowersave. With it also hal was installed. Since then I cannot use
those buttons any more. I see that they are working, when I press each
one of the four buttons I get:

% acpi_listen
hotkey ATKD 00000041 00000001
hotkey ATKD 00000045 00000001
hotkey ATKD 00000043 00000000
hotkey ATKD 00000040 00000000

but if I follow the usual way of configuring the buttons described on
http://www.asusforum.encke.net/modules/dokuwiki/hotkeys_unter_linux_konfigurieren
(sorry in german, but basically copying the two scripts from the page:
/etc/acpi/hotkey and /etc/acpi/hotkey.sh) basically does not work any more.

	Cheers,
	Ivan

P.S.: Uninstalling the KPowersave program is not an option for me, since
it is a very convenient tool supplying one-click suspend-to-disk and
suspend-to-ram option for me


-- 
-------------------------------------
Ivan Glushkov
Deutsches Elektronen Synchrotron DESY
e-mail: Ivan.Glushkov@desy.de
web:    www.desy.de/~glushkov
phone:  +49-40-8998-3293
fax:    +49-40-8994-3094
Notkestrasse 85
22607 Hamburg
Germany
-------------------------------------


Reply to: