Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Generic PS3 Controller no longer work in Recalbox 7.0.1

    GamePad/GPIO/USB encoder
    generic ps3 longer recalbox 7.0.1
    3
    12
    2601
    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.
    • HotaruSama
      HotaruSama last edited by

      Hi everyone,

      I recently upgraded my Recalbox 6.1 to 7.0.1. I have a generic PS3 controller and, although it never worked with bluetooth, It always worked perfectly using an usb cable and Recalbox recognized it as a PS3 Controller. I did a fresh install of Recalbox 7.0.1 and copied back my roms, but now, my controller is not recognized, even using usb cable. I looked at recalbox config file and the PS3 controller option is enabled. Also, I tried the three driver options (bluez, official and Shanwan), but none of them worked. Is there any additional config or file I must download to make this controller to work in 7.0.1? Thanks in advance for any help.

      HotaruSama 1 Reply Last reply Reply Quote 0
      • HotaruSama
        HotaruSama @HotaruSama last edited by

        @HotaruSama OK, so I did some tests, and I can confirm, that the problem only happens with Raspberry Pi 4. I have a Raspberry Pi 3B, and I did also a fresh install of 7.0.1 on it, and my generic PS3 controller is immediately recognized and works like a charm. So it seems there's a missing driver or config in the Pi 4 version of Recalbox. Is there any workaround for it? I can't use my Pi3 for recalbox because I need it for a project, and because of that, I bought the Pi 4 for Recalbox. I hope anyone can help me.

        Zing 1 Reply Last reply Reply Quote 0
        • Zing
          Zing Global moderator Translator @HotaruSama last edited by

          @HotaruSama It is strange to work on RPI3 and not work on RPI4, have you tried to connect a USB keyboard to RPi4 and, through the Emulationstation Menu to remap the control?

          Se a minha resposta foi útil, por favor, dê um voto positivo, clicando na seta para cima logo abaixo da resposta, ao lado de "citar".
          If my answer was helpful, please give a positive feedback by clicking the up arrow below the answer, next to "quote".

          HotaruSama 2 Replies Last reply Reply Quote 0
          • HotaruSama
            HotaruSama @Zing last edited by

            @Zing Hi. I've connected a keyboard and the gamepad thorugh usb ports to the RPi4, and went to "Controller Settings" in the UI. There I chose the "Configure a Controller" option, but "no gamepad detected" message is shown. Is really weird because RPi3 detects it automatically and it works.

            1 Reply Last reply Reply Quote 0
            • HotaruSama
              HotaruSama @Zing last edited by

              @Zing I did another test. I went to another PC, then I've downloaded Recalbox 7.0.1 for RPi4 again, and I've installed Etcher. Flashed the image again in another microSD I had in my stuff, and put it in the RPi4. It didn't work. I've tried the three drivers included: bluez, Official and Shanwan with no luck.

              Zing 1 Reply Last reply Reply Quote 0
              • Zing
                Zing Global moderator Translator @HotaruSama last edited by

                @HotaruSama Okay, really from what you are describing the problem seems to be the lack of drivers, but, it is really unlikely that any control driver has been removed from the RPi4 image.
                Let's try to rule out all other possibilities first:

                • Are you using the latest official version downloaded directly from the Recalbox website?
                • Did you test with a TOTALLY clean and unmodified installation, before copying your stuff? If not, can you test? We have to rule out the possibility of a configuration conflict, which can happen if you use a configuration file from an earlier version that is incompatible.

                Se a minha resposta foi útil, por favor, dê um voto positivo, clicando na seta para cima logo abaixo da resposta, ao lado de "citar".
                If my answer was helpful, please give a positive feedback by clicking the up arrow below the answer, next to "quote".

                HotaruSama 1 Reply Last reply Reply Quote 0
                • HotaruSama
                  HotaruSama @Zing last edited by HotaruSama

                  @Zing HI Zing. I did the following tests:

                  On the RPi4:

                  • Downloaded Recalbox 7.0.1 from the official site for RPi4

                  • Flashed image to micro SD card.

                  • I've put the micro SD card on the RPi4 without any change or addition (roms, etc.)

                  • Turned on RPi4 and let it load.

                  • I've connected the PS3 gamepad with an USB cable, but it wasn't recognized.

                  • I've connected a generic cheap PC gamepad I got just to test, and It was recognized, so I went to gamepad settings to try to add PS3 gamepad manually with no luck. It only shows 1 gamepad detected. (The cheap one)

                  On the RPi3:

                  • Downloaded Recalbox 7.0.1 for RPi3 from official site and I did all the same steps (flashing, and inserting to the RPi3 without any change or addition)

                  • I've connected the PS3 gamepad with the USB cable, and then, a notification in the top right corner appears telling me that the gamepad was autoconfigured successfully , and I used it without any issue. I've connected also the cheap PC gamepad, and it was recognized as well, so when I go to gamepad settings, it shows "2 gamepads detected".

                  Zing 1 Reply Last reply Reply Quote 0
                  • Zing
                    Zing Global moderator Translator @HotaruSama last edited by

                    @HotaruSama can you connect with SSH and give us the result of this command :
                    sdl2-jstest --list

                    Se a minha resposta foi útil, por favor, dê um voto positivo, clicando na seta para cima logo abaixo da resposta, ao lado de "citar".
                    If my answer was helpful, please give a positive feedback by clicking the up arrow below the answer, next to "quote".

                    HotaruSama 1 Reply Last reply Reply Quote 0
                    • HotaruSama
                      HotaruSama @Zing last edited by HotaruSama

                      @Zing Hi, I did the test in the two devices RPi4 and RPi3 with the two controllers connected, the generic one and PS3 controller.

                      The output of the command in RPi4 is the following:

                      # sdl2-jstest --list
                      error: failed to read gamecontrollerdb.txt: Invalid RWops
                      Found 1 joystick(s)
                      
                      Joystick Name:     'DragonRise Inc.   Generic   USB  Joystick  '
                      Joystick Path:     '/dev/input/event0'
                      Joystick GUID:     03000000790000000600000010010000
                      Joystick Number:    0
                      Number of Axes:     5
                      Number of Buttons: 12
                      Number of Hats:     1
                      Number of B***s:    0
                      GameControllerConfig:
                        Name:    'DragonRise Inc. Generic USB Joystick'
                        Mapping: '03000000790000000600000010010000,DragonRise Inc. Generic USB Joystick,a:b2,b:b1,back:b8,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,leftshoulder:b4,leftstick:b10,lefttrigger:b6,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b11,righttrigger:b7,rightx:a3,righty:a4,start:b9,x:b3,y:b0,'
                      Axis code  0:    0
                      Axis code  1:    1
                      Axis code  2:    2
                      Axis code  3:    3
                      Axis code  4:    5
                      Button code  0:   288
                      Button code  1:   289
                      Button code  2:   290
                      Button code  3:   291
                      Button code  4:   292
                      Button code  5:   293
                      Button code  6:   294
                      Button code  7:   295
                      Button code  8:   296
                      Button code  9:   297
                      Button code 10:   298
                      Button code 11:   299
                      Hat code  0:   16
                      
                      

                      When I did the same test on RPi3, the output was the Following:

                      # sdl2-jstest --list
                      error: failed to read gamecontrollerdb.txt: Invalid RWops
                      Found 2 joystick(s)
                      
                      Joystick Name:     'PS3 Controller'
                      Joystick Path:     '/dev/input/event2'
                      Joystick GUID:     030000004c0500006802000011810000
                      Joystick Number:    0
                      Number of Axes:     6
                      Number of Buttons: 17
                      Number of Hats:     0
                      Number of B***s:    0
                      GameControllerConfig:
                        Name:    'PS3 Controller'
                        Mapping: '030000004c0500006802000011810000,PS3 Controller,a:b0,b:b1,back:b8,dpdown:b14,dpleft:b15,dpright:b16,dpup:b13,guide:b10,leftshoulder:b4,leftstick:b11,lefttrigger:a2,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b12,righttrigger:a5,rightx:a3,righty:a4,start:b9,x:b3,y:b2,'
                      Axis code  0:    0
                      Axis code  1:    1
                      Axis code  2:    2
                      Axis code  3:    3
                      Axis code  4:    4
                      Axis code  5:    5
                      Button code  0:   304
                      Button code  1:   305
                      Button code  2:   307
                      Button code  3:   308
                      Button code  4:   310
                      Button code  5:   311
                      Button code  6:   312
                      Button code  7:   313
                      Button code  8:   314
                      Button code  9:   315
                      Button code 10:   316
                      Button code 11:   317
                      Button code 12:   318
                      Button code 13:   544
                      Button code 14:   545
                      Button code 15:   546
                      Button code 16:   547
                      
                      Joystick Name:     'DragonRise Inc.   Generic   USB  Joystick  '
                      Joystick Path:     '/dev/input/event1'
                      Joystick GUID:     03000000790000000600000010010000
                      Joystick Number:    1
                      Number of Axes:     5
                      Number of Buttons: 12
                      Number of Hats:     1
                      Number of B***s:    0
                      GameControllerConfig:
                        Name:    'DragonRise Inc. Generic USB Joystick'
                        Mapping: '03000000790000000600000010010000,DragonRise Inc. Generic USB Joystick,a:b2,b:b1,back:b8,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,leftshoulder:b4,leftstick:b10,lefttrigger:b6,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b11,righttrigger:b7,rightx:a3,righty:a4,start:b9,x:b3,y:b0,'
                      Axis code  0:    0
                      Axis code  1:    1
                      Axis code  2:    2
                      Axis code  3:    3
                      Axis code  4:    5
                      Button code  0:   288
                      Button code  1:   289
                      Button code  2:   290
                      Button code  3:   291
                      Button code  4:   292
                      Button code  5:   293
                      Button code  6:   294
                      Button code  7:   295
                      Button code  8:   296
                      Button code  9:   297
                      Button code 10:   298
                      Button code 11:   299
                      Hat code  0:   16
                      
                      
                      Zing 1 Reply Last reply Reply Quote 0
                      • Zing
                        Zing Global moderator Translator @HotaruSama last edited by

                        @HotaruSama Okay, unfortunately I can't help you more than that, I recommend that you open an isse on Gitlab (on this link: https://gitlab.com/recalbox/recalbox/-/issues), describe your problem as you did here, and add the link to this topic.

                        Se a minha resposta foi útil, por favor, dê um voto positivo, clicando na seta para cima logo abaixo da resposta, ao lado de "citar".
                        If my answer was helpful, please give a positive feedback by clicking the up arrow below the answer, next to "quote".

                        HotaruSama 1 Reply Last reply Reply Quote 0
                        • HotaruSama
                          HotaruSama @Zing last edited by

                          @Zing Thank you very much for your help. I'm going to create the issue.

                          MagNeato 1 Reply Last reply Reply Quote 0
                          • MagNeato
                            MagNeato @HotaruSama last edited by

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post

                            Want to support us ?

                            83
                            Online

                            98.7k
                            Users

                            28.1k
                            Topics

                            187.0k
                            Posts

                            Copyright © 2021 recalbox.com