Xorg with evdev input devices

Vasily Postnicov shamaz.mazum at gmail.com
Sun Sep 22 07:34:34 UTC 2019


Hello. I use FreeBSD 12.0-RELEASE-p10  on amd64 machine and my xorg-server
version is 1.18.4_12,1

I want to test Xorg with evdev input devices. At first I recompiled my
kernel with the following options:

> device evdev
> device uinput
> options EVDEV_SUPPORT

After reboot I have got four new devices form /dev/input/event0 to
/dev/input/event3

At second I recompiled Xorg server with the patch supplied in this bug
report (with option UDEV chosen):
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222609

Finally, I removed all my input xorg drivers and installed
xf86-input-libinput.

Then this line was added in my ~/.xinitrc:

> setxkbmap -rules evdev us,ru winkeys
grp:rwin_toggle,grp_led:scroll,compose:lwin,ctrl:nocaps

I have a standard 104-keys keyboard with Russian layout. All works almost
perfectly, but I have a little problem. With old xf86-input-keyboard driver
when an arrow key is held, an application constantly receives an event
(e.g. when I hold up/down arrow, content in browser keeps scrolling). With
xf86-input-libinput only up arrow and right arrow keep this behavior, but
the other two do not. This means, I must constantly press and release down
arrow to scroll the content in browser or editor. This is really annoying.
How it can be fixed?


More information about the freebsd-x11 mailing list