Re: Load hid.o module synchronously?

Greg KH
2004-05-04T20:03:15Z

On Sat, May 01, 2004 at 09:21:31AM -0400, Patrick J. LoPresti wrote:
> 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...

Um, what is wrong with the proposals I made for how you can detect this?

greg k-h