Dear Artix community,
I've been experiencing a strange minor issue with my FR-Tec Raptor Mach 2 joystick which I recently found out is in fact a rebranded VKB Gladiator Mk. II, if that makes any difference.
The behavior is as follows:
- Boot up, enjoying OpenRC speed.
- Check if Joystick is detected, using AntiMicroX or Steam
- No joystick is detected
- Pkill Xorg
- Log in again
- Check for Joystick with same tools
- Joystick is perfectly detected and works flawlessly
Indeed it's a minor issue, I just have to re-login once if I want to play any flight sims/games, however I'm still curious and the Internet yielded few answers.
So, here's my xorg.conf.d:
yuri@~›—» ls /etc/X11/xorg.conf.d/
01-modules.conf 05-devices.conf 10-input 15-quirks.conf 20-monitors.conf 25-screens.conf 45-joysticks.conf 99-layout.conf
Here are the contents of 45-joysticks.conf
/etc/X11/xorg.conf.d/45-joysticks.conf
# Set up Joysticks
Section "InputClass"
Identifier "Joystick"
MatchisJoystick "on"
MatchDevicePath "/dev/input/event*"
MatchDevicePath "/dev/input/js*"
Driver "evdev"
EndSection
Due to the 40k character limit, I'll attach the Xorg logs at boot and after resetting, "Xorg.0.log" is after pkill and "Xorg.0.log.old" is the previous one at boot.
The actual relevant lines as far as I'm concerned at boot are:
[ 9.700] (II) config/udev: Adding input device Sanmos Group FR-TEC Raptor MACH 2 (/dev/input/js0)
[ 9.700] (II) No input driver specified, ignoring this device.
and
[ 9.838] (II) config/udev: Adding input device Sanmos Group FR-TEC Raptor MACH 2 (/dev/input/event20)
[ 9.838] (II) No input driver specified, ignoring this device.
[ 9.838] (II) This device may have been added with another device file.
And the lines X after pkilling it, you'll notice that I'm running libinput now because I played a bit with /usr/share/X11/xorg.conf.d to see if it changed anything, however it does not in the slightest, other than mice and keyboards being assigned libinput, they still work the same though.
[ 342.495] (II) config/udev: Adding input device Sanmos Group FR-TEC Raptor MACH 2 (/dev/input/event20)
[ 342.495] (II) No input driver specified, ignoring this device.
[ 342.495] (II) This device may have been added with another device file.
[ 342.496] (II) config/udev: Adding input device Sanmos Group FR-TEC Raptor MACH 2 (/dev/input/js0)
[ 342.496] (II) No input driver specified, ignoring this device.
What really stumps me is that I'm pretty sure I specified "evdev" for the driver, and also that the device is in fact always recognized by udev when calling udevadm from the terminal. Plus, the fact simply forcing X to restart the rough way makes it "just work" is also very confusing.
I welcome all suggestions/ideas, this question is definetly more curiosity on how Xorg works internally and knowing how to configure it than to actually needing to fix anything.
Also, if I missed any of the guidelines, please advise so that I may correct immediately.
Thanks to all in advance!
Have a great one!