xf86-input-keyboard does not work with >=xorg-server-1.16
Submitted by Piotr Karbowski
Assigned to Xorg Project Team
Description
Created attachment 108742 strace log of process X.
n a fully upgraded ~amd64 gentoo system >=x11-base/xorg-server-1.16 does not work with kbd driver, the driver is loaded but any key press results in process X taking 100% of cpu and not working keyboard.
After hooking into X process with strace one can see tons of repeated:
read(6, 0x7fffb398bae0, 64) = -1 EIO (Input/output error) rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 select(256, [1 3 6 8 12 13 14 17 18 19 20], NULL, NULL, {0, 5000}) = 1 (in [6], left {0, 4998}) rt_sigprocmask(SIG_BLOCK, [IO], [], 8) = 0 read(6, 0x7fffb398bae0, 64) = -1 EIO (Input/output error) rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 select(256, [1 3 6 8 12 13 14 17 18 19 20], NULL, NULL, {0, 5000}) = 1 (in [6], left {0, 4998}) rt_sigprocmask(SIG_BLOCK, [IO], [], 8) = 0 read(6, 0x7fffb398bae0, 64) = -1 EIO (Input/output error) rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 select(256, [1 3 6 8 12 13 14 17 18 19 20], NULL, NULL, {0, 5000}) = 1 (in [6], left {0, 4998}) rt_sigprocmask(SIG_BLOCK, [IO], [], 8) = 0 read(6, 0x7fffb398bae0, 64) = -1 EIO (Input/output error) rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 select(256, [1 3 6 8 12 13 14 17 18 19 20], NULL, NULL, {0, 5000}) = 1 (in [6], left {0, 4998})
1.15.1 and 1.15.2 does work all right, 1.16 and 1.16.1 does not.
The system runs without udev, there's no systemd and without desktop environment, just with openbox started from .xinitrc.
Xorg.0.log does not have any error, it does load kbd module just fine and on exit unload it without any error or even warning.
Attachment 108742, "strace log of process X.":
X.strace.log.gz