Unable to access input devices in Xorg - eudev [issue?] 11 June 2020, 10:47:36 I have installed Artix with runit (also tried openrc, the issue is still there) and I am unable to access devices that were plugged (i.e. keyboard, mouse) in on boot in Xorg. They work fine if the USB device is reconnected after boot, but in case of inbuilt laptop keyboard such is impossible. Interestingly, the trackpoint sometimes works fine. If the device is plugged in after boot, no matter whether in framebuffer or X, it then works fine and is register in Xorg.0.log. I tried to search logs, dmesg for any proof of anything that could be wrong, and except of lack of registering this laptop keyboard (which is a constant (/dev/input/event3)) it seems there are no errors. I only use startx for starting X or startxfce4 where I want xfce.Here is the quick list of things, I've tried (to no effect):checking both libinput and evdevremoving elogindrestarting eudevinstalling openRC, and then reinstalling runit (try doing this with systemd) adding user to input grouprunning X as root Last Edit: 11 June 2020, 13:24:39 by lich
Re: Unable to access input devices in Xorg - eudev (?) Reply #1 – 11 June 2020, 13:24:11 Running Code: [Select]udevadm test /dev/input/* seems to solve the issue. It seems init scripts here skip Code: [Select]udevadm trigger and, thus, are unable to notice 'coldplugged' devices.
Re: Unable to access input devices in Xorg - eudev [issue?] Reply #2 – 11 June 2020, 15:00:48 which drivers have you installed? Code: [Select]pacman -Qs xf86
Re: Unable to access input devices in Xorg - eudev [issue?] Reply #3 – 11 June 2020, 15:27:21 This is weird. runit does run udevadm trigger on startup. It's part of runit-rc.
Re: Unable to access input devices in Xorg - eudev [issue?] Reply #4 – 11 June 2020, 16:02:51 Quote from: alium – on 11 June 2020, 15:00:48which drivers have you installed? Code: [Select]pacman -Qs xf86I have installed them all (after noticing the issues), but currently use evdev, but the results were exactly the same with libinput and in Wayland. I have installed them all just to make sure that nothing is missingQuote from: Dudemanguy – on 11 June 2020, 15:27:21This is weird. runit does run udevadm trigger on startup. It's part of runit-rc.Huh, is there any log for runit I could supply so we could gather better information? If it matters I'll also state it is a LUKS/LVM setup, but I dont know whether this related. I have attached the output of Code: [Select]find /etc/runit. Last Edit: 11 June 2020, 16:07:53 by lich
Re: Unable to access input devices in Xorg - eudev [issue?] Reply #5 – 11 June 2020, 17:40:40 Maybe you should define input class in /etc/X11/xorg.conf.d. See xf86-input-evdev sources for sample config
Re: Unable to access input devices in Xorg - eudev [issue?] Reply #6 – 11 June 2020, 17:47:49 Quote from: phoenix_king_rus – on 11 June 2020, 17:40:40Maybe you should define input class in /etc/X11/xorg.conf.d. See xf86-input-evdev sources for sample configAlso tried this with inclusion of libinput and evdev. Both did not change the issue, it seems it is fully eudev related. It is also not dependent on runit as it also existed for me on OpenRC
Re: Unable to access input devices in Xorg - eudev [issue?] Reply #7 – 11 June 2020, 23:28:49 Adding Code: [Select]udevadm trigger to the runit service fixes the issue. Shouldn't we then run this command on boot, as there are setups in which it causes issues? I am aware it is redundant, but It is not a heavy command by any means and solves this very annoying and difficult to research issue.