Comment 25 for bug 204378

Revision history for this message
Linus Harling (linus-ussarna) wrote : Re: [Bug 204378] Re: [Hardy] acpi-support 106 & 107 breaks wireless on Asus U1F

Nicolò Chieffo skrev:
> So the hotkey fires 2 acpi events... the first is for wifi, and the
> second for bluetooth (not sure).
> At the third keypress, the events are the same as the second keypress,
> since bluetooth does no more come back on, but this is not our
> problem. you should file another bug.
>
> Linus, can you please tell me which wifi chip have you got?

01:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG
Network Connection (rev 02)

> and what happens if you do
> echo 1 | sudo tee /sys/class/net/wlan0_rename/device/rf_kill

root@ior:~# cat /sys/class/net/wlan0_rename/device/rf_kill
0
root@ior:~# echo 1 > /sys/class/net/wlan0_rename/device/rf_kill
root@ior:~# echo 2 > /sys/class/net/wlan0_rename/device/rf_kill
root@ior:~# cat /sys/class/net/wlan0_rename/device/rf_kill
0
root@ior:~#

> does it print an error? or simply it does not change the file content?
> which is the file content when the wifi is off?
root@ior:~# cat /sys/class/net/wlan0_rename/device/rf_kill
3
root@ior:~# echo 0 > /sys/class/net/wlan0_rename/device/rf_kill
root@ior:~# cat /sys/class/net/wlan0_rename/device/rf_kill
2

>
> BTW: 7e does not fire asus-wireless-2.sh, as tou can see in
> /etc/acpi/events/asus-wireless-2 maybe you should reinstall
> acpi-support
> sudo apt-get --purge --reinstall install acpi-support
Wasn't quite that simple, had to:
apt-get purge acpi-support and then apt-get install ubuntu-desktop.

After reinstall the behaviour changed, now WLAN won't come back on
unless I use setLEDAsusWireless 1 again. But BT does, on the third try,
and doesn't go off again until I enable WLAN again manually.
>
> Now let's try these things.
>
> Silvio, open another bug please! you can send me the link after, but
> I'm not sure I can fix it. It might be a kernel problem
>