[PULL] udev input-hotplug backend

Stephan Raue mailinglists at openelec.tv
Fri Jan 1 07:38:17 PST 2010


Hi all,

i have a question how i can configure xorg-server/udev with the new 
changes for udev support. i have an successfully runnig 
xorg-server-1.7.99.2 with julien's patches with the needed 
config/x11-input.rules for udev support. now this rules file is not mor 
needed (and dont work anymore). with the latest svn version of 
xorg-server my mouse and keyboard doesnt work. i see in Xorg.log the 
follow lines:

  [1 sec: 077073 usec](II) config/udev: Adding input device "Logitech 
USB Receiver" (/dev/input/event6)
[1 sec: 077086 usec](EE) No input driver/identifier specified (ignoring)
[1 sec: 077233 usec](II) config/udev: Adding input device "Logitech USB 
Receiver" (/dev/input/mouse1)
[1 sec: 077245 usec](EE) No input driver/identifier specified (ignoring)
[1 sec: 077476 usec](II) config/udev: Adding input device "Logitech USB 
Receiver" (/dev/input/event7)
[1 sec: 077488 usec](EE) No input driver/identifier specified (ignoring)
[1 sec: 077675 usec](II) config/udev: Adding input device "AT Translated 
Set 2 keyboard" (/dev/input/event4)
[1 sec: 077688 usec](EE) No input driver/identifier specified (ignoring)
[1 sec: 077894 usec](II) config/udev: Adding input device "TPPS/2 IBM 
TrackPoint" (/dev/input/event5)
[1 sec: 077910 usec](EE) No input driver/identifier specified (ignoring)
[1 sec: 078049 usec](II) config/udev: Adding input device "TPPS/2 IBM 
TrackPoint" (/dev/input/mouse0)
[1 sec: 078062 usec](EE) No input driver/identifier specified (ignoring)

how i can configure my system so mouse/ touchpad/ keyboard /(wacom 
touchscreen) work with udev? (if possible without any changes to 
xorg.conf or xorg.conf.d)?

another little issue i have found in the implementation of xorg.conf.d:

if i have configfiles without an empty last line there are errors 
because the first line of the second configfile will be parsed with the 
last line of the first config file.

File 1:
Section...
EndSection

File 2:
Section...
EndSection

will be parsed to:
Section...
EndSectionSection...
EbdSection

greetings

Stephan

Am 30.12.2009 20:24, schrieb Julien Cristau:
> Hi Keith,
>
> I rebased my libudev branch on top of Dan's work, filling in
> InputAttributes to allow configuration through InputClass xorg.conf(.d)
> sections.  As part of that the ability to set the Xorg driver, or
> arbitrary driver options, directly through udev has been removed,
> leaving only xkb options, since the rest was obsoleted by InputClasses.
>
> I think this is now ready for prime time.  The udev backend still
> defaults to off though, and can be enabled by passing
> --enable-config-udev to configure.
>
> Please pull to master.
>
> The following changes since commit 9fad8f06fb89ac2ae05bea0fa24cab3df7677297:
>    Keith Packard (1):
>          Merge remote branch 'dbn/inputclass'
>
> are available in the git repository at:
>
>    git://people.freedesktop.org/~jcristau/xserver libudev
>
> Julien Cristau (1):
>        config: add libudev input-hotplug backend
>
> Peter Hutterer (1):
>        xfree86: move sanity checks below option and input classes merges.
>
>   config/Makefile.am              |   20 +++-
>   config/config-backends.h        |   21 +++-
>   config/config.c                 |   77 +++++++++++-
>   config/hal.c                    |   63 +---------
>   config/udev.c                   |  260 +++++++++++++++++++++++++++++++++++++++
>   configure.ac                    |   23 +++-
>   hw/kdrive/src/kinput.c          |    8 ++
>   hw/xfree86/common/xf86Config.c  |   15 ++-
>   hw/xfree86/common/xf86Globals.c |    2 +-
>   hw/xfree86/common/xf86Xinput.c  |   25 ++--
>   include/dix-config.h.in         |    3 +
>   11 files changed, 426 insertions(+), 91 deletions(-)
>   create mode 100644 config/udev.c
>
> Thanks,
> Julien
> _______________________________________________
> xorg-devel mailing list
> xorg-devel at lists.x.org
> http://lists.x.org/mailman/listinfo/xorg-devel
>
>    


-- 
               ### OpenELEC.tv ###
The free and open Mediacenter Distribution 4 you
              http://www.openelec.tv



More information about the xorg-devel mailing list