[OpenWrt-Devel] ath9k_htc: Target is unresponsive

Luca Olivetti luca at ventoso.org
Mon May 25 13:26:16 EDT 2015


El 25/05/15 a les 17:59, Luca Olivetti ha escrit:
> El 25/05/15 a les 17:27, Bruno Randolf ha escrit:
>> On 05/25/2015 03:38 PM, Luca Olivetti wrote:
>>> This is the message I get when I plug  a tp-link tl-wn722n (which is
>>> working fine both in an ubuntu desktop and on a mageia laptop):
>>>
>>>
>>> [  547.804000] usb 1-1: new high-speed USB device number 5 using ifxusb_hcd
>>> [  548.020000] usb 1-1: ath9k_htc: Firmware htc_9271.fw requested
>>> [  549.296000] usb 1-1: ath9k_htc: Transferred FW: htc_9271.fw, size: 50980
>>> [  550.304000] ath9k_htc 1-1:1.0: ath9k_htc: Target is unresponsive
>>> [  550.308000] ath9k_htc: Failed to initialize the device
>>>
>>>
>>> Just to exclude a problem with the usb port, I tried with an rt73 based
>>> stick I have and it works fine.
>>> I have a different firmware on my desktop system, I tried it but the
>>> result is the same.
>>>
>>> This is with openwrt trunk on an astoria arv7518pw (lantiq xway)
>>
>> Maybe a problem with the USB power supply. Can you try with a powered
>> USB hub?
> 
> Yes, I thought so, but I don't have a powered usb hub :-/

Well, I'm not sure it's just a power problem: I tried an usb memory
stick that declares 500mA consumption, and I get this:

[  144.512000] scsi 1:0:0:0: Direct-Access     Freecom  DATABAR
 1.00 PQ: 0 ANSI: 2
[  144.524000] sd 1:0:0:0: [sda] 7829504 512-byte logical blocks: (4.00
GB/3.73 GiB)
[  144.712000] usb 1-1: reset high-speed USB device number 3 using
ifxusb_hcd

[ some more resets]

[  146.772000] sd 1:0:0:0: [sda] Write Protect is off
[  146.776000] sd 1:0:0:0: [sda] Mode Sense: 03 00 00 00
[  146.952000] usb 1-1: reset high-speed USB device number 3 using
ifxusb_hcd

[ some more resets]

[  149.020000] sd 1:0:0:0: [sda] Write cache: disabled, read cache:
enabled, doesn't support DPO or FUA
[  149.204000] usb 1-1: reset high-speed USB device number 3 using
ifxusb_hcd

[ some more resets]
[ etc. ]

no problems with a stick that declares a 200mA consumption.

That would seem to corroborate the power problem *but* if I flash
barrier breaker the same 500mA memory stick works just fine.

The wifi stick still doesn't work though:

[  552.516000] usb 1-1: new high-speed USB device number 4 using ifxusb_hcd
[  552.740000] usb 1-1: ath9k_htc: Firmware htc_9271.fw requested
[  553.112000] usb 1-1: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
[  554.416000] usb 1-1: Service connection timeout for: 256
[  554.420000] ath9k_htc 1-1:1.0: ath9k_htc: Unable to initialize HTC
services
[  554.424000] ath9k_htc: Failed to initialize the device
[  554.432000] usb 1-1: ath9k_htc: USB layer deinitialized


So I suspect that it's a combination of power *and* a regression in the
ifxusb_hcd driver.

Bye
-- 
Luca
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list