lkml.org 
[lkml]   [2004]   [May]   [1]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSat, 01 May 2004 09:43:51 -0700
From"Kevin P. Fleming" <>
SubjectRe: Load hid.o module synchronously?
Patrick J. LoPresti wrote:

> 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...

You are wanting to load a driver for a completely-hotplug-capable 
subsystem but treat as if it was not? What will your package do if the 
user does not have the keyboard plugged in when the module gets loaded?

IMHO you should use the hotplug infrastructure and do this properly; 
load the module, and then sleep/wait until you get a hotplug event 
telling you that a keyboard has been found.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:02    [from the cache]
©2003-2008