Try: # echo all > /debug/ath5k/phy0/debug
That should toggle all debug information. /Mattias -----Original Message----- From: ath5k-devel-boun...@lists.ath5k.org on behalf of Haizhi Xu Sent: Fri 9/25/2009 2:15 PM To: ath5k-devel@lists.ath5k.org Subject: [ath5k-devel] How to enable debugging for ath5k? Hi all, I just want to see the debug messages from ath5k. I installed the 9/20/2009 linuxWireless package in kernel 2.6.30.5-43.fc11.i686.PAE. I ran the following commands, but I cannot find the debug output, neither do I know where the debug message is located. The debug level seems still 0 after I set the level to 0xffffffff. Is there anything I missed? Can anybody help? Thanks, Dolphin [r...@localhost /]# mount -t debugfs debug /debug/ [r...@localhost /]# cd /debug/ath5k/phy0 [r...@localhost phy0]# modprobe ath5k debug=0xffffffff Then I found [r...@localhost phy0]# more debug DEBUG LEVEL: 0x00000000 reset 0x00000001 - reset and initialization intr 0x00000002 - interrupt handling mode 0x00000004 - mode init/setup xmit 0x00000008 - basic xmit operation beacon 0x00000010 - beacon handling calib 0x00000020 - periodic calibration txpower 0x00000040 - transmit power setting led 0x00000080 - LED management dumprx 0x00000100 - print received skb content dumptx 0x00000200 - print transmit skb content dumpbands 0x00000400 - dump bands trace 0x00001000 - trace function calls all 0xffffffff - show all debug levels _________________________________________________________________ BingT brings you maps, menus, and reviews organized in one place. Try it now. http://www.bing.com/search?q=restaurants&form=MLOGEN&publ=WLHMTAG&crea=TEXT_MLOGEN_Core_tagline_local_1x1
_______________________________________________ ath5k-devel mailing list ath5k-devel@lists.ath5k.org https://lists.ath5k.org/mailman/listinfo/ath5k-devel