RetroPie detects USB controller but buttons don't work
-
@mitu Yes, both devices are plugged. One keyboard (which works on RetroPie) and the gamepad (doesn't work on anything).
-
Well, the gamepad doesn't appear as an input
USBdevice, so there's little to do to make it work. Try running from the terminal (just to debug):- unplug the gamepad
- run
sudo dmesg -c
- plug back the gamepad (make sure it's correctly plugged in)
- run
dmesg
and post the output - if any.
-
@mitu Sorry man. I unplugged the gamepad and plugged it again, now it appears on the output. I don't know why this happened, but sometimes it happens, even though I haven't touched the USB cable.
The output:
-
@nicolasludwig said in RetroPie detects USB controller but buttons don't work:
. I unplugged the gamepad and plugged it again, now it appears on the output.
OK, but still, execute the commands I posted previously - this will show which drivers are loaded when the gamepad is detected.
-
@mitu Right. I did it and this was the output:
-
Looks like the device is switching its config/identification on the run, first it looks like a PS3 clone, then it disconnects and then identifies itself as an Xbox 360 gamepad.
Try installing the PS3 drivers (one a time, see which one works) - doc pagehere - from the RetroPie-Setup script and see if the gamepad is configured and detected properly.
-
@mitu I tried both drivers (sixaxis and ps3controller), without success. Nothing happens when I try to config buttons, but still appears 1 gamepad detected.
-
Based on the provided log, the correct driver should be
xpad
, but I don't see it handling the controller, even though the Vendor/Product IDS are known to the driver.
Can you check if thexpad
driver is installed - in the drivers section of RetroPie-Setup ? -
@mitu Yes, the
xpad
is installed. I removed it and installed it again. The issue persists. -
I don't have any other ideas - I see the controller has a windows driver - maybe it needs a special driver to work, but the driver is only for Windows.
-
@mitu Yes, on Windows it works normally. Anyway, thanks for your help. I'll try to find more information all over google.
-
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.