Re: Load hid.o module synchronously?

From: Oliver Neukum
Date: Wed May 05 2004 - 17:37:28 EST


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/