[PATCHv3 0/3] libudev input-hotplug backend

Julien Cristau jcristau at debian.org
Sun Dec 6 11:27:05 PST 2009


Hi,

since this patch is starting to be used in debian/ubuntu, I thought I'd
update and re-send.

The main user-visible change since last time is that the layout is set
using xkb{rules,model,layout,variant,options} instead of xkb.{rmlvo},
mostly because this allows us to simply use
IMPORT{file}="/etc/default/keyboard" in the udev rule without having to
fork an external program to do the translation.  I'm fine with re-adding
xkb.{rmlvo} if people ask for it, though.

I added an example config/x11-input.rules as requested by Peter, which
is made easier by the new input_id helper added in udev 148.  The helper
sets ID_INPUT_{KEY,KEYBOARD,TABLET,JOYSTICK,TOUCHSCREEN,MOUSE,TOUCHPAD}
properties on the device, which we can then use to choose the driver or
to plug into Dan's xorg.conf matching options (the latter is not
addressed in this series, but should be fairly easy).

Also as requested by Peter during review of v2, patch 3 disables this
new backend by default, in case it's pulled into master now.

Cheers,
Julien



More information about the xorg-devel mailing list