From: Giorgio Mazzucchelli Date: Thu, 2 Apr 2009 14:57:15 +0200 Subject: [ath9k-devel] Enabling debug on Ath9k Message-ID: <7439b3d10904020557x39f5051bu5f8d6d889d8cbba4@mail.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 As far as I have learn, the first step to read the card's EEPROM is to enabling debug, correct me if I'm wrong. Here they are the steps that I have follow: in *config.mk* added *CONFIG_ATH9K_DEBUG=y * then* make *&&* make install* in compat wireless' directory problem: where I can find this configuration menu? *make menuconfig* in which directory? Device Drivers ---> [*] Network device support ---> Wireless LAN ---> Atheros 802.11n wireless cards support [*] Atheros ath9k debugging The issue is that I can't see any 'debug' parameter for ath9k module, take a look: modinfo ath9k filename: /lib/modules/2.6.28-9-generic/updates/drivers/net/wireless/ath9k/ath9k.ko license: Dual BSD/GPL description: Support for Atheros 802.11n wireless LAN cards. author: Atheros Communications srcversion: 0E00038F566194A06BE4261 alias: pci:v0000168Cd0000002Bsv*sd*bc*sc*i* alias: pci:v0000168Cd0000002Asv*sd*bc*sc*i* alias: pci:v0000168Cd00000029sv*sd*bc*sc*i* alias: pci:v0000168Cd00000027sv*sd*bc*sc*i* alias: pci:v0000168Cd00000024sv*sd*bc*sc*i* alias: pci:v0000168Cd00000023sv*sd*bc*sc*i* depends: led-class,mac80211,cfg80211 vermagic: 2.6.28-9-generic SMP mod_unload modversions 586 parm: nohwcrypt:Disable hardware encryption (int) parm: btcoex_enable:Enable Bluetooth coexistence support (bool) Then, *modprobe ath9k debug=*0xo... should return me the regulatory info write in the EEPROM and *modprobe cfg80211 ieee80211_regdom=*(the country code that I want) should let me set the country code Might anyone tell me if it's right? Thank you G.M. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20090402/b51cec38/attachment.htm