All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] ath9k_htc - AR9271 - NETGEAR WNA1100 Wireless-N 150 USB Adapter - 0846:9030
@ 2010-06-15 21:06 Deri James
  2010-06-16  1:34 ` Sujith
  0 siblings, 1 reply; 5+ messages in thread
From: Deri James @ 2010-06-15 21:06 UTC (permalink / raw)
  To: ath9k-devel

Hello,

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

> [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,
> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ath9k-devel] ath9k_htc - AR9271 - NETGEAR WNA1100 Wireless-N 150 USB Adapter - 0846:9030
  2010-06-15 21:06 [ath9k-devel] ath9k_htc - AR9271 - NETGEAR WNA1100 Wireless-N 150 USB Adapter - 0846:9030 Deri James
@ 2010-06-16  1:34 ` Sujith
  2010-06-29 17:36   ` Deri James
  0 siblings, 1 reply; 5+ messages in thread
From: Sujith @ 2010-06-16  1:34 UTC (permalink / raw)
  To: ath9k-devel

Deri James wrote:
> 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

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ath9k-devel] ath9k_htc - AR9271 - NETGEAR WNA1100 Wireless-N 150 USB Adapter - 0846:9030
  2010-06-16  1:34 ` Sujith
@ 2010-06-29 17:36   ` Deri James
  2010-07-12  0:05     ` Deri James
  0 siblings, 1 reply; 5+ messages in thread
From: Deri James @ 2010-06-29 17:36 UTC (permalink / raw)
  To: ath9k-devel

On Wednesday 16 June 2010 02:34:39 Sujith wrote:
> Deri James wrote:
> > 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
> 
> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ath9k-devel] ath9k_htc - AR9271 - NETGEAR WNA1100 Wireless-N 150 USB Adapter - 0846:9030
  2010-06-29 17:36   ` Deri James
@ 2010-07-12  0:05     ` Deri James
  2010-07-12  1:39       ` Pavel Roskin
  0 siblings, 1 reply; 5+ messages in thread
From: Deri James @ 2010-07-12  0:05 UTC (permalink / raw)
  To: ath9k-devel

I just noticed on this page:-

<http://wireless.kernel.org/en/users/Drivers/ath9k_htc/devices>

the USB Vendor for Netgear WNA1100 should be 0x0846.

Cheers

Deri

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ath9k-devel] ath9k_htc - AR9271 - NETGEAR WNA1100 Wireless-N 150 USB Adapter - 0846:9030
  2010-07-12  0:05     ` Deri James
@ 2010-07-12  1:39       ` Pavel Roskin
  0 siblings, 0 replies; 5+ messages in thread
From: Pavel Roskin @ 2010-07-12  1:39 UTC (permalink / raw)
  To: ath9k-devel

On Mon, 2010-07-12 at 01:05 +0100, Deri James wrote:
> I just noticed on this page:-
> 
> <http://wireless.kernel.org/en/users/Drivers/ath9k_htc/devices>
> 
> the USB Vendor for Netgear WNA1100 should be 0x0846.

Thank you!  I've updated the list from the current driver code.

-- 
Regards,
Pavel Roskin

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-07-12  1:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-15 21:06 [ath9k-devel] ath9k_htc - AR9271 - NETGEAR WNA1100 Wireless-N 150 USB Adapter - 0846:9030 Deri James
2010-06-16  1:34 ` Sujith
2010-06-29 17:36   ` Deri James
2010-07-12  0:05     ` Deri James
2010-07-12  1:39       ` Pavel Roskin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.