From: Kunal Gangakhedkar Date: Tue, 20 Oct 2009 21:19:31 +0530 Subject: [ath9k-devel] how to enable ath9k debug In-Reply-To: <01c801ca5199$fe8d9c20$fba8d460$@kaist.ac.kr> References: <01b401ca5193$bf94c1c0$3ebe4540$@kaist.ac.kr> <200910202052.59345.kunal.gangakhedkar@gmail.com> <01c801ca5199$fe8d9c20$fba8d460$@kaist.ac.kr> Message-ID: <200910202119.31846.kunal.gangakhedkar@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On Tuesday 20 Oct 2009 8:58:37 pm you wrote: > Dear Kunal, > > Thanks for your reply. > Yes, I entered the command as you mentioned below. > But, I can't find any ath9k folder in /sys/kernel/debug/. > Thus, is it necessary to compile the kernel with "CONFIG_ATH9K_DEBUG" > option first? > That's what I'm wondering. > Thanks. > Unfortunately, yes, you need to compile the kernel with CONFIG_ATH9K_DEBUG. If you don't want to touch the kernel, you might want to get compat-wireless and compile only the modules with whatever config you want. compat-wireless is available at: http://linuxwireless.org/en/users/Download After downloading the tarball, extract it and run driver-select - as shown on the above page. After that, edit the config.mk file in the directory. Add 'CONFIG_ATH9K_DEBUG=y' in that file somewhere around 'CONFIG_ATH9K=m' line and build the driver using 'make'. Follow the rest of the instructions from the above page on how to install the driver. Hope this helps ;) Kunal