evdev is horrible and I can't get rid of it

Paulo Cesar Pereira de Andrade pcpa at mandriva.com.br
Mon Mar 10 08:53:47 PDT 2008

Sergio Monteiro Basto wrote:
>>> Sounds like , that you still set old options, like XkbModel
>>> if you used evdev shouldn't set it
>>> Option      "XkbModel" "pc105"
>>> try use just:
>>> Section "InputDevice"
>>>        Identifier  "Keyboard0"
>>>        Driver      "evdev"
>>>        Option      "Device" "/dev/input/event1"
>>>        Option      "XkbLayout" "pt"
>>> EndSection
>>> Btw : I think, I saw in mandriva cooker one patch that stops evdev
>>> overwrite others input modules , made by Paulo Cesar Pereira de Andrade
>>> but I don't find it any more.
>>> Hi, Paulo, I am dreaming or mandriva cooker (or current or devel) repo
>>> have a patch that make xkb and mouse works with old modules. If have it
>>> can you point me here ? Thanks,
>>   I made one patch for that, but it wasn't really complete because there
>> isn't a way to map xorg.conf InputDevice sections to devices detected by
>> hal; the patch just tried to guess it, but since it wasn't safe I did not
>> use it.
> Ok but I like to see the patch again where it is ? the patch was for
> xserver or for evdev ? 
  It was for the xserver. The only version I still have is as an attachment
to https://bugs.freedesktop.org/show_bug.cgi?id=13361

>>   The patch tried to understand if the device being configured by the
>> config hal/dbus code wasn't already configured, as devices listed in
>> xorg.conf are loaded before the hal/dbus code, otherwise one can easily
>> end up with two driver instances trying to manage the same input device,
>> and possibly 2 different drivers.
>>   Currently, Mandriva's xserver is compiled with --disable-config-dbus and
>> --disable-config-hal. And it is server-1.4-branch with some custom patches
>> and some cherry-pick's.
> I saw that this weekend to compile with default value not enable nor
> disable  config-dbus and config-hal 
> you will need apply the follow patch:
> --- hw/vnc/Makefile.am.orig 2008-03-09 18:18:55.000000000 +0000
> +++ hw/vnc/Makefile.am  2008-03-09 18:19:03.000000000 +0000
> @@ -46,6 +46,7 @@
>               $(XVNC_LIBS) \
>               $(JPEG_LIBS) \
>               $(CRYPT_LIBS) \
> +             $(HAL_LIBS) \
>               $(VNCMODULES_LIBS)

  Thanks, I will check it. I have a bug report of vnc not working, but from
my tests, it did work linux/linux and linux/osx. Still waiting for some
feedback on linux/windows vnc.

> Paulo, do you speak and write in Portuguese don't you ? 

  Portuguese is my main language. But I read/write english, and if you
have enough patience, I can also talk in english :-)

> Best regards , 

Boa sorte,

More information about the xorg mailing list