Return-path: Received: from mail-vc0-f174.google.com ([209.85.220.174]:51893 "EHLO mail-vc0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752859Ab2FTK3c convert rfc822-to-8bit (ORCPT ); Wed, 20 Jun 2012 06:29:32 -0400 Received: by vcbf11 with SMTP id f11so3724930vcb.19 for ; Wed, 20 Jun 2012 03:29:31 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 20 Jun 2012 15:59:31 +0530 Message-ID: (sfid-20120620_122935_668993_AB54FD63) Subject: Re: Atheros [168c 0034] can't enable wireless button LED. From: Mohammed Shafi To: Matt Chen Cc: ath9k-devel@lists.ath9k.org, linux-wireless Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: Hi Matt, > Both 0x2f and 0x2d can work fine to me of enabling > wiphy_rfkill_start_polling() in gpio.c:ath_start_rfkill_poll(). > > 1) with 0x2f > ? 0x404c address would change when press wifi button > ? rfkill block : yes -> 0x00000455 > ? rfkill block : no ? -> 0x00000c55 > 2) with 0x2d > ? 0x404c address would change when press wifi button > ? rfkill block : yes -> 0x00000455 > ? rfkill block : no ? -> 0x00000c55 > > > But I don't see the LED is changing, it is staying OFF (Amber). not sure about that, but i think rfkill is working for both of us i told 0xeed changes to 0x6ed for me you got 0x455 changes to 0xc55 BIT 12(GPIO pin 11 seems to toggle 4 ->C), you can confirm by rfkill list -- thanks, shafi