2012-04-23 07:00:12

by George Nychis

[permalink] [raw]
Subject: how to configure compat-wireless to force manual firmware load?

I was using an older version of compat-wireless, specifically a build
from May 2011. ?In that release of compat-wireless, the firmware was
loaded manually using a filesystem mounted in /sys.

I recently downloaded a newer version of compat-wireless:
compat-wireless-3.0.9-1. ?In this version, it appears to spawn a
kernel thread to check /lib/firmware for the firmware and load it. ?If
it is present, it loads the firmware, otherwise it fails saying that
it cannot be found.

I am having trouble with the automatic load:
<3>[ ?178.957584] otg_err: in s5pc110_otghcd_urb_dequeue()::00508
<3>[ ?178.958650] => fail to cancel_transfer()
<7>[ ?178.959879] usb 1-1.2: hcd_unlink_urb d13aa200 fail -1
<7>[ ?178.962510] usb 1-1.2: khubd timed out on ep0out len=0/4096
<3>[ ?178.963274] usb 1-1.2: ath9k_htc: Firmware - htc_7010.fw download failed
<4>[ ?178.971658] ath9k_htc: probe of 1-1.2:1.0 failed with error -22

Is there a way to configure (e.g.,?config.mk) compat-wireless to use
the manual way? ?So I'd like to give the manual route a shot.

Thanks!
George


2012-04-23 07:14:00

by Sujith Manoharan

[permalink] [raw]
Subject: how to configure compat-wireless to force manual firmware load?

George Nychis wrote:
> I was using an older version of compat-wireless, specifically a build
> from May 2011. ?In that release of compat-wireless, the firmware was
> loaded manually using a filesystem mounted in /sys.
>
> I recently downloaded a newer version of compat-wireless:
> compat-wireless-3.0.9-1. ?In this version, it appears to spawn a
> kernel thread to check /lib/firmware for the firmware and load it. ?If
> it is present, it loads the firmware, otherwise it fails saying that
> it cannot be found.
>
> I am having trouble with the automatic load:
> <3>[ ?178.957584] otg_err: in s5pc110_otghcd_urb_dequeue()::00508
> <3>[ ?178.958650] => fail to cancel_transfer()
> <7>[ ?178.959879] usb 1-1.2: hcd_unlink_urb d13aa200 fail -1
> <7>[ ?178.962510] usb 1-1.2: khubd timed out on ep0out len=0/4096
> <3>[ ?178.963274] usb 1-1.2: ath9k_htc: Firmware - htc_7010.fw download failed
> <4>[ ?178.971658] ath9k_htc: probe of 1-1.2:1.0 failed with error -22

The FW is found, but transferring it to the device fails for some reason.
Can you give more details about the platform ?

Sujith