Re: Load hid.o module synchronously?

Oliver Neukum
2004-05-05T22:34:12Z

Am Dienstag, 4. Mai 2004 23:56 schrieb Patrick J. LoPresti:
> Ideally, what I would like is for "modprobe <driver>" to wait until
> all hardware handled by that driver is either ready for use or is
> never going to be.  That seems simple and natural to me.  But I would

The set of devices connected to the machine is not static. Waiting until
all hardware is ready is very hard to even define.

> be glad to use any other mechanism to achieve the same effect; I just
> have not seen one yet.

Issue ioctl() USBDEVFS_CONNECT through usbfs. It does a synchronous
probe for a specific device.

Regards
Oliver