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

Sergio Monteiro Basto sergio at sergiomb.no-ip.org
Mon Mar 10 04:41:47 PDT 2008


On Mon, 2008-03-10 at 00:51 -0300, pcpa at mandriva.com.br wrote:
> Quoting Sergio Monteiro Basto <sergio at sergiomb.no-ip.org>:
> 
> > On Sat, 2008-03-08 at 20:43 -0800, Jeffrey Baker wrote:
> >> I'm not sure why but my Microsoft Natural Keyboard Elite is
> >> now misconfigured.  I changed it in the GNOME control center to be
> >> "evdev managed keyboard" and loaded the defaults.
> >
> >> The up arrow is
> >> printing the screen,
> >
> > 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 ? 

>   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)

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

Best regards , 
-- 
Sérgio M. B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2192 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20080310/9ced264a/attachment.bin>


More information about the xorg mailing list