Return-path: Received: from erley.org ([97.107.129.9]:35150 "EHLO remote.erley.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754505Ab3FKW7N (ORCPT ); Tue, 11 Jun 2013 18:59:13 -0400 Message-ID: <51B7A9FB.9020706@erley.org> (sfid-20130612_005916_067838_F92465C5) Date: Tue, 11 Jun 2013 18:51:39 -0400 From: Pat Erley MIME-Version: 1.0 To: George Nychis CC: "linux-wireless@vger.kernel.org" Subject: Re: where is ath9k debugfs? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Sender: linux-wireless-owner@vger.kernel.org List-ID: On 06/11/2013 12:40 PM, George Nychis wrote: > I have configured my kernel to use ath9k debugfs: > $ grep ATH9K_DEBUGFS /boot/config-`uname -r` > CONFIG_ATH9K_DEBUGFS=y > > The location of these debugfs files should be in > /sys/kernel/debug/ath9k according to: > http://wireless.kernel.org/en/users/Drivers/ath9k/debug#Debugfs_files_for_ath9k > > However, when I load the modules and plug in an ath9k device, I do not > get any ath9k debugfs files: > root@parallels:/sys# find /sys -name ath9k > root@parallels:/sys# find /sys -name rx_chainmask > root@parallels:/sys# find /sys -name disable_ani > root@parallels:/sys# > > I do get the ieee80211 debug, though: > # ls -l /sys/kernel/debug/ieee80211/ > total 0 > drwxr-xr-x 6 root root 0 Jun 11 12:30 phy0 > > Do I need to pass some parameter to the kernel module on load to get > the ath9k debugfs? Am I missing something else? > > Thanks! > George Hi George, When you say 'plug in an ath9k device' I assume you mean you plug it in before you boot? There aren't any ath9k devices that I know of that use USB. I believe they're all handled by ath9k_htc. Aside from that, you found the right spot (/sys/kernel/debug/ieee80211/phyN) for it to live. What does dmesg say when you plug in/boot with the device? Pat