Skip to contentSkip to conversation

ath9k_htc - AR9271 - NETGEAR WNA1100 Wireless-N 150 USB Adapter - 0846:9030

ath9k-devel Deri James 4 participants 5 messages Jun 15, 2010 – Jul 12, 2010

lore
Share & tools
lore

Deri James

author
#0 lore raw

Hello,

Looking at the .inf file supplied with this usb stick, this seems very similar to the devices supported already by this driver:-

Quoted 88 lines

[Atheros]

; DisplayName               Section                 DeviceID
; -----------               -------                 --------
; Atheros
%ATHER.DeviceDesc.9271% = ATHER_DEV_9271.ndi,     USB\VID_0CF3&PID_9271
%ATHER.DeviceDesc.7010% = ATHER_DEV_7010.ndi,     USB\VID_0CF3&PID_7010
%ATHER.DeviceDesc.7015% = ATHER_DEV_7015.ndi,     USB\VID_0CF3&PID_7015
%ATHER.DeviceDesc.1006% = ATHER_DEV_1006.ndi,     USB\VID_0CF3&PID_1006

[NETGEAR]

; DisplayName               Section                 DeviceID
; -----------               -------                 --------

; Atheros
%NTGR.DeviceDesc.9030% = NTGR_DEV_9030.ndi, USB\VID_0846&PID_9030

[DLINK]

; DisplayName               Section                 DeviceID
; -----------               -------                 --------

; DLINK
%DLINK.DeviceDesc.3A10% = DLINK_DEV_3A10.ndi, USB\VID_07D1&PID_3A10

; Windows NT specific entries [ATHER_DEV_9271.ndi.NT]
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI

BusType         = 15
DelReg          = 5416.DelReg
AddReg          = 5416.reg, ATHER.reg, 5416.reg, 5416.bgnub.reg,

sys.TcpParams.reg, uapsd.reg, ATHR_9271.reg, htDisableWepTkip.reg
CopyFiles = ATHER.CopyFiles.nt, DEFAULTDESTDIRS
DelFiles = ATHER.DelIniFiles

[ATHER_DEV_9271.ndi.NT.Services]
AddService = AR9271, 2, ATHER.Service, common.EventLog

[ATHER_DEV_7010.ndi.NT]
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI

BusType         = 15
DelReg          = 5416.DelReg
AddReg          = 5416.reg, ATHER.reg, 5416.reg, 5416.abgnub.reg,

uapsd.reg, 7010.reg, htDisableWepTkip.reg
CopyFiles = ATHER.CopyFiles.nt, DEFAULTDESTDIRS
DelFiles = ATHER.DelIniFiles

[ATHER_DEV_7010.ndi.NT.Services]
AddService = AR9271, 2, ATHER.Service, common.EventLog

[ATHER_DEV_7015.ndi.NT]
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI

BusType         = 15
DelReg          = 5416.DelReg
AddReg          = 5416.reg, ATHER.reg, 5416.reg, 5416.bgnub.reg, uapsd.reg,

7010.reg, htDisableWepTkip.reg CopyFiles = ATHER.CopyFiles.nt,
DEFAULTDESTDIRS
DelFiles = ATHER.DelIniFiles

[ATHER_DEV_7015.ndi.NT.Services]
AddService = AR9271, 2, ATHER.Service, common.EventLog

[ATHER_DEV_1006.ndi.NT]
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI

BusType         = 15
DelReg          = 5416.DelReg
AddReg          = 5416.reg, ATHER.reg, 5416.reg, 5416.bgub.reg,

sys.TcpParams.reg, uapsd.reg, ATHR_9271.reg, customer1.SCAN.reg
CopyFiles = ATHER.CopyFiles.nt, DEFAULTDESTDIRS
DelFiles = ATHER.DelIniFiles

[ATHER_DEV_1006.ndi.NT.Services]
AddService = AR9271, 2, ATHER.Service, common.EventLog
;===========================CUSTOM SECTION===================================== ; Windows NT specific entries [NTGR_DEV_9030.ndi.NT]
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI

BusType         = 15
DelReg          = 5416.DelReg
AddReg          = 5416.reg, ATHER.reg, 5416.reg, 5416.bgnub.reg,

sys.TcpParams.reg, uapsd.reg, ATHR_9271.reg, NTGR.reg
CopyFiles = ATHER.CopyFiles.nt, DEFAULTDESTDIRS
DelFiles = ATHER.DelIniFiles

[NTGR_DEV_9030.ndi.NT.Services]
AddService = AR9271, 2, ATHER.Service, common.EventLog

[DLINK_DEV_3A10.ndi.NT]
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI

BusType         = 15
DelReg          = 5416.DelReg
AddReg          = 5416.reg, ATHER.reg, 5416.reg, 5416.bgnub.reg,
Quoted 7 lines

sys.TcpParams.reg, uapsd.reg, ATHR_9271.reg, DLINK.reg, htDisableWepTkip.reg
CopyFiles = ATHER.CopyFiles.nt, DEFAULTDESTDIRS
DelFiles = ATHER.DelIniFiles

[DLINK_DEV_3A10.ndi.NT.Services]
AddService = AR9271, 2, ATHER.Service, common.EventLog

As an initial test I added the USB device to be treated the same as 0CF3:9271 (using current Compat Wireles source). On insertion I got this:-

Jun 15 18:53:59 dombey klogd: usb 1-3: new high speed USB device using 
ehci_hcd and address 4
Jun 15 18:53:59 dombey klogd: usb 1-3: New USB device found, idVendor=0846, 
idProduct=9030
Jun 15 18:53:59 dombey klogd: usb 1-3: New USB device strings: Mfr=16, 
Product=32, SerialNumber=48
Jun 15 18:53:59 dombey klogd: usb 1-3: Product: WNA1100
Jun 15 18:53:59 dombey klogd: usb 1-3: Manufacturer: NETGEAR WNA
Jun 15 18:53:59 dombey klogd: usb 1-3: SerialNumber: 12345
Jun 15 18:53:59 dombey klogd: usb 1-3: configuration #1 chosen from 1 choice
Jun 15 18:54:00 dombey klogd: usb 1-3: ath9k_htc: Transferred FW: ar9271.fw, 
size: 53368
Jun 15 18:54:00 dombey klogd: usb 1-3: ath9k_htc: HTC initialized with 33 

credits

Nothing further. No LED lit.

Removing stick and 'rmmod ath9k_htc' results in:-

Jun 15 19:03:49 dombey klogd: rmmod         D ffffffffa108e638     0 13969   
6083 0x00000000
Jun 15 19:03:49 dombey klogd:  ffff880071835dc8 0000000000000086 
ffff880071835d68 ffff880071835db8
Jun 15 19:03:49 dombey klogd:  ffff880071835da8 ffffffff8117d8ad 
ffff880071835f18 ffffffffa108e638
Jun 15 19:03:49 dombey klogd:  ffff8800cc0699e0 000000000000fa28 
0000000000015580 ffff8800cc0699e0
Jun 15 19:03:49 dombey klogd: Call Trace:
Jun 15 19:03:49 dombey klogd:  [<ffffffff8117d8ad>] ? 
sysfs_addrm_finish+0x20d/0x280
Jun 15 19:03:49 dombey klogd:  [<ffffffff81372bfa>] ? klist_put+0x5a/0xa0
Jun 15 19:03:49 dombey klogd:  [<ffffffff81372df5>] klist_remove+0x85/0xc0
Jun 15 19:03:49 dombey klogd:  [<ffffffff8117c115>] ? 
sysfs_remove_file+0x15/0x20
Jun 15 19:03:49 dombey klogd:  [<ffffffff81288785>] 
bus_remove_driver+0x95/0x100
Jun 15 19:03:49 dombey klogd:  [<ffffffff8128a0f2>] 
driver_unregister+0x62/0xa0
Jun 15 19:03:49 dombey klogd:  [<ffffffffa000e9f1>] usb_deregister+0xb1/0xd0 
[usbcore]
Jun 15 19:03:49 dombey klogd:  [<ffffffffa1080af5>] 
ath9k_hif_usb_exit+0x15/0x20 [ath9k_htc]
Jun 15 19:03:49 dombey klogd:  [<ffffffffa1088f9e>] ath9k_htc_exit+0xe/0x23 
[ath9k_htc]
Jun 15 19:03:49 dombey klogd:  [<ffffffff8108c15d>] 
sys_delete_module+0x1dd/0x2b0
Jun 15 19:03:49 dombey klogd:  [<ffffffff81079ebe>] ? up_read+0xe/0x10
Jun 15 19:03:49 dombey klogd:  [<ffffffff81012042>] 
system_call_fastpath+0x16/0x1b
Jun 15 19:05:49 dombey klogd: INFO: task rmmod:13969 blocked for more than 120 
seconds.
Jun 15 19:05:49 dombey klogd: "echo 0 > 

/proc/sys/kernel/hung_task_timeout_secs" disables this message.

This contines for another few minutes until:-

Jun 15 19:10:41 dombey klogd: Failed to initialize the device
Jun 15 19:10:41 dombey klogd: ath9k_hif_usb: probe of 1-3:1.0 failed with 
error -22
Jun 15 19:10:41 dombey klogd: ath9k_htc: Driver unloaded
Jun 15 19:10:41 dombey klogd: usb 1-3: USB disconnect, address 4

Have you any suggestions how I may help to investigate this?

Thanks

Deri

#1 lore raw
Quoted 16 lines · Deri James

As an initial test I added the USB device to be treated the same as 0CF3:9271 (using current Compat Wireles source). On insertion I got this:-

Jun 15 18:53:59 dombey klogd: usb 1-3: new high speed USB device using 
ehci_hcd and address 4
Jun 15 18:53:59 dombey klogd: usb 1-3: New USB device found, idVendor=0846, 
idProduct=9030
Jun 15 18:53:59 dombey klogd: usb 1-3: New USB device strings: Mfr=16, 
Product=32, SerialNumber=48
Jun 15 18:53:59 dombey klogd: usb 1-3: Product: WNA1100
Jun 15 18:53:59 dombey klogd: usb 1-3: Manufacturer: NETGEAR WNA
Jun 15 18:53:59 dombey klogd: usb 1-3: SerialNumber: 12345
Jun 15 18:53:59 dombey klogd: usb 1-3: configuration #1 chosen from 1 choice
Jun 15 18:54:00 dombey klogd: usb 1-3: ath9k_htc: Transferred FW: ar9271.fw, 
size: 53368
Jun 15 18:54:00 dombey klogd: usb 1-3: ath9k_htc: HTC initialized with 33 
Quoted 1 line

credits

You have the wrong firmware.
Please see http://wireless.kernel.org/en/users/Drivers/ath9k_htc.

I'll check the USB IDs and send a fix.
Thanks for reporting this.

Sujith

author
#2 lore raw
Quoted 7 lines · On Wednesday 16 June 2010 02:34:39 Sujith wrote:
Quoted 5 lines · Deri James
Jun 15 18:53:59 dombey klogd: usb 1-3: configuration #1 chosen from 1
choice Jun 15 18:54:00 dombey klogd: usb 1-3: ath9k_htc: Transferred FW:
ar9271.fw, size: 53368
Jun 15 18:54:00 dombey klogd: usb 1-3: ath9k_htc: HTC initialized with 33

credits

Quoted 7 lines

You have the wrong firmware.
Please see http://wireless.kernel.org/en/users/Drivers/ath9k_htc.

I'll check the USB IDs and send a fix.
Thanks for reporting this.

Sujith

Downloading the firmware again fixed it (size: 51280) - works fine. I also notice you've added the USB IDs for this device now - thanks.

Cheers

Deri