You are not logged in.

#1 2015-08-29 07:17:28

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,420
Website

Xorg: Intermittent failure of external input devices [Workaround]

On some occasions, my external keyboard (CM Storm Quickfire TKL 6keys) is recognized, and working in a virtual terminal, but not in X. Similarly, my USB mouse (Logitech, Inc. M105 Optical Mouse) doesn't always work in X. When I relogin (and restart X), the keyboard/mouse work again. The system is a ThinkPad X201.

xf86-input-keyboard and xf86-input-evdev are installed, and all packages are at their current repo versions as of writing.

dmesg: http://git.io/vGs5I
Xorg log: http://git.io/vGs7N

These snippets look relevant to me:

[ 58626.186] (II) config/udev: Adding input device CM Storm Quickfire TKL 6keys (/dev/input/event14)
[ 58626.186] (**) CM Storm Quickfire TKL 6keys: Applying InputClass "evdev keyboard catchall"
[ 58626.186] (**) CM Storm Quickfire TKL 6keys: Applying InputClass "system-keyboard"
[ 58626.186] (II) systemd-logind: returning pre-existing fd for /dev/input/event14 13:78
[ 58626.186] (II) Using input driver 'evdev' for 'CM Storm Quickfire TKL 6keys'
[ 58626.186] (**) CM Storm Quickfire TKL 6keys: always reports core events
[ 58626.186] (**) evdev: CM Storm Quickfire TKL 6keys: Device: "/dev/input/event14"
[ 58626.186] (EE) evdev: CM Storm Quickfire TKL 6keys: Unable to query fd: No such device
[ 58626.186] (EE) PreInit returned 2 for "CM Storm Quickfire TKL 6keys"
[ 58626.186] (II) UnloadModule: "evdev"
[ 58626.186] (II) systemd-logind: not releasing fd for 13:78, still in use
[ 59334.880] (II) UnloadModule: "evdev"
[ 59334.880] (II) systemd-logind: releasing fd for 13:78
[ 59334.881] (EE) systemd-logind: failed to release device: Device not taken

My session is correctly marked active:

 % loginctl show-session $XDG_SESSION_ID --property=Active
Active=yes

I also use a few xorg.conf.d snippets: http://git.io/vGs5K and udev rules: http://git.io/vGsd5

The few threads I've found said this could be due to a Xorg update:

https://bbs.archlinux.org/viewtopic.php?id=185398
https://bbs.archlinux.org/viewtopic.php?id=184971

Where could I further look in debugging this?

Last edited by Alad (2015-09-06 09:26:17)


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#2 2015-08-31 11:58:16

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,420
Website

Re: Xorg: Intermittent failure of external input devices [Workaround]


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#3 2015-09-06 09:27:41

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,420
Website

Re: Xorg: Intermittent failure of external input devices [Workaround]

Setting the X server to run as root in Xwrapper.config seems to be a workaround. I guess I should file a bug ...


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

Board footer

Powered by FluxBB