Problems with hardware radio kill switch on Sony Vaio notebook
Hello,
My Sony Vaio VPC-Y11S1E notebook has an Atheros AR9285 chip, which is supported just fine by ath9k. The notebook also has a physical radio kill switch at the front that can be slid into one of two positions. Alas, the rfkill tool shows wlan0 as "hard blocked: yes" for either switch position. Consequently, txpower is off, and wireless networking cannot be activated.
Could you kindly indicate which part of the kernel would be responsible for handling the radio kill switches -- cfg80211, ath9k, sony-laptop, ...? Are there any known fixes or workarounds? I'm using Kubuntu 9.10 with their stock kernel 2.6.31 and the wireless backports modules right now, but tests with Kubuntu 10.4 Beta and 2.6.32 failed as well.
(Note that I cannot get ndiswrapper to work either, although it seems to power on the wireless card.)
Thanks
Ralph
Quoted 7 lines · Ralph Benzinger
My Sony Vaio VPC-Y11S1E notebook has an Atheros AR9285 chip, which is supported just fine by ath9k. The notebook also has a physical radio kill switch at the front that can be slid into one of two positions. Alas, the rfkill tool shows wlan0 as "hard blocked: yes" for either switch position. Consequently, txpower is off, and wireless networking cannot be activated.
Quoted 6 lines
Could you kindly indicate which part of the kernel would be responsible for handling the radio kill switches -- cfg80211, ath9k, sony-laptop, ...? Are there any known fixes or workarounds? I'm using Kubuntu 9.10 with their stock kernel 2.6.31 and the wireless backports modules right now, but tests with Kubuntu 10.4 Beta and 2.6.32 failed as well.
Generally, sony-laptop would be responsible for correctly reporting the rfkill switch state.
Hth!
John
Signature · 2 lines
John W. Linville Someday the world will need a hero, and you [email protected] might be all we have. Be ready.
Quoted 2 lines · you
Generally, sony-laptop would be responsible for correctly reporting the rfkill switch state.
John,
Thanks for the info, I appreciate it!
Just a naive follow-up question then: Wouldn't it be possible for the ath9k driver to ignore the rfkill switch settings? (Assuming, of course, that there is no actual physical power disconnect, which I doubt.)
Is there a simple way to override the rfkill effect on ath9k via /proc or /sys? Or alternatively, if I were to recompile the ath9k module, what would I need to change/disable? (On the other hand, hacking sony-laptop seems to be the easier way.)
Any pointers would be greatly appreciated.
Regards
Ralph
Hi Raplh,
Quoted 16 lines · John W. Linville
Quoted 7 lines · Ralph Benzinger
My Sony Vaio VPC-Y11S1E notebook has an Atheros AR9285 chip, which is supported just fine by ath9k. The notebook also has a physical radio kill switch at the front that can be slid into one of two positions. Alas, the rfkill tool shows wlan0 as "hard blocked: yes" for either switch position. Consequently, txpower is off, and wireless networking cannot be activated.
Quoted 6 lines
Could you kindly indicate which part of the kernel would be responsible for handling the radio kill switches -- cfg80211, ath9k, sony-laptop, ...? Are there any known fixes or workarounds? I'm using Kubuntu 9.10 with their stock kernel 2.6.31 and the wireless backports modules right now, but tests with Kubuntu 10.4 Beta and 2.6.32 failed as well.
Quoted 2 lines
Generally, sony-laptop would be responsible for correctly reporting the rfkill switch state.
Yes, it's most likely that sony-laptop would be the one module to point fingers at.
Could you send the DSDT from your laptop and the output of dmesg after loading sony-laptop with debug=1 and switching the rfkill trigger back and forth?
also the output from:
$ grep . /sys/class/rfkill/rfkill*/*
Thanks
Signature · 2 lines
mattia :wq!