public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* what determines how firmware is loaded? (Q. on request_firmware details)
@ 2012-04-23 20:18 George Nychis
  2012-04-23 21:21 ` Greg KH
  0 siblings, 1 reply; 8+ messages in thread
From: George Nychis @ 2012-04-23 20:18 UTC (permalink / raw)
  To: linux-kernel

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

In newer versions, I'm now seeing that the firmware seems to be loaded
directly via a Kernel thread that is spawned.  It checks for the
firmware in some firmware directory (e.g., /lib/firmware) and loads it
to the device.

I see in documentation that one method is referred to as asynchronous.
 Is this the  former or latter?

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)?

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.

Thanks!
George

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-04-26 15:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-23 20:18 what determines how firmware is loaded? (Q. on request_firmware details) George Nychis
2012-04-23 21:21 ` Greg KH
2012-04-23 21:28   ` George Nychis
2012-04-23 22:52     ` George Nychis
2012-04-23 22:56     ` Greg KH
2012-04-26 15:23       ` Mark Brown
2012-04-26 15:27         ` Greg KH
2012-04-26 15:48           ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox