rfkill and ath9k
Hi,
Is rfkill supposed to be working with ath9k in current wireless-testing/master (commit dedd23bb534915c61e105bd81a63984a89a77f03)?
I am using a Thinkpad X60 Tablet, with CONFIG_RFKILL=m. The rfkill module is loaded by thinkpad_acpi. The radio switch does show up
in /sys/class/rfkill/rfkill0, and /sys/class/rfkill/rfkill0/state changes (between "1" and "2") when the switch is flipped. But the ath9k driver seems to ignore the switch. Is there something I have to configure to make it work?
Thanks for all your great work!
Andy Neitzke
Hi Andy,
The ATH9K driver is not compiled when CONFIG_RFKILL is defined to be a module as ath9k checks
#ifdef CONFIG_RFKILL whereas it is supposed to check for #if defined(CONFIG_RFKILL) || defined(CONFIG_RFKILL_MODULE)
I shall submit a patch on this tomorrow. If you want to compile before that, please change all the occurances of CONFIG_RFKILL to CONFIG_RFKILL_MODULE or please re-compile the source by simply defining a dummy macro CONFIG_RFKILL in a header file or throug -D option.
I hope this helps.
Senthil
Quoted 15 lines · Andy Neitzke
Hi,
Is rfkill supposed to be working with ath9k in current wireless-testing/master
(commitdedd23bb534915c61e105bd81a63984a89a77f03)?I am using a Thinkpad X60 Tablet, with
CONFIG_RFKILL=m. The rfkill module is
loaded bythinkpad_acpi. The radio switch does show up
in/sys/class/rfkill/rfkill0, and/sys/class/rfkill/rfkill0/statechanges (between "1" and "2") when the switch is flipped. But the ath9k driver seems
to ignore the switch. Is there something I have to configure to make it work?
Quoted 8 lines
Thanks for all your great work!
Andy Neitzke
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20081013/0f2cb49a/attachment.htm