From: Deri James Date: Tue, 15 Jun 2010 22:06:04 +0100 Subject: [ath9k-devel] ath9k_htc - AR9271 - NETGEAR WNA1100 Wireless-N 150 USB Adapter - 0846:9030 Message-ID: <201006152206.04783.deri@chuzzlewit.demon.co.uk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org 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: [] ? sysfs_addrm_finish+0x20d/0x280 Jun 15 19:03:49 dombey klogd: [] ? klist_put+0x5a/0xa0 Jun 15 19:03:49 dombey klogd: [] klist_remove+0x85/0xc0 Jun 15 19:03:49 dombey klogd: [] ? sysfs_remove_file+0x15/0x20 Jun 15 19:03:49 dombey klogd: [] bus_remove_driver+0x95/0x100 Jun 15 19:03:49 dombey klogd: [] driver_unregister+0x62/0xa0 Jun 15 19:03:49 dombey klogd: [] usb_deregister+0xb1/0xd0 [usbcore] Jun 15 19:03:49 dombey klogd: [] ath9k_hif_usb_exit+0x15/0x20 [ath9k_htc] Jun 15 19:03:49 dombey klogd: [] ath9k_htc_exit+0xe/0x23 [ath9k_htc] Jun 15 19:03:49 dombey klogd: [] sys_delete_module+0x1dd/0x2b0 Jun 15 19:03:49 dombey klogd: [] ? up_read+0xe/0x10 Jun 15 19:03:49 dombey klogd: [] 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