Xorg Input Hotplugging

pcpa at mandriva.com.br pcpa at mandriva.com.br
Sat Dec 1 04:49:42 PST 2007


Quoting Bernardo Innocenti <bernie at codewiz.org>:

> Sergio Monteiro Basto wrote:
>
>> yap, edev still have a bunch of problems with xserver 1.4 + (one of than
>> is not have cursors keys if you want your native language keyboard
>> layout), I simply install an edev version for xserver-1.3 which don't
>> load at all.

  Maybe this is related to https://bugs.freedesktop.org/show_bug.cgi?id=13361

  The main problem is that there isn't a mapping from hal devices
to xorg.conf devices, and the hal code in the X Server, if hal is
"properly configured", will load a new module to handle an input
device that already have a module loaded for it, as listed in
xorg.conf.
  For example, if I change hal to use the mouse driver for my ps2
mouse, and have an input device section in xorg.conf also using
the mouse driver, I will get double clicks for every mouse click.
Simillar problems will happen with the keyboard, like arrow keys
not working, in my case it was mapping to Print Screen, and calling
ksnapshot when running kde. But other different problems may arise
if the xorg.conf specifies one driver and hal specifies another,
and both drivers are loaded.

  For the moment, I disabled hal support in the Mandriva X Server
a few days ago as I got no reply to the bugzilla above, but hope
to work again on it in the next days. I did not finish the patch
because it may be required some guessing, or some detail I am
missing :-) that would allow mapping hal devices to xorg.conf
devices, and then, code in the server would notice it and load
only one driver for the device.

> Hmm... Our cursor keys just work.
>
> I noticed that we loose them if we mistakenly load the "xfree86"
> keycodes instead of the "evdev" ones.
>
> You may have to override the xserver defaults with setxkbmap or
> by setting the XKB properties in x11-server.fdi.
>
>
>> And I work with synaptics git drive which emulates very well 3rd button
>> of my notebook. And usb mouse works in hotplugging very well too.
>
> Does the USB mouse use evdev_drv or mouse_drv?
>
> --
> \___/
> |___|   Bernardo Innocenti - http://www.codewiz.org/
>  \___\  One Laptop Per Child - http://www.laptop.org/

Paulo






More information about the xorg mailing list