Re: Load hid.o module synchronously?

From: Patrick J. LoPresti
Date: Sat May 01 2004 - 08:23:04 EST


Bill Davidsen <davidsen@xxxxxxx> writes:

> Patrick J. LoPresti wrote:
>
> > I see how I can scan for a USB keyboard after loading the USB host
> > controller module. I think. But what do I look for, exactly, to
> > tell when hid.o has hooked itself up to the keyboard?
>
> You need to be able to tell "not hooked yet" from "never saw it" for
> reliable operation. I don't know how to do that, sorry.

So there is no way to load this hardware driver and wait until it
either binds or fails to bind to its associated hardware? That seems
like a bad bug in the design...

I suppose I will just use some arbitrary delay.

- Pat
-
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/