Date: Sun, 22 Sep 2019 10:34:20 +0300 From: Vasily Postnicov <shamaz.mazum@gmail.com> To: freebsd-x11@freebsd.org Subject: Xorg with evdev input devices Message-ID: <CADnZ6B=foNChKaH6j%2Bx4pv4Z6g2ycCL7yiuLvDZSAOBHOa4ugw@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADnZ6B=foNChKaH6j%2Bx4pv4Z6g2ycCL7yiuLvDZSAOBHOa4ugw>