[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+7oygc839sn-s3hHo0XBA_BJop86hZB1h987af1caJ6pAOwyw@mail.gmail.com>
Date: Mon, 23 Apr 2012 17:28:51 -0400
From: George Nychis <gnychis@...il.com>
To: Greg KH <gregkh@...uxfoundation.org>
Cc: linux-kernel@...r.kernel.org
Subject: Re: what determines how firmware is loaded? (Q. on request_firmware details)
Hi Greg,
On Mon, Apr 23, 2012 at 5:21 PM, Greg KH <gregkh@...uxfoundation.org> wrote:
> On Mon, Apr 23, 2012 at 04:18:56PM -0400, George Nychis wrote:
>> Hi all,
>>
>> I notice in an older version of Ubuntu that when I plugin a USB
>> wireless device its firmware is loaded via sysfs. For example, this
>> would pop up in sysfs:
>> /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1/compat_firmware/2-1/loading
>
> How old are we talking about here? What version of the kernel?
This was on a 2.6.32-21 Kernel. Ubuntu 10.04 LTS.
>
>> Has the former method of loading firmware been removed as the default?
>> Is there any way to request that the firmware load be done manually
>> (the former method)?
>
> Why? In the end, they do the same thing, right?
I am having issues with the automatic load on an embedded device
running a 3.0.8 kernel. I get USB URB related errors like this:
<7>[ 708.739241] ath9k_htc 1-1.1:1.0: usb_probe_interface - got id
<3>[ 708.999596] otg_err: in s5pc110_otghcd_urb_dequeue()::00508
<3>[ 709.000670] => fail to cancel_transfer()
<7>[ 709.002489] usb 1-1.1: hcd_unlink_urb d2f7c780 fail -1
<7>[ 709.004372] usb 1-1.1: khubd timed out on ep0out len=0/4096
<3>[ 709.005181] usb 1-1.1: ath9k_htc: Firmware - htc_7010.fw download failed
So I was hoping to try the manual method of sending the firmware to
see if it is related to the automatic process, or if I'm really going
to need to debug the firmware transfer.
>
>> It seems as though instead of calling request_firmware(), I could call
>> _request_firmware() with "uevent" set to 0? This would force for
>> former behavior?
>>
>> Does "nowait" also have to be 0? I don't quite understand the
>> separation between uevent and nowait.
>
> I don't understand the problem here, isn't the end-result the same?
> What is wrong with newer kernels?
This is likely strictly related to the embedded device, and possibly
some bugs related to it. But I was hoping to force manual mode to
narrow down the issue and see if that is at least a possible solution.
Thanks for the response!
- George
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists