Return-path: Received: from mail-vx0-f174.google.com ([209.85.220.174]:63454 "EHLO mail-vx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756430Ab2CEIoz (ORCPT ); Mon, 5 Mar 2012 03:44:55 -0500 Received: by vcqp1 with SMTP id p1so3160685vcq.19 for ; Mon, 05 Mar 2012 00:44:55 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: Date: Mon, 5 Mar 2012 14:14:55 +0530 Message-ID: (sfid-20120305_094459_605316_4BA21026) Subject: Re: [ath9k-devel] Any recommendation of direct access the GPIO from specific address ? From: Mohammed Shafi To: Matt Chen Cc: linux-wireless , ath9k-devel@lists.ath9k.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: Hi Matt, > echo 0x404c to which file in /sys/kernel/debug/ath9k ? root@shafi-laptop:/sys/kernel/debug/ieee80211/phy0/ath9k# echo 0x404c > regidx root@shafi-laptop:/sys/kernel/debug/ieee80211/phy0/ath9k# cat regval 0x00000c45 root@shafi-laptop:/sys/kernel/debug/ieee80211/phy0/ath9k# cat regval 0x00000c45 -> toggle the rfkill button, wifi off root@shafi-laptop:/sys/kernel/debug/ieee80211/phy0/ath9k# cat regval 0x00000c55 root@shafi-laptop:/sys/kernel/debug/ieee80211/phy0/ath9k# root@shafi-laptop:/sys/kernel/debug/ieee80211/phy0/ath9k# cat regval 0x00000c55 root@shafi-laptop:/sys/kernel/debug/ieee80211/phy0/ath9k# cat regval 0x00000c55 -> toggle the rfkill button, wifi ON root@shafi-laptop:/sys/kernel/debug/ieee80211/phy0/ath9k# cat regval 0x00000c45 root@shafi-laptop:/sys/kernel/debug/ieee80211/phy0/ath9k# cat regval 0x00000c45 please also see the dump of rfkill list, as i am external PCI card, my card is only softblocked. -- thanks, shafi