[wellylug] udev/hotplug

John C Barstow jbowtie at amathaine.com
Wed Jan 26 22:21:22 NZDT 2005


On Sun, 2005-01-23 at 21:29 +1300, jumbophut wrote:
> Does anybody know how this works, on Debian if possible?
> 
> Specifically, does the kernel send hotplug events only to udev (which
> would then pass them to the hotplug binary or not), only to hotplug
> (passing them to udev at some point) or to both?

My understanding is as follows:

The kernel sends events to hotplug, which loads the appropriate driver
and broadcasts the event to listeners.
UDEV listens to hotplug events, and creates device nodes in response,
based on information in the /etc/udev/rules location. It then uses D-BUS
to broadcast the device information to the rest of user space.

Due to some issues with hotplug, there have been mutterings recently
about having udev taking over the module loading as well. Whether this
is serious or well-founded I do not know.

Frankly, the biggest issue on Linux today IMHO is the fact that X is
completely ignorant of hotplugging. This is really bad when you have
lots of USB input devices.

On a complete tangent, I note that the DSE tablets now work well with
the latest aiptek drivers (patches are being submitted to the kernel and
X for future out-of-the-box goodness).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.wellylug.org.nz/pipermail/wellylug/attachments/20050126/2bda4695/attachment.pgp 


More information about the wellylug mailing list