Status if input device hotplugging
vignatti at c3sl.ufpr.br
Thu May 31 14:03:12 PDT 2007
Nicolas Trangez escreveu:
> Some time ago there was some discussion on the list regarding how to
> proceed with runtime addition of input devices to the server. Could
> anyone tell me what the final decission was (iirc add HAL-based
> detection optionally to the server, next to the current (optional) D-Bus
> based interface?), and whether work on this has started?
Yes, it's already working. The X server (in DIX) provides the necessary
API to support the plug and unplug of devices (all in xserver/config/).
What you've got to do is an external application that emits some event
to X (through dbus) when something are plugged/unplugged. The
application's goal is to talk with the API supported by X to decide what
to do when some device are connected to the machine. Daniel wrote the
respeclaration  and Enleth started some python script . Both are
really raw, but simply works! Personally, I prefer Enleth's approach.
I'm playing with this all on the last days, so if you have some
questions concerning the configuration you can poke me on the IRC.
C3SL - Centro de Computação Científica e Software Livre
More information about the xorg