Re: Load hid.o module synchronously?

Patrick J. LoPresti
2004-05-01T13:21:34Z

Bill Davidsen <davidsen@tmr.com> 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