Test this update, it has joydev enabled: libreelec-h3.arm-9.80-devel-20190720180444-891219d-orangepi-pc.tar
btw, driver is build in, so you won't see it in lsmod and you can't modprobe it.
I can confirm - usb gamepad is working now.
Test this update, it has joydev enabled: libreelec-h3.arm-9.80-devel-20190720180444-891219d-orangepi-pc.tar
btw, driver is build in, so you won't see it in lsmod and you can't modprobe it.
I can confirm - usb gamepad is working now.
Test this update, it has joydev enabled: libreelec-h3.arm-9.80-devel-20190720180444-891219d-orangepi-pc.tar
Seems this is not image file inside as usual.
cmexonat Can you tell me which board you have? I would like to make test image with enabled driver so you can tell me if it is working or not. That way we will know for sure without waiting on PR merge and nightlies and you'll enjoy using it sooner.
Oh, I have it on Orange Pi PC board.
Thank you!
which driver would be needed for that? I mean exact kernel config line.
Unfortunately I can't definitely say. Sorry.
This is my devices list:
LibreELEC:~ # ls /dev/input/*
/dev/input/event0 /dev/input/event2 /dev/input/event4
/dev/input/event1 /dev/input/event3
/dev/input/by-id:
usb-0810_usb_gamepad-event-joystick
usb-Apple__Inc_Apple_Keyboard-event-if01
usb-Apple__Inc_Apple_Keyboard-event-kbd
/dev/input/by-path:
platform-1c1b000.usb-usb-0:1.2:1.0-event-kbd
platform-1c1b000.usb-usb-0:1.2:1.1-event
platform-1c1d400.usb-usb-0:1:1.0-event-joystick
platform-1f02000.ir-event
LibreELEC:~ # mc
In console I can get response from gamepad via simple cat /dev/input/by-id/usb-0810_usb_gamepad-event-joystick:
LibreELEC:~ # cat /dev/input/by-id/usb-0810_usb_gamepad-event-joystick
o0]7 o0]7 ! o0]7 o0]Tp o0]Tp ! o0]Tp ^C
I googled on this subject and maybe it is joydev module we are looking for?
LibreELEC:~ # modprobe usbhid
LibreELEC:~ # modprobe joydev
modprobe: FATAL: Module joydev not found in directory /lib/modules/5.2.0
You need to get USB working, and then modprobe your joystick driver, which is usbhid
, as well as joydev
. If you use a usb mouse or keyboard, usbhid
will be loaded already and you just have to load the joydev
module.
I'm far from an expert in the Linux kernel, sorry again.
I have tried latest build LibreELEC-H3.arm-9.80-nightly-20190718-0b82779-orangepi-pc.img for OPI PC, seems not working USB gamepad.
Tested with SNES gamepad. Can not assign any button.
Yes , system reported as Linux 5.2.0, so new kernel.
Well, i have a same trouble. Sega, nes and ps1-ps2 usb gamepads not working. I wan't use ROPi's images, like this Libreelec.
ps I have Raspberry 2 and same version Kodi and usb gamepads work by default.
Do you have any luck with latest build?
Heads up - next images with have a bunch of wifi and HID drivers enabled, including game pads.
Awesome. Linux 5.2? Tempted to see it. Thank you!
Hello,
I want to say thank you for such great work you do!
Just tested last build - LibreELEC-H3.arm-9.80-nightly-20190706-503da76-orangepi_pc with my OPI PC and everything work fine except usb gamepads. None of my snes, nes or sega usb gamepads recognized in Kodi. I added appropriate profiles but this not helped. When I get in Controller Configuration and select some profile and press buttons, nothing happens. The only buttons it reacts to is keyboard plugged to usb port. Can this issue be fixed somehow? Thank you!
LibreELEC:~ # lsusb
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 003: ID 05ac:0221 Apple, Inc. Aluminum Keyboard (ISO)
Bus 005 Device 002: ID 05ac:1006 Apple, Inc. Hub in Aluminum Keyboard
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 148f:7601 Ralink Technology, Corp. MT7601U Wireless Adapter
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 002: ID 0810:e501 Personal Communication Systems, Inc. SNES Gamepad
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 009 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
LibreELEC:~ #dmesg
[ 1.679316] usb 8-1: new low-speed USB device number 2 using ohci-platform
[ 1.879328] usb 3-1.2: new low-speed USB device number 3 using ehci-platform
[ 1.958315] usb 8-1: New USB device found, idVendor=0810, idProduct=e501, bcdDevice= 1.06
[ 1.958327] usb 8-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 1.958334] usb 8-1: Product: usb gamepad
[ 1.967345] input: usb gamepad as /devices/platform/soc/1c1d400.usb/usb8/8-1/8-1:1.0/0003:0810:E501.0001/input/input1
[ 1.967573] hid-generic 0003:0810:E501.0001: input: USB HID v1.10 Joystick [usb gamepad ] on usb-1c1d400.usb-1/input0
Display More