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

    Joysticks not detected after upde

    Scheduled Pinned Locked Moved Help and Support
    joystickjoystick issuenot detected
    11 Posts 2 Posters 675 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
      alberos1
      last edited by alberos1

      Hello,

      first of all, my system information:
      Pi Model or other hardware: Raspberry Pi 2 Model B Rev 1.1
      Power Supply used: (If using a Pi): USB TV port
      RetroPie Version Used : Linux retropie 5.4.73-v7+ 
      Built From: Unknow
      USB Devices connected: DELL USB Keyboard
      Controller used: Not detected
      Error messages received: No errors
      Emulator: Emulationstation

      I have borrowed an obsolete PI to update it with 2 joysticks and 6 action button cabinet as the next image shows:
      b5f90b79-21a3-42d0-b43e-a3c1f30fe9a4-image.png

      At least the joystick 1 and its action buttons worked well because I was able to test them but now, after updating they doesn't work. They are not detected by the PI. Neither in Emulationstation's input configuration, nor in retroarch, nor jstest...
      I don't know if I must reinstall some drivers for it due to the new version of the OS.

      Can someone help me with this or give me some idea of what to try?

      Thank you very much

      mituM 1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator @alberos1
        last edited by

        Try powering the PI with a better power source than the USB port on the TV.

        A 1 Reply Last reply Reply Quote 0
        • A
          alberos1 @mitu
          last edited by

          thanks for your replay, @mitu

          I tried connecting directly plugging into the power supply and same result.

          To add more information:

          • When I do a jstest test I don't have response but I have this:
            Driver version is 2.1.0.
            Joystick (SNES-to-Gamepad Device) has 2 axes (X, Y)
            and 8 buttons (BtnX, BtnY, BtnTL, BtnTR, BtnTR2, BtnSelect, BtnThumbL, BtnThumbR).
            Testing ... (interrupt to exit)
            Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off

          I don't know if it is correct.

          • When I press one of the buttons on the joystick (one in particular)I get this:
            [361.201521] sysrq: HELP: loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) debug(b) kill-all-tasks(i) thaw-filesystem(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n)poweroff(o) show-registers(p)imers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) dump-ftrace-buffer(z)
          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @alberos1
            last edited by

            This shows a SNES type device and a keyboard. The funny key is probably triggers a SysRq, hence the messages.
            If the SNES gamepad is detected by jstest, you should be able to map it in EmulationStation - doesn't it work ?

            A 1 Reply Last reply Reply Quote 0
            • A
              alberos1 @mitu
              last edited by

              @mitu The problem is... I don't any SNES control! I just have the keyboard and the joysticks showed in the image.
              Where jstest read that configuration?

              mituM 1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator @alberos1
                last edited by

                The controller you have may be emulating a keyboard + SNES controller, it's not so un-common. What kind of controller it is ?

                A 1 Reply Last reply Reply Quote 0
                • A
                  alberos1 @mitu
                  last edited by alberos1

                  @mitu said in Joysticks not detected after upde:

                  What kind of controller it is ?

                  Sorry, but I don't know. I have removed "snesdev" package from retropi-setup menu and jstest test stopped showing the previous info. Now there is no info in /dev/input/js0

                  I'm trying to install mk_arcade_joystick_rpi but I'm having a lot of errors...
                  I am totally lost

                  mituM 1 Reply Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator @alberos1
                    last edited by

                    @alberos1 said in Joysticks not detected after upde:

                    Sorry, but I don't know.

                    How is it connected to the PI ? If it's USB, it shouldn't need any driver. Can you run

                    cat /proc/bus/input/devices
                    

                    and post the output ?

                    I have removed "snesdev" package from retropi-setup menu and jstest test stopped showing the previous info. Now there is no info in /dev/input/js0

                    I'm trying to install mk_arcade_joystick_rpi but I'm having a lot of errors...

                    Both these drivers are for GPIO based controllers, where each input is connected to a GPIO pin, I don't think they are suited for your controller board.

                    A 1 Reply Last reply Reply Quote 0
                    • A
                      alberos1 @mitu
                      last edited by alberos1

                      @mitu said in Joysticks not detected after upde:

                      cat /proc/bus/input/devices

                      On USB port I just have the keyboard plugged:

                      pi@retropie ~ $ sudo cat /proc/bus/input/devices
                      I: Bus=0003 Vendor=413c Product=2010 Version=0110
                      N: Name="Dell Dell USB Keyboard"
                      P: Phys=usb-3f980000.usb-1.5.1/input0
                      S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5.1/1-1.5.1:1.0/0003:413C:2010.0001/input/input0
                      U: Uniq=
                      H: Handlers=sysrq kbd leds event0
                      B: PROP=0
                      B: EV=120013
                      B: KEY=10000 7 ff9f207a c14057ff febeffdf ffefffff ffffffff fffffffe
                      B: MSC=10
                      B: LED=1f
                      
                      I: Bus=0003 Vendor=413c Product=2010 Version=0110
                      N: Name="Dell Dell USB Keyboard Consumer Control"
                      P: Phys=usb-3f980000.usb-1.5.1/input1
                      S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5.1/1-1.5.1:1.1/0003:413C:2010.0002/input/input1
                      U: Uniq=
                      H: Handlers=kbd event1
                      B: PROP=0
                      B: EV=1b
                      B: KEY=3878 c8011001 e0000 0 0 0
                      B: ABS=1 0
                      B: MSC=10
                      
                      I: Bus=0003 Vendor=413c Product=2010 Version=0110
                      N: Name="Dell Dell USB Keyboard System Control"
                      P: Phys=usb-3f980000.usb-1.5.1/input1
                      S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5.1/1-1.5.1:1.1/0003:413C:2010.0002/input/input2
                      U: Uniq=
                      H: Handlers=kbd event2
                      B: PROP=0
                      B: EV=13
                      B: KEY=4000 0 0 0 0
                      B: MSC=10
                      
                      

                      How can I know if the joysticks can be connected to a GPIO pin? They are in a cabinet with a sdcard input. I can't see the inside.

                      Thank you very much for your help @mitu

                      I edit the post to add I made a gpios test with this result:

                      Testing...
                      Skipped non-user gpios: 0 1 28 29 30 31
                      Tested user gpios: 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27

                      What does it mean?

                      mituM 1 Reply Last reply Reply Quote 0
                      • mituM
                        mitu Global Moderator @alberos1
                        last edited by

                        Looking at the device list, it doesn't seem like the device it's using an USB encoder - it's only the keyboard that's detected.

                        How can I know if the joysticks can be connected to a GPIO pin? They are in a cabinet with a sdcard input. I can't see the inside.

                        Well, it's your device - did you purchase it with RetroPie ? Does it have a manual/support page ? You can always open it to see how the board is assembled and how the inputs are connected. If it's not USB, they could be wired to the GPIO pins.

                        Skipped non-user gpios: 0 1 28 29 30 31
                        Tested user gpios: 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27

                        What does it mean?

                        I don't know.

                        A 1 Reply Last reply Reply Quote 0
                        • A
                          alberos1 @mitu
                          last edited by

                          @mitu said in Joysticks not detected after upde:

                          it's your device - did you purchase it with RetroPie ?

                          Not really, it's not my device. My sister gave it to me because they were not using it and after updating it the joysticks stopped working.
                          I will try to reinstall mk_arcade_joystick_rpi and if not, I will have to reinstall it from 0.

                          Thanks!

                          1 Reply Last reply 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.