public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Load hid.o module synchronously?
@ 2004-04-26 19:10 Patrick J. LoPresti
  2004-04-26 19:40 ` Chris Friesen
  2004-04-27  6:02 ` Kim Holviala
  0 siblings, 2 replies; 23+ messages in thread
From: Patrick J. LoPresti @ 2004-04-26 19:10 UTC (permalink / raw)
  To: linux-kernel

I am using the 2.6.5 kernel on a modular boot disk.  I am finding that
invocations of "modprobe" are returning sooner than I would like.

For example, I invoke "modprobe hid" to make my USB keyboard work.
This loads the module and exits immediately, causing my script to
proceed, before the USB keyboard is probed and ready.

I want to wait until the driver is finished initializing (i.e., a USB
keyboard is either found or not found) before my script continues.
How can I do that?

I seem to be having similar problems loading certain other modules
(PCMCIA, Ethernet), but hid.o is the only one for which I have not
found a convenient workaround.

I apologize if this is a stupid question.  I have spent some time
searching both the Linux source code and the linux-kernel archives to
no avail.

Thanks!

 - Pat

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

end of thread, other threads:[~2004-05-08  0:22 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-26 19:10 Load hid.o module synchronously? Patrick J. LoPresti
2004-04-26 19:40 ` Chris Friesen
2004-04-26 19:50   ` Patrick J. LoPresti
2004-04-26 20:03     ` Chris Friesen
2004-04-26 20:19     ` Greg KH
2004-04-28 14:02     ` Bill Davidsen
     [not found]       ` <mit.lcs.mail.linux-kernel/c6od9g$53k$1@gatekeeper.tmr.com>
2004-05-01 13:21         ` Patrick J. LoPresti
2004-05-01 16:43           ` Kevin P. Fleming
2004-05-04 20:01           ` Greg KH
2004-05-04 21:56             ` Patrick J. LoPresti
2004-05-04 22:35               ` Greg KH
2004-05-05  2:49                 ` Patrick J. LoPresti
2004-05-05  2:56                   ` Greg KH
2004-05-05 15:19                     ` Patrick J. LoPresti
2004-05-05 22:45                       ` Greg KH
2004-05-06 13:54                         ` Patrick J. LoPresti
2004-05-07 22:00                           ` Greg KH
2004-05-05  3:21                   ` Randy.Dunlap
2004-05-05 22:33               ` Oliver Neukum
2004-05-06 14:05                 ` Patrick J. LoPresti
2004-05-07 16:19                   ` Stefan Smietanowski
2004-05-07 17:50                     ` Oliver Neukum
2004-04-27  6:02 ` Kim Holviala

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