[Debian-eeepc-devel] Bug#495022: Bug#495022: #495022: Wireless key is a toggle

Gilles Mocellin gilles.mocellin at free.fr
Tue Feb 3 23:39:56 UTC 2009


Le Tuesday 03 February 2009 22:56:54 Ben Armstrong, vous avez écrit :
> Gilles,
>
> Which kernel version and Atheros driver (i.e. madwifi or ath5k)?

ath5k is blacklisted in /etc/modprobe.d/madwifi.
I see it's not handled in /usr/share/eeepc-acpi-scripts/functions.sh / 
detect_wlan().
So I'll stick with madwifi.

It seems I had compiled the madwifi-modules package, since I have madwifi-
source...
I've just purge all of this and reinstalled madwifi-modules-2.6-686.
It's just the same.

> 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

$ acpi_listen
hotkey ATKD 00000011 00000013
hotkey ATKD 00000011 00000014
hotkey ATKD 00000011 00000015

Only 00000011...

> 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.

$ uname -r
2.6.26-1-686

> The latest version of eeepc-acpi-scripts in git handles both kernel
> versions by handling 00000010 as a toggle but 00000011 as 'off'.

Mine seems to have 00000011 as a toggle !
I have BIOS 1101, perhaps a difference here ?

> 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

Thank you for your help.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/debian-eeepc-devel/attachments/20090204/7fc84b87/attachment.pgp 


More information about the Debian-eeepc-devel mailing list