From: Senthilkumar Balasubramanian Date: Mon, 13 Oct 2008 22:40:50 +0530 Subject: [ath9k-devel] rfkill and ath9k In-Reply-To: <200810110212.07147.neitzke@physics.harvard.edu> References: <200810110212.07147.neitzke@physics.harvard.edu> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org 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 On Sat, Oct 11, 2008 at 11:42 AM, Andy Neitzke wrote: > 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 > _______________________________________________ > 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