[RFC PATCH] Initial libudev input-hotplug support

Dan Nicholson dbn.lists at gmail.com
Wed Sep 30 11:34:52 PDT 2009


On Wed, Sep 30, 2009 at 7:42 AM, Daniel Stone <daniel at fooishbar.org> wrote:
> On Wed, Sep 30, 2009 at 10:17:47AM +0200, Julien Cristau wrote:
>> On Wed, Sep 30, 2009 at 08:47:27 +0200, Rémi Cardona wrote:
>> > I think the "xkb" HAL keys were deprecated in favor of
>> > "x11_options.Xkb*", let's at least drop the deprecated one.
>> >
>> Well my understanding was that input.xkb.foo was preferred.  There's
>> nothing strictly x11-specific to the xkb keys (we use the
>> xkeyboard-config data files to set the console keymap, e.g.).
>
> Correct.

One thing I was hoping was not to have the options input from the
device configuration again. Having people migrate their setups to hal
was not fun, and now they'll have to do it again to udev rules files.
I have a couple patches that just need some polishing that add a
InputClass xorg.conf option which allows matching against device
properties and applying InputDevice options. That way the input
configuration for hal, udev and any future input notifiers would be
consolidated in the place where the server is supposed to be
configured.

Does that sound like something useful? Then the config/udev backend
would simply listen for input devices and pass them on to
NewInputDeviceRequest where the Xorg could do what it wants.

--
Dan


More information about the xorg-devel mailing list