From mboxrd@z Thu Jan 1 00:00:00 1970 From: Petr =?iso-8859-2?Q?=A9tetiar?= Date: Sat, 20 Nov 2010 14:59:25 +0100 Subject: [ath9k-devel] ath9k_htc, 2.6.36 and "Target is unresponsive" error In-Reply-To: <20101119183428.GQ15069@ibawizard.net> References: <20101119110559.GO15069@ibawizard.net> <20101119122737.GP15069@ibawizard.net> <20101119183428.GQ15069@ibawizard.net> Message-ID: <20101120135925.GA2530@ibawizard.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Digged into it more, added few printks, after reboot: [ 521.710000] ath9k_hif_usb_probe [ 521.720000] ath9k_hif_usb_dev_init [ 521.770000] ath9k_hif_usb_download_fw - before firmware download [ 522.210000] ath9k_hif_usb_download_fw - after firmware download [ 522.210000] usb 1-3: ath9k_htc: Transferred FW: ar9271.fw, size: 51280 [ 522.220000] ath9k_htc_probe_device [ 522.230000] ath9k_htc_wait_for_target [ 522.470000] ath9k_htc_rx_msg - endpoint_id: 0x1 msg_id: 0x18 [ 523.230000] usb 1-3: ath9k_htc: Target is unresponsive [ 523.230000] Failed to initialize the device [ 523.250000] ath9k_hif_usb: probe of 1-3:1.0 failed with error -22 [ 523.260000] usbcore: registered new interface driver ath9k_hif_usb after replug: [ 624.610000] usb 1-3: USB disconnect, address 2 [ 626.050000] usb 1-3: new full speed USB device using ep93xx-ohci and address 3 [ 626.250000] usb 1-3: New USB device found, idVendor=0cf3, idProduct=1006 [ 626.250000] usb 1-3: New USB device strings: Mfr=16, Product=32, SerialNumber=48 [ 626.270000] usb 1-3: Product: USB2.0 WLAN [ 626.270000] usb 1-3: Manufacturer: ATHEROS [ 626.270000] usb 1-3: SerialNumber: 12345 [ 626.290000] ath9k_hif_usb_probe [ 626.290000] ath9k_hif_usb_dev_init [ 626.370000] ath9k_hif_usb_download_fw - before firmware download [ 626.740000] ath9k_hif_usb_download_fw - after firmware download [ 626.750000] usb 1-3: ath9k_htc: Transferred FW: ar9271.fw, size: 51280 [ 626.760000] ath9k_htc_probe_device [ 626.760000] ath9k_htc_wait_for_target [ 627.010000] ath9k_htc_rx_msg - endpoint_id: 0x0 msg_id: 0x1 [ 627.010000] htc_process_target_rdy [..snip..] So after the reboot, it seems to me, that the device is left in some wrong state: [ 522.230000] ath9k_htc_wait_for_target [ 522.470000] ath9k_htc_rx_msg - endpoint_id: 0x1 msg_id: 0x18 [ 523.230000] usb 1-3: ath9k_htc: Target is unresponsive versus correct behaviour after replug: [ 626.760000] ath9k_htc_wait_for_target [ 627.010000] ath9k_htc_rx_msg - endpoint_id: 0x0 msg_id: 0x1 [ 627.010000] htc_process_target_rdy Endpoint is 1 vs 0 and msg_id is 0x18 and not as expected 0x1 (HTC_MSG_READY_ID). I'm quite clueless what's going on there, but I hope it helps at least... -- ynezz