RetroArch doesn't recognize an USB gamepad with OpenRC



Hi everyone!
I have Manjaro KDE OpenRC installed a time ago with Manjaro Architect, and everything runs great except for RetroArch.
When I try to play with an USB gamepad in RetroArch, it doesn’t recognize it. And I know it’s not a issue with my gamepad and the system because the gamepad works with a game called OpenTyrian, and because the KDE configuration recognizes the gamepad:

Plus when I run udevadm monitor, it shows:

~ >>> udevadm monitor                                                                                                                                                           
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

KERNEL[3469.599139] add      /devices/pci0000:00/0000:00:12.0/usb4/4-2 (usb)
KERNEL[3469.606479] add      /devices/pci0000:00/0000:00:12.0/usb4/4-2/4-2:1.0 (usb)
KERNEL[3469.611174] add      /devices/pci0000:00/0000:00:12.0/usb4/4-2/4-2:1.0/0003:0583:A000.0006 (hid)
KERNEL[3469.613942] add      /devices/pci0000:00/0000:00:12.0/usb4/4-2/4-2:1.0/0003:0583:A000.0006/input/input13 (input)
KERNEL[3469.614123] add      /devices/pci0000:00/0000:00:12.0/usb4/4-2/4-2:1.0/0003:0583:A000.0006/input/input13/event9 (input)
KERNEL[3469.614221] add      /devices/pci0000:00/0000:00:12.0/usb4/4-2/4-2:1.0/0003:0583:A000.0006/input/input13/js0 (input)
KERNEL[3469.614312] add      /devices/pci0000:00/0000:00:12.0/usb4/4-2/4-2:1.0/0003:0583:A000.0006/hidraw/hidraw0 (hidraw)
UDEV  [3469.665389] add      /devices/pci0000:00/0000:00:12.0/usb4/4-2 (usb)
UDEV  [3469.668619] add      /devices/pci0000:00/0000:00:12.0/usb4/4-2/4-2:1.0 (usb)
UDEV  [3469.672072] add      /devices/pci0000:00/0000:00:12.0/usb4/4-2/4-2:1.0/0003:0583:A000.0006 (hid)
UDEV  [3469.675230] add      /devices/pci0000:00/0000:00:12.0/usb4/4-2/4-2:1.0/0003:0583:A000.0006/input/input13 (input)
UDEV  [3469.679150] add      /devices/pci0000:00/0000:00:12.0/usb4/4-2/4-2:1.0/0003:0583:A000.0006/hidraw/hidraw0 (hidraw)
UDEV  [3469.683051] add      /devices/pci0000:00/0000:00:12.0/usb4/4-2/4-2:1.0/0003:0583:A000.0006/input/input13/js0 (input)
UDEV  [3469.710787] add      /devices/pci0000:00/0000:00:12.0/usb4/4-2/4-2:1.0/0003:0583:A000.0006/input/input13/event9 (input)

This is the output of retroarch --verbose (in Pastebin because it’s long):

I guess the most important part of the log is from the line 67:

RetroArch [INFO] :: [udev]: Hotplug add: /dev/input/js0.
RetroArch [INFO] :: [udev]: Hotplug add: /dev/input/event9.

I have another PC with official Manjaro KDE, what includes systemd. In systemd RetroArch works good with my gamepad. Here is the output from RetroArch in systemd:

Starting with the line 65 it shows:

RetroArch [INFO] :: [udev]: Hotplug add: /dev/input/js0.
RetroArch [INFO] :: [udev]: Hotplug add: /dev/input/event15.
RetroArch [INFO] :: [udev]: Plugged pad: 2-Axis,8-Button   (1411:40960) on port #0.
RetroArch [INFO] :: [Autodetect]: 180 profiles found.
RetroArch [INFO] :: [udev]: Pad #0 (/dev/input/event15) supports 0 force feedback effects.

And the gamepad runs good.

My gamepad is a Genius MaxFire G-08XU.

What I can do for make RetroArch work with my gamepad in OpenRC? I have no idea what to do now.

closed #2

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.