No game pad detected, no js0, js1, js2, js3
-
@buzz so I ran dmesg and it has created a file but I'll need to work out how to move it from the Pi to my PC. My command line knowledge is close to zero currently. This may take a while but I'm getting there...
-
-
The log file is ok, but it doesn't show any devices except the Telink Wireless Receiver, which keeps disconnecting and re-connecting over and over:
[ 2760.616988] usb 1-1.1: new full-speed USB device number 5 using xhci_hcd [ 2760.757016] usb 1-1.1: New USB device found, idVendor=248a, idProduct=8367, bcdDevice= 1.00 [ 2760.757036] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 2760.757053] usb 1-1.1: Product: Wireless Receiver [ 2760.757069] usb 1-1.1: Manufacturer: Telink ... [ 2800.973031] usb 1-1.1: USB disconnect, device number 5 .. [ 3012.909866] usb 1-1.1: new full-speed USB device number 6 using xhci_hcd [ 3091.670661] usb 1-1.1: USB disconnect, device number 6 ... # etc
Remove the wireless dongle for the keyboard/mouse and try again to connect the gamepad(s), see if they get detected.
-
@mitu gamepad still not connected with a wired keyboard and when no keyboard is attached
Similar usb output in command line explaining a USB keyboard being attached when I run dmesg
-
@alphaquail
dmesg
shows the messages since boot, so if you're running it again (without rebooting) you'll see again the keyboard messages.
Rundmesg -w
from the command line and plug in the controller - it should show only the current system logs. You can terminate thedmesg
command withCtrl + C
. -
-
The controller doesn't seem to be detected at all, it's just the keyboard that shows up in the logs. Looks like it's not working with the Pi at all, there's no message in the log except for the USB keyboard.
Not sure what could be done in this case, get another controller or try pairing the Xbox controller via Bluetooth. -
-
I see another disconnect after the gampad is plugged in. Does the log shows continuously connects/disconnects or the gamepad stays connected ?
First connection recognises the device as an input device, but the 2nd one doesn't.I'm wondering if there's something wrong with the USB on the Pi - is your TV a 4k model ? Can you try lowering the resolution to 1080p (see here how) and retry ?
-
@mitu it's an old Samsung TV it won't go to 4k. I can't believe how difficult it is to set up a controller. I'll try an approved wired controller I know people have had some success with, if not I'll give up on this and make another NAS. That I can do. thanks for all you're help it's really appreciated.
-
@alphaquail said in No game pad detected, no js0, js1, js2, js3:
I can't believe how difficult it is to set up a controller.
It's usually not that difficult, the most issues we have reported are from wireless (Bluetooth) controllers. What you could try:
- update your system, including kernel/firmware/packages. Use the update function from RetroPie-Setup.
- try connecting the gamepad to the USB2 ports, not the USB3 ones.
- last resort: if the PI is in a case, take it out and try without the case.
-
@mitu ok So I tried the above and still no joy. Something is recognised when I go with the wireless controller running
dmesg
anddmesg -w
as you said but it's not connecting fully. Nor can I detect the device through js0 as per my original post title. I've taken it out of the case too.I have another Raspberry Pi 4 and have tried the controller detection on that. Different board, different OS (Raspberry OS) and still no joy on the XBox style controller. I get an odd message when running
jstest /dev/input/event0
in the command line (not js0 as no file found, going into the file directory only files in this folder are event0,1,2,3), which says 'jstest is not full compatible with your kernel' unable to retrieve button map'.I have ordered a wire, Retro Pie compatible controller from Amazon. if that doesnt work I'm putting it down to me doing something wrong or both Pi's are broken (despite being brand new).
-
This post on Reddit might have something to do with joystick configuration?
-
@alphaquail yes, it does, but how is this related to your issue ? You say your controllers are not detected at all, the post in question talks about calibrating the controllers, after they've been detected and configured by the OS (Linux).
-
@mitu I dunno I'm very new at this I thought I failed to install something related to joystick detection (one of the tools in that post). The fact that neither Pi I own detects neither controller I have is odd. Has to be a controller compatibility issue surely then. I've ordered this Raspberry Pi compatible controller on Amazon. Fingers crossed this works.
-
@mitu thanks for all you help and tuition on command line earlier. FYI the recently purchased Retoflag Controller IS detected by Retopie and it allows me to set this up. Two buttons aren't being detected in the configuration but are in
jstest
so one for me to delve into but think I have half a clue what I'm doing now thanks to you.Morale of the story here is make sure you purchase a recognised, compatible gamepad first....
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.