Gilles, Which kernel version and Atheros driver (i.e. madwifi or ath5k)?
In 2.6.28 (and perhaps 2.6.27 too?) both wifi off and wifi on generate the same event, which you can test by running acpi_listen and then press the key twice, e.g. $ acpi_listen hotkey ATKD 00000010 00000007 hotkey ATKD 00000010 00000008 In /etc/acpi/actions/hotkey.sh in version 1.0.11, it only responds to the old ACPI events which are distinct for the on and off states: # Fn+F2 -- toggle wireless 00000010) /etc/acpi/actions/wireless.sh on show_wireless ;; 00000011) /etc/acpi/actions/wireless.sh off show_wireless ;; I believe this works only with Linux kernel 2.6.26 and earlier. The latest version of eeepc-acpi-scripts in git handles both kernel versions by handling 00000010 as a toggle but 00000011 as 'off'. Now, if you use ath5k instead of madwifi, you'll also need more fixes to support it that are currently only in the git version. We are testing this now and expect to release 1.0.12 in a week. Ben -- ,-. nSLUG http://www.nslug.ns.ca sy...@sanctuary.nslug.ns.ca \`' Debian http://www.debian.org sy...@debian.org ` [ gpg 395C F3A4 35D3 D247 1387 2D9E 5A94 F3CA 0B27 13C8 ] -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org