• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

No game pad detected, no js0, js1, js2, js3

Scheduled Pinned Locked Moved Help and Support
gamepad configjoystick issue
22 Posts 4 Posters 4.4k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A
    alphaquail
    last edited by 28 Nov 2021, 09:13

    Hi

    I can not for the life of me understand why my gamepads are not being detected not only by aretropie but the Pi it's self when I run the joystick command. Wireless keyboard works right out the gate but my USB wired gamepad nor my Bluetooth Xbox style controller are read by the USB ports

    Any ideas

    Thanks

    B 1 Reply Last reply 28 Nov 2021, 11:35 Reply Quote 0
    • B
      BuZz administrators @alphaquail
      last edited by 28 Nov 2021, 11:35

      @alphaquail Which RPI? Which controllers? Are you using a hub? Which PSU? Please provide more details

      Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

      To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

      1 Reply Last reply Reply Quote 0
      • A
        alphaquail
        last edited by 10 Dec 2021, 15:17

        Hi BuZz

        Apologies

        Pi Model or other hardware: RP4
        Power Supply used: (If using a Pi) Official USB C, DC 5.1V 3A
        RetroPie Version Used (eg 3.6, 3.8.1, 4.1 - do not write latest): v4.7.1
        Built From: (Pre made SD Image on RetroPie website, Berryboot, or on top of existing OS etc.. - please provide the filename of any image used) Retro Pie Website link https://github.com/RetroPie/RetroPie-Setup/releases/download/4.7.1/retropie-buster-4.7.1-rpi4_400.img.gz
        USB Devices connected: Wireless USB keyboard and mouse (single dongle)
        Controller used: CHeap USB Meagdrive style https://www.amazon.co.uk/gp/product/B07PZ8F7F6/ref=ppx_yo_dt_b_asin_title_o06_s00?ie=UTF8&psc=1
        Error messages received: No Game Pad detected on boot
        Verbose log (if relevant): ???
        Guide used: (Mention if you followed a guide) YouTube
        File: (File with issue - with FULL path) NA
        Emulator: (Name of emulator - if applicable) None as yet
        Attachment of config files: (PLEASE USE PASTEBIN.COM FOR LARGE LOGS) Not sure how to get these I'm new to this
        How to replicate the problem: download the image file and boot up the pi with USBs plugged in

        S B 2 Replies Last reply 10 Dec 2021, 22:39 Reply Quote 0
        • S
          sleve_mcdichael @alphaquail
          last edited by 10 Dec 2021, 22:39

          Guide used: (Mention if you followed a guide) YouTube

          That's a great way to find information that was relevant a year ago. Technically you "should" only use the official docs but the controller config is pretty basic stuff. As you said, just boot up with the controller plugged in.

          If that's not working, have you made sure the controller itself works, i.e. on a PC?

          A 1 Reply Last reply 14 Dec 2021, 15:45 Reply Quote 0
          • A
            alphaquail @sleve_mcdichael
            last edited by 14 Dec 2021, 15:45

            @sleve_mcdichael

            Ok. I feel like it should be basic stuff but I'm falling at the first hurdle with this

            I can say the pad works on a PC. I also have an xbox style Bluetooth controller (again works on pc) but this doesn't work on the Pi

            1 Reply Last reply Reply Quote 0
            • B
              BuZz administrators @alphaquail
              last edited by BuZz 14 Dec 2021, 17:34

              @alphaquail Please can you boot without the controllers connected. Then once booted drop to a command prompt (F4) or SSH in (see docs). Connect a controller, then write in the terminal dmesg >~/dmesg.txt - this should create a file dmesg.txt in /home/pi which you can copy off with SFTP/SCP. Please post the file here via a pastebin site.

              (If using SSH you could also just write dmesg on its own then copy the last lines off the terminal)

              Do you have a manual for the controller - maybe it has different modes of operation you can switch between?

              To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

              A 1 Reply Last reply 19 Dec 2021, 07:27 Reply Quote 0
              • A
                alphaquail @BuZz
                last edited by 19 Dec 2021, 07:27

                @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...

                A 1 Reply Last reply 19 Dec 2021, 08:14 Reply Quote 0
                • A
                  alphaquail @alphaquail
                  last edited by alphaquail 19 Dec 2021, 08:14

                  dmesg.txt

                  1 Reply Last reply Reply Quote 0
                  • M
                    mitu Global Moderator
                    last edited by 20 Dec 2021, 12:11

                    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.

                    A 1 Reply Last reply 20 Dec 2021, 16:39 Reply Quote 0
                    • A
                      alphaquail @mitu
                      last edited by 20 Dec 2021, 16:39

                      @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

                      M 1 Reply Last reply 20 Dec 2021, 16:44 Reply Quote 0
                      • M
                        mitu Global Moderator @alphaquail
                        last edited by mitu 20 Dec 2021, 16:44

                        @alphaquail dmesg shows the messages since boot, so if you're running it again (without rebooting) you'll see again the keyboard messages.
                        Run dmesg -w from the command line and plug in the controller - it should show only the current system logs. You can terminate the dmesg command with Ctrl + C.

                        A 1 Reply Last reply 20 Dec 2021, 21:17 Reply Quote 0
                        • A
                          alphaquail @mitu
                          last edited by 20 Dec 2021, 21:17

                          @mitu - This is what I get for dmesg -w. I can;'t see the controller in the command line output?

                          1 Reply Last reply Reply Quote 0
                          • M
                            mitu Global Moderator
                            last edited by 21 Dec 2021, 05:18

                            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.

                            A 1 Reply Last reply 22 Dec 2021, 21:08 Reply Quote 0
                            • A
                              alphaquail @mitu
                              last edited by alphaquail 22 Dec 2021, 21:08

                              @mitu ok so probbly a cheap controller. I'll look at another. Meanwhile I have ran dmesg with the wireless Bluetooth controller plugged in. Looks to be recognising it although running the jstest command I dont get anything. See pastebin here

                              1 Reply Last reply Reply Quote 0
                              • M
                                mitu Global Moderator
                                last edited by 23 Dec 2021, 05:38

                                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 ?

                                A 1 Reply Last reply 23 Dec 2021, 14:03 Reply Quote 0
                                • A
                                  alphaquail @mitu
                                  last edited by 23 Dec 2021, 14:03

                                  @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.

                                  M 1 Reply Last reply 23 Dec 2021, 19:47 Reply Quote 0
                                  • M
                                    mitu Global Moderator @alphaquail
                                    last edited by 23 Dec 2021, 19:47

                                    @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.
                                    A 1 Reply Last reply 27 Dec 2021, 20:26 Reply Quote 0
                                    • A
                                      alphaquail @mitu
                                      last edited by 27 Dec 2021, 20:26

                                      @mitu ok So I tried the above and still no joy. Something is recognised when I go with the wireless controller running dmesg and dmesg -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).

                                      A 1 Reply Last reply 28 Dec 2021, 10:40 Reply Quote 0
                                      • A
                                        alphaquail @alphaquail
                                        last edited by 28 Dec 2021, 10:40

                                        This post on Reddit might have something to do with joystick configuration?

                                        M 1 Reply Last reply 28 Dec 2021, 10:57 Reply Quote 0
                                        • M
                                          mitu Global Moderator @alphaquail
                                          last edited by 28 Dec 2021, 10:57

                                          @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).

                                          A 2 Replies Last reply 28 Dec 2021, 12:05 Reply Quote 0
                                          • First post
                                            Last post

                                          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.

                                            [[user:consent.lead]]
                                            [[user:consent.not_received]]