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

Gilles Mocellin gilles.mocellin at free.fr
Tue Feb 3 21:31:28 UTC 2009


On Tue, Feb 03, 2009 at 08:46:40AM +0200, Damyan Ivanov wrote:
> tags 495022 moreinfo
> thanks
> 
> Hi Gilles,
> 
> Thank you for following up.
> 
> -=| Gilles Mocellin, Mon, Feb 02, 2009 at 11:48:33PM +0100 |=-
> > I've just tested with 1.0.11 on my EeePC 701.
> > 
> > No luck.
> > 
> > When wireless is on, Fn-F2 switch it off.
> > But after that, every keypress show "Wireless off" with OSD on.
> > Wireless is not switching on.
> 
> Since this works for most people, I suspect there is a local 
> configuration problem. The tricky part is finding where that is :)
> 
> Please tell us the output of:
> 
>     sudo sh -x /etc/acpi/actions/wireless.sh on

Launching the script manually works :
gilles at eeepc:~$  sudo sh -x /etc/acpi/actions/wireless.sh on
+ . /usr/share/eeepc-acpi-scripts/functions.sh
+ wlan_control=/sys/devices/platform/eeepc/wlan
+ [ -e /sys/devices/platform/eeepc/wlan ]
+ cat /sys/devices/platform/eeepc/wlan
+ [ 0 = 0 ]
+ echo 1
+ detect_wlan
+ lspci
+ grep -i network controller
+ grep -q RaLink
+ lspci
+ grep -i atheros
+ grep -q -i wireless
+ WLAN_IF=ath0
+ WLAN_MOD=ath_pci
+ echo Detected WLAN module ath_pci on ath0
Detected WLAN module ath_pci on ath0
+ [ ath_pci = ath_pci ]
+ modprobe ath_pci
+ sleep 1
+ ifconfig ath0 up

It seems that the keypress always launch the script with the "off" parameter.

> It would also be useful to know if you did modify some of the files 
> eeepc-acpi-scripts files. Please give us the result of:
> 
>     md5sum /etc/acpi/actions/* /etc/acpi/events/* /etc/acpi/lib/* \
>         /etc/default/eeepc-acpi-scripts \
>         /etc/modprobe.d/eepc \
>         /usr/share/eeepc-acpi-scripts/functions.sh
> 
> (that's a single command split on four lines)

6dd00d1681e5a5ed4453c584771c2a15  /etc/acpi/actions/hotkey.sh
0e457de87144f06dd0e813c69be81503  /etc/acpi/actions/lid.sh
0e457de87144f06dd0e813c69be81503  /etc/acpi/actions/sleep.sh
7b85041480c7e5ad601220b15165d6a6  /etc/acpi/actions/suspend.sh
32ddf4319afe4ba38b806c4c69a7ae87  /etc/acpi/actions/vga-toggle.sh
950bc08c24aaaa14306cd11c794d3bed  /etc/acpi/actions/volume.sh
2afe990bbac04d386a10cc1fc4427764  /etc/acpi/actions/wireless.sh
b4fd3d1dba0949a42e1d80644cce0bb4  /etc/acpi/events/hotkey
adf477fb69f3bebff658c9895c9f5126  /etc/acpi/events/lid
57f021ab2369f211018d6e7d11434314  /etc/acpi/events/powerbtn
6d7b29590b83666f56d2cac27c06c18b  /etc/acpi/events/powerbtn-acpi-support
88a25fdd69a152dba175008fa9428dd4  /etc/acpi/events/sleep
81746dec13384785d56e6ac127d5c7b3  /etc/acpi/lib/bluetooth.sh
54d208463e8b4c631e78aa7226ccf026  /etc/acpi/lib/camera.sh
a3a57f05d13148fb1b412b88a0c28d83  /etc/acpi/lib/notify.sh
ac72c0f1b497aaeb25735f012e2b3d5b  /etc/default/eeepc-acpi-scripts
de53d1e09a72b7c758a0c5fdd85c6a18  /etc/modprobe.d/eeepc
1a9cc0b9c88dd686ecf288c823fda083  /usr/share/eeepc-acpi-scripts/functions.sh

I've just purged and  reinstall the eeepc-acpi-scripts package, it still doesn't work.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/debian-eeepc-devel/attachments/20090203/140b4369/attachment.pgp 


More information about the Debian-eeepc-devel mailing list