Can't get ath9k_htc to load firmware, target not responsive
I am using kernel 3.0.1 with compat-wireless backport v3.0-2, and TL WN722N. The system is compiled based on openwrt trunk sdk. I am using htc_9271.fw version 1.3 downloaded from "http://wireless.kernel.org/download/htc_fw/"
The image when I run natively it is able to download firmware into the usb adapter. Haven't tested if it is working, but at least firmware was loaded, and the device was started in AP mode. However when I run it inside virtualbox 4.1.0, it says "target is unresponsive" :-
usb 1-1: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272 ath9k_htc 1-1:1.0: ath9k_htc: Target is unresponsive Failed to initialize the device
Anything I can do about it ?
Thanks
I am using kernel 3.0.1 with
compat-wireless backport v3.0-2, and TL WN722N. The system
is compiled based on openwrt trunk sdk. I am using
htc_9271.fw version 1.3 downloaded from "http://wireless.kernel.org/download/htc_fw/"
The image when I run natively it is able to download firmware into the usb adapter. Haven't tested if it is working, but at least firmware was loaded, and the device was started in AP mode. However when I run it inside virtualbox 4.1.0, it says "target is unresponsive" :-
usb 1-1: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272 ath9k_htc 1-1:1.0: ath9k_htc: Target is unresponsive Failed to initialize the device
Anything I can do about it ?
Thanks
Quoted 11 lines · Ming-Ching Tiew
I am using kernel 3.0.1 with
compat-wireless backport v3.0-2, and TL WN722N. The system
is compiled based on openwrt trunk sdk. I am using
htc_9271.fw version 1.3 downloaded from "http://wireless.kernel.org/download/htc_fw/"The image when I run natively it is able to download firmware into the usb adapter. Haven't tested if it is working, but at least firmware was loaded, and the device was started in AP mode. However when I run it inside virtualbox 4.1.0, it says "target is unresponsive" :-
please provide your vendor id and device id. thanks!
Quoted 13 lines
usb 1-1:
ath9k_htc: Transferred FW: htc_9271.fw, size: 51272ath9k_htc1-1:1.0:ath9k_htc: Target is unresponsive Failed to initialize the deviceAnything I can do about it ?
Thanks
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Signature · 1 line
shafi
Quoted 5 lines · Mohammed Shafi
From: Mohammed Shafi <[email protected]>
please provide your vendor id and device id. thanks!
Sure :-
[ 3130.144576] usb 2-1: default language 0x0409 [ 3130.144933] usb 2-1: udev 7, busnum 2, minor = 134 [ 3130.144939] usb 2-1: New USB device found, idVendor=0cf3, idProduct=9271 [ 3130.144949] usb 2-1: New USB device strings: Mfr=16, Product=32, SerialNumber=48 [ 3130.144952] usb 2-1: Product: USB2.0 WLAN [ 3130.144955] usb 2-1: Manufacturer: ATHEROS [ 3130.144957] usb 2-1: SerialNumber: 12345
I'm experiencing the same issue - it seems to occur whenever the device is reset - if I reboot my machine then I get the same error, but physically removing the adapter and reinserting it allows the firmware to be downloaded again.
I suspect that there's some reset command or process that isn't being carried out, but I don't know enough to debug the issue. I'm happy to test patches though.
[ 204.260987] usb 1-1.4: new high speed USB device number 5 using orion-ehci [ 204.391715] usb 1-1.4: New USB device found, idVendor=0cf3, idProduct=1006 [ 204.398626] usb 1-1.4: New USB device strings: Mfr=16, Product=32, SerialNumber=48 [ 204.406251] usb 1-1.4: Product: USB2.0 WLAN [ 204.410449] usb 1-1.4: Manufacturer: ATHEROS [ 204.414769] usb 1-1.4: SerialNumber: 12345
I'll try increasing the timeout as suggested in the one of the other emails.
Tom Lake
Quoted 13 lines · Tom Lake
From: Tom Lake <[email protected]>
Subject: Re: [ath9k-devel] Can't getath9k_htcto load firmware, target not responsive
To: "Ming-Ching Tiew" <[email protected]>
Cc: ath9k-devel at lists.ath9k.org
Date: Friday, August 12, 2011, 10:59 AM
I'm experiencing the same issue - it
seems to occur whenever the device
is reset - if I reboot my machine then I get the same
error, but
physically removing the adapter and reinserting it allows
the firmware
to be downloaded again.
Quoted 7 lines
I suspect that there's some reset command or process that isn't being
carried out, but I don't know enough to debug the issue. I'm happy to
test patches though.
You are right about the observation. For my case, it is worse. Often I get into a situation which it will not work anymore, even if the firmware is loaded, the system 'dmesg' always say the interface is not ready. Then what I do it to boot once into Windows, then it will recover from it and I can get it working on Linux running natively. But I have always have problem running it in virtualbox. Never once I managed to run it in Linux emulated in virtualbox.
Quoted 7 lines · Mohammed Shafi
Quoted 6 lines · Ming-Ching Tiew
I am using kernel 3.0.1 with
compat-wireless backport v3.0-2, and TL WN722N. The system
is compiled based on openwrt trunk sdk. I am using
htc_9271.fw version 1.3 downloaded from "http://wireless.kernel.org/download/htc_fw/"
Quoted 7 lines
Quoted 5 lines
The image when I run natively it is able to download firmware into the usb adapter. Haven't tested if it is working, but at least firmware was loaded, and the device was started in AP mode. However when I run it inside virtualbox 4.1.0, it says "target is unresponsive" :-
please provide your vendor id and device id. thanks!
if this already a supported device by ath9k_htc then
http://www.mailrepository.com/ath9k-devel.lists.ath9k.org/msg/3249192/
Quoted 21 lines
Quoted 7 lines
usb 1-1:
ath9k_htc: Transferred FW: htc_9271.fw, size: 51272ath9k_htc1-1:1.0:ath9k_htc: Target is unresponsive Failed to initialize the deviceQuoted 8 lines
Anything I can do about it ?
Thanks
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel--
shafi
Signature · 1 line
shafi
Quoted 4 lines · Mohammed Shafi
if this already a supported device by
ath9k_htcthen
http://www.mailrepository.com/ath9k-devel.lists.ath9k.org/msg/3249192/
Sorry I am not exactly sure what is required here. I have read the thread prior to my post. Basically the link you post, did not have a resolution. There is another thread ( probably a continuation of the one above ), which the final resolution seems to be :-
1) A patch to the driver, and/or
2) A patch to the firmware.
But I am using a more recent kernel and more recent compat-wireless. I have looked through the sources, it seems the driver patch mentioned has already been included into compat-wireless 3.0-2.
As for the firmware, I am using htc_9271.fw version 1.3. The previous post, since are based on older compat-wirelss, are using ar9271.fw.
Also the SAME boot image when I load it into the a USB flash and boot on a native machine without going through the virtual machine, things are working. It's not working in virtualbox VM. Some timing issues ?
Best regards.
Quoted 11 lines · Ming-Ching Tiew
Quoted 4 lines · Mohammed Shafi
if this already a supported device by
ath9k_htcthen
http://www.mailrepository.com/ath9k-devel.lists.ath9k.org/msg/3249192/
Quoted 4 lines
Sorry I am not exactly sure what is required here. I have read the thread prior to my post. Basically the link you post, did not have a resolution. There is another thread ( probably a continuation of the one above ), which the final resolution seems to be :-
1) A patch to the driver, and/or
2) A patch to the firmware.
sorry i am not aware of that thread, can you please post the link and the related patch?
Quoted 4 lines
But I am using a more recent kernel and more recent compat-wireless. I have looked through the sources, it seems the driver patch mentioned has already been included into compat-wireless 3.0-2.
As for the firmware, I am using htc_9271.fw version 1.3. The previous post, since are based on older compat-wirelss, are using ar9271.fw.
yes, thats the right firmware.
Quoted 2 lines
Also the SAME boot image when I load it into the a USB flash and boot on a native machine without going through the virtual machine, things are working. It's not working in virtualbox VM. Some timing issues ?
so did you try to increase the timeout in
Firmware can take up to 50ms to get ready, to be safe use 1 second */ time_left = wait_for_completion_timeout(&priv->htc->target_wait, HZ);
Quoted 7 lines
Best regards.
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Signature · 1 line
shafi
Quoted 5 lines · Mohammed Shafi
sorry? i am not aware of that thread, can you please post the link and
the related patch?
This is the other thread which bears some relevance to the error message of "Target is unresponsive" :-
http://www.mail-archive.com/ath9k-devel at lists.ath9k.org/msg04252.html
Quoted 8 lines
so did you try to increase the timeout in
Firmware can take up to 50ms to get ready, to be safe use
1 second */
time_left=wait_for_completion_timeout(&priv->htc->target_wait, HZ);
The said machine CONFIG_HZ is 100. I changed the function to use 10 * HZ, it did waited longer. But still says target is unresponsive.
Rgds