This is what I have so far:

#######################################
root# lspci:
05:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5906M Fast 
Ethernet PCI Express (rev 02)
06:00.0 Ethernet controller: Atheros Communications Inc. AR5001 Wireless 
Network Adapter (rev 01)
root# uname -a
2.6.31-2-generic #17-Ubuntu SMP Fri Jul 10 21:48:31 UTC 2009 i686 GNU/Linux

#######################################
Right after boot:
root# tail /sys/class/rfkill/*/state:
==> /sys/class/rfkill/rfkill0/state <==
0

==> /sys/class/rfkill/rfkill1/state <==
2

Wifi link down, NetworkManager shows the message "wireless is disabled" when 
right clicking over it.
#######################################
After pressig the wifi button:
==> /sys/class/rfkill/rfkill0/state <==
1

==> /sys/class/rfkill/rfkill1/state <==
2

Wifi link still down, NetworkManager still shows the message "wireless is 
disabled" when right clicking over it.
So, pressing my laptop's wifi key changes the state of "rfkill*" from 0 to 1 
and vice-versa, but my wifi is always down.

#######################################
With my "rfkill0" state set to 0 (by pressing wifi key, not by manually editing 
rfkill state), trying the module fix:
root# modprobe -r -f ath5k
root# modprobe ath5k
root# tail /sys/class/rfkill/*/state
==> /sys/class/rfkill/rfkill0/state <==
0

==> /sys/class/rfkill/rfkill2/state <==
2
THEN I PRESS WIFI KEY
root# tail /sys/class/rfkill/*/state
==> /sys/class/rfkill/rfkill0/state <==
1

==> /sys/class/rfkill/rfkill3/state <==
2
And still no wireless link.

#######################################
With my "rfkill0" state set to 1 (by pressing wifi key, not by manually editing 
rfkill state), trying the module fix:
root# modprobe -r -f ath5k
root# modprobe ath5k
WIRELESS LINK COMES UP
root# tail /sys/class/rfkill/*/state
==> /sys/class/rfkill/rfkill0/state <==
1

==> /sys/class/rfkill/rfkill4/state <==
1

######################################
 - I noticied that my "rfkill0" is alway there, but "rfkill2" changed to 
"rfkill3" and then to "rfkill4".
 - Pressing wifi key only changes the state of "rfkill0", not "rfkill>1".
 - root# cat /sys/class/rfkill/rfkill0/name -> acer-wireless
 - root# cat /sys/class/rfkill/rfkill4/name -> phy0
 - In order make my wifi work I mus set BOTH rfkill to 1 and then press the 
wifi key. rfkill0 can switched from 0 to 1 by pressing wifi key and rfkill1 can 
be switched from 2 to one by removing then enabling back the ath5k module, but 
rfkill1 changes to rfkill2.
 - I tried many many forms of editing "state"... None of them worked. I Googled 
a lot :(
 - If I try editing (even if chmodding 777):
     root:/sys/class/rfkill/rfkill0# write state 1
     write: write: you have write permission turned off.
     write: state is not logged in on 1

-- 
atheros wifi not working with kernel 2.6.31-1
https://bugs.launchpad.net/bugs/395565
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to