no controllers found after update
-
@nik2208 said in no controllers found after update:
I found that hint here in the forum, just wanted to see what would have happened
Which hint are you referring to ?
even if I can find the gamepads (all of them working) in raspbian (evtest, cat, whatever) emulationstation does not find them, so in configure input whatever I press in the gamepad I get "NO GAMEPAD FOUND" (is that the message..?)
Please provide some info then about your setup (as detailed in https://retropie.org.uk/forum/topic/3/read-this-first), including what kind of controllers are you using. Did you have to install any driver to make them work ?
EDIT: Start EmulationStation with
emulationstation --debug
and provide the debug log with the controller not being detected. Use pastebin.com for the log file.
-
Which hint are you referring to ?
to run the configuration script manually
Please provide some info then about your setup (as detailed in https://retropie.org.uk/forum/topic/3/read-this-first), including what kind of controllers are you using. Did you have to install any driver to make them work ?
I didnt put it as a list but is all in the first post
RPi4 8gb
power supply is over 3A (but it doesnt affect the problem because the gamepad were working)
retropie 4.8.7
installed via install script (not pre made sd)
controller used: SNES controller, switch pro controller (BT), Wii controller (BT), XBOX 360 controller
(all of them where working perfectly) -
Start EmulationStation with
emulationstation --debug
and provide the debug log with the controller(s) not being detected. Use pastebin.com for the log file, since it can be quite large. You can get the log from the terminal output or from
$HOME/.emulationstation/es_log.txt
.You didn't add the info about what image you used to install your system - is this a Bullseye/Buster/Bookworm RaspiOS edition ?
-
@mitu thank u very much I'll be back to you tomorrow (I'm not home right now)
-
@mitu
the image is bookworkPRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"here it is the log
https://pastebin.com/raw/GkT6ak2W -
I can see some (virtual) controllers being detected:
Jun 05 10:36:26 lvl2: Added unconfigured joystick 'Virtual Gamepad (MoltenGamepad)' (GUID: 03000bf1010000000100000001000000, instance ID: 0, device index: 0). Jun 05 10:36:26 lvl2: Added unconfigured joystick 'Virtual Gamepad (MoltenGamepad)' (GUID: 03000bf1010000000100000001000000, instance ID: 1, device index: 1). Jun 05 10:36:26 lvl2: Added unconfigured joystick 'Virtual Gamepad (MoltenGamepad)' (GUID: 03000bf1010000000100000001000000, instance ID: 2, device index: 2). Jun 05 10:36:26 lvl2: Added unconfigured joystick 'Virtual Gamepad (MoltenGamepad)' (GUID: 03000bf1010000000100000001000000, instance ID: 3, device index: 3). Jun 05 10:36:26 lvl2: Added unconfigured joystick 'Virtual Keyboard (MoltenGamepad)' (GUID: 0300e018010000000100000001000000, instance ID: 4, device index: 4)
You're running a controller remapping application (MoltenGamepad), which may disable the access to the underlying hardware/controllers. I don't think there's an issue here - can you disable MoltenGamepad from running and re-try ?
-
@mitu It was working correctly even with moltengamepad running (i used it to map my wiimotes)
Jun 05 14:11:57 lvl2: EmulationStation - v2.11.2rp, built May 25 2024 - 13:24:57 Jun 05 14:11:57 lvl2: Parsing XML file "/opt/retropie/supplementary/emulationstation/resources/mamenames.xml"... Jun 05 14:11:57 lvl2: Parsing XML file "/opt/retropie/supplementary/emulationstation/resources/mamebioses.xml"... Jun 05 14:11:57 lvl2: Parsing XML file "/opt/retropie/supplementary/emulationstation/resources/mamedevices.xml"... Jun 05 14:11:57 lvl2: Creating window... Jun 05 14:11:57 lvl2: Created window successfully. Jun 05 14:11:57 lvl2: GL vendor: Broadcom Jun 05 14:11:57 lvl2: GL renderer: V3D 4.2 Jun 05 14:11:57 lvl2: GL version: 3.1 Mesa 23.2.1-1~bpo12+rpt3 Jun 05 14:11:57 lvl2: Checking available OpenGL extensions... Jun 05 14:11:57 lvl2: ARB_texture_non_power_of_two: ok Jun 05 14:11:58 lvl2: Loading system config file /etc/emulationstation/es_systems.cfg... Jun 05 14:11:58 lvl1: System "amstradcpc" has no games! Ignoring it. Jun 05 14:11:58 lvl1: System "arcade" has no games! Ignoring it. Jun 05 14:11:58 lvl1: System "atari2600" has no games! Ignoring it. Jun 05 14:11:58 lvl1: System "atari5200" has no games! Ignoring it. Jun 05 14:11:58 lvl1: System "atari7800" has no games! Ignoring it. Jun 05 14:11:58 lvl1: System "atari800" has no games! Ignoring it. Jun 05 14:11:58 lvl1: System "atarilynx" has no games! Ignoring it. Jun 05 14:11:58 lvl1: System "channelf" has no games! Ignoring it. Jun 05 14:11:58 lvl1: System "coleco" has no games! Ignoring it. Jun 05 14:11:58 lvl1: System "fba" has no games! Ignoring it. Jun 05 14:11:58 lvl1: System "fds" has no games! Ignoring it. Jun 05 14:11:58 lvl1: System "gamegear" has no games! Ignoring it. Jun 05 14:11:58 lvl1: System "gb" has no games! Ignoring it. Jun 05 14:11:58 lvl1: System "gba" has no games! Ignoring it. Jun 05 14:11:58 lvl1: System "gbc" has no games! Ignoring it. Jun 05 14:11:59 lvl1: System "mastersystem" has no games! Ignoring it. Jun 05 14:11:59 lvl1: System "megadrive" has no games! Ignoring it. Jun 05 14:11:59 lvl1: System "msx" has no games! Ignoring it. Jun 05 14:11:59 lvl1: System "ngp" has no games! Ignoring it. Jun 05 14:11:59 lvl1: System "ngpc" has no games! Ignoring it. Jun 05 14:11:59 lvl1: System "pcengine" has no games! Ignoring it. Jun 05 14:11:59 lvl2: Parsing XML file "/home/nicola/.emulationstation/gamelists/retropie/gamelist.xml"... Jun 05 14:11:59 lvl1: System "sega32x" has no games! Ignoring it. Jun 05 14:11:59 lvl1: System "segacd" has no games! Ignoring it. Jun 05 14:11:59 lvl1: System "sg-1000" has no games! Ignoring it. Jun 05 14:11:59 lvl1: System "vectrex" has no games! Ignoring it. Jun 05 14:11:59 lvl1: System "zxspectrum" has no games! Ignoring it. Jun 05 14:12:00 lvl3: SystemView::getViewElements() Jun 05 14:12:00 lvl3: fireEvent: system-select mame-libretro gotostart Jun 05 14:12:02 lvl3: UIModeController::logInput( Keyboard ):Key Left, isMappedTo= left, , value=1 Jun 05 14:12:02 lvl3: UIModeController::logInput( Keyboard ):Key Left, isMappedTo= left, , value=0 Jun 05 14:12:02 lvl3: fireEvent: system-select snes input Jun 05 14:12:03 lvl3: UIModeController::logInput( Keyboard ):Key Left, isMappedTo= left, , value=1 Jun 05 14:12:03 lvl3: UIModeController::logInput( Keyboard ):Key Left, isMappedTo= left, , value=0 Jun 05 14:12:03 lvl3: fireEvent: system-select retropie input Jun 05 14:12:32 lvl3: fireEvent: quit Jun 05 14:12:32 lvl2: EmulationStation cleanly shutting down.
this is the dmesg output:
[12958.224839] usb 1-1.3.2: new full-speed USB device number 6 using xhci_hcd [12958.359606] usb 1-1.3.2: New USB device found, idVendor=045e, idProduct=028e, bcdDevice= 1.14 [12958.359636] usb 1-1.3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [12958.359644] usb 1-1.3.2: Product: Controller [12958.359651] usb 1-1.3.2: Manufacturer: ©Microsoft Corporation [12958.359658] usb 1-1.3.2: SerialNumber: 1638D3A [12958.484392] input: Microsoft X-Box 360 pad as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3.2/1-1.3.2:1.0/input/input21 [12958.485803] usbcore: registered new interface driver xpad
-
@nik2208
dmesg
shows that only a XBox 360 controller is detected, it doesn't show any Switch Pro or SNES controller. Is the controller working when tested withjstest
?EmulationStation doesn't detect it at all, so it could be a driver issue (if
jstest
doesn't work at all) or a permission problem. Are you running from a desktop session or from the console ? -
@mitu yes I mentiioned I was able to use all of those controllers, now not to make things too complicated I've attached only the 360 controller.
The controller is absolutely working
nicola@raspberrypi:~ $ sudo jstest /dev/input/js0 Driver version is 2.1.0. Joystick (Microsoft X-Box 360 pad) has 8 axes (X, Y, Z, Rx, Ry, Rz, Hat0X, Hat0Y) and 11 buttons (BtnA, BtnB, BtnX, BtnY, BtnTL, BtnTR, BtnSelect, BtnStart, BtnMode, BtnThumbL, BtnThumbR). Testing ... (interrupt to exit) Axes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:offAxes: 0: 0 1: -1168 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:offAxes: 0: 0 1: -1168 2:-32767 3: 0 4: 0 5: 0 6: 0 7: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:offAxes: 0: 0 1: -1168 2:-32767 3: -763 4: 0 5: 0 6: 0 7: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:offAxes: 0: 0 1: -1168 2:-32767 3: -763 4: 3251 5: 0 6: 0 7: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:offAxes: 0: 0 1: -1168 2:-32767 3: -763 4: 3251 5:-32767 6: 0 7: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:offAxes: 0: 0 1: -1168 2:-32767 3: -763 4: 3251 5:-32767 6: 0 7: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:offAxes: 0: 0 1: -1168 2:-32767 3: -763 4: 3251 5:-32767 6: 0 7: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off
@mitu said in no controllers found after update:
Are you running from a desktop session or from the console ?
I run emulationstation from a console, on a desktop session
-
@nik2208 said in no controllers found after update:
nicola@raspberrypi:~ $ sudo jstest /dev/input/js0
Why are you using
sudo
? EmulationStation is not running asroot
and your user (nicola
) should be able to read the input devices in order for emulators and EmulationStation to work. Can you confirm thatjstest
works withoutsudo
?I run emulationstation from a console, on a desktop session
Not a configuration we support though. Can you start EmulationStation with the desktop stopped, from a text console ?
-
Not a configuration we support though.
what's strange is that it has always worked until I've updated it, without needing to add my user to input groups or whatever
Can you start EmulationStation with the desktop stopped, from a text console ?
You mean stopping X server and running emulationstation right?
Another question.
Ive tried to uninstall and reinstall but the problem persisted.
Is there a config file being left on the host taken into account by the installation process?
What should I do to install retropie as if it was the first time?thank u, really appreciating your help
-
@nik2208 said in no controllers found after update:
what's strange is that it has always worked until I've updated it, without needing to add my user to input groups or whatever
I didn't say you need to add your user to the
input
group. I understand that 'it worked before' . I'm sure that's not a RetroPIe update that's causing this, but some other (possibly unrelated) RaspiOS update or configuration that was working previously but it's not working anymore.You mean stopping X server and running emulationstation right?
Yes.
Another question.
Ive tried to uninstall and reinstall but the problem persisted.Yes, I know, you've said that at the beginning.
Is there a config file being left on the host taken into account by the installation process?
Not that I know of. Uninstallation will remove the
/opt/retropie/config
folder, which should contain all the configuration for EmulationStation/RetroArch.What should I do to install retropie as if it was the first time?
What do you mean ? Re-installing the entire RaspiOS or .. ?
-
@mitu on console it behaves exactly the same
-
@nik2208 said in no controllers found after update:
on console it behaves exactly the same
How about
jstest
? Does it work withoutsudo
? -
@mitu trying to. How is SDL involved in gamepad recognition process? can any conflict on sdl cause gamepads not to be recognized?
-
@mitu actually a new udev rule to access inputs devices as user has solved the issue.
Can't imagine what process could have changed such setting to make it suddenly stop working -
@nik2208 said in no controllers found after update:
@mitu actually a new udev rule to access inputs devices as user has solved the issue.
Which rule ? Can you be more specific ? I'd like to understand how is related to a RetroPie/RaspiOS upgrade.
-
@mitu said in no controllers found after update:
Which rule ?
nicola@raspberrypi:~ $ ls -la /etc/udev/rules.d/ totale 24 drwxr-xr-x 2 root root 4096 5 giu 17.59 . drwxr-xr-x 4 root root 4096 25 mar 11.42 .. -rw-r--r-- 1 root root 2095 15 mag 17.55 72-moltengamepad.rules -rw-r--r-- 1 root root 1743 13 nov 2023 99-com.rules -rw-r--r-- 1 root root 47 5 giu 17.56 99-gamepad.rules -rw-r--r-- 1 root root 47 9 mag 21.34 99-input.rules
99-gamepad.rules
is the rule I've added.99-input.rules
isSUBSYSTEM=="input", GROUP="input", MODE="0660"
but actually seems not to do the job.
The new rule is
99-gamepad.rules
KERNEL=="js[0-9]*", MODE="0660", GROUP="input"
-
@nik2208 said in no controllers found after update:
99-gamepad.rules is the rule I've added.
Hm, I have only
99-input.rules
and I have no issue with acces. In addition to that,/dev/input/jsX
devices are not used by EmulationStatoin and SDL, the/dev/input/eventX
inodes are used. -
@mitu also
evtest
started back working without sudo, before adding this new rule,evtest
showed me the controller only in superuser mode
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.