[Xorg] Input device hotplug

Kristian Høgsberg krh at bitplanet.net
Tue Jun 29 02:42:14 PDT 2004


Keith Packard wrote:
> Around 19 o'clock on Jun 23, =?ISO-8859-1?Q?Kristian_H=F8gsberg?= wrote:
> 
> 
>>The overall design I'm thinking of is to keep the device discovery 
>>mechanism out of the X server.
> 
> 
> I think that's probably the right design.
> 
> 
>>One thing I'ld like to discuss is where to add the add and remove device 
>>interface
> 
> 
> I'd like to think this belongs in the XInput extension.

I think when you add a new device you need to be able to specify the 
same options as you can in xorg.conf.  That's why my first suggestion 
was to add it to XFree86-Misc (or possible Xorg-Misc), as it would be 
specific to the xorg server.  But I'm thinking that maybe the request I 
suggested is generic enough that it could be in XInput: basically you 
give the name of the new device, the name of the driver for the new 
device and a list of string (key, value) options.

> There are other 
> changes which we can add to that extension at the same time and rev the 
> protocol version.  Coding up backward-compatibility stuff will also be 
> necessary; take a look at how XFixes manages that (client sends its 
> version number, X server ensures protocol is compatible with that version).

OK, I'll look into that.

Kristian




More information about the xorg mailing list