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

    Almost finished home RasPi 3B, Issue with Controllers, Need fresh minds

    Scheduled Pinned Locked Moved Help and Support
    raspberrypi 3b+raspberry piretropie 4.4usb hubusb adapter
    36 Posts 5 Posters 2.6k 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.
    • T
      tjayhawk32 @mitu
      last edited by

      @mitu Thanks for the reply, I hear you on time.

      This paste is an attempt to load Sega Genesis after plugging in several controllers. In MC, many of these lines are in red, but I wasn't able to copy it over like that. Not sure if it matters, but they were almost all in the Retropad section.
      https://pastebin.com/tAnNk48h

      /opt/retropie/configs/all/retroarch.cfg is the correct file that I changed. But I don't know if 16 is what it's telling me is the max or if it's just a default setting.

      I have both powered and unpowered USB hubs here, and both 3.0 and 2.0. All have the same issue. What I tried earlier is splitting the controllers between 3 powered hubs (plugged into different ports on the pi), and got the same result.

      Here is the result of dmesg..
      https://pastebin.com/HKKeYf3e
      The article was an interesting read and now I'm curious about how much the 'full-speed' of the device matters. But I haven't sifted through this one yet...

      T mituM 2 Replies Last reply Reply Quote 0
      • T
        tjayhawk32 @tjayhawk32
        last edited by

        And I just looked up the error at the end of the crash info..

        https://retropie.org.uk/forum/topic/11221/runcommand-segmentation-fault-after-update-today/11

        I did consider going through and listing everything that was 'unset' to 'disabled'....think that might be it?

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

          @tjayhawk32 said in Almost finished home RasPi 3B, Issue with Controllers, Need fresh minds:

          This paste is an attempt to load Sega Genesis after plugging in several controllers. In MC, many of these lines are in red, but I wasn't able to copy it over like that. Not sure if it matters, but they were almost all in the Retropad section.
          https://pastebin.com/tAnNk48h

          You've used the 'Save/Reset Configuration' from RetroArch - despite my advice not to so - and your BIOS dir doesn't exist anymore

          [WARN] SYSTEM DIR is empty, assume CONTENT DIR /home/pi/RetroPie/roms/megadrive/Sonic The Hedgehog (USA, Europe).md
          [INFO] Environ SYSTEM_DIRECTORY: "/home/pi/RetroPie/roms/megadrive/".
          

          https://retropie.org.uk/forum/topic/11221/runcommand-segmentation-fault-after-update-today/11

          I did consider going through and listing everything that was 'unset' to 'disabled'....think that might be it?

          I don't know if that old topic's info applies to your error, from the log file you're either missing the BIOS (which is understandable, since your BIOS folder is unset) or the ROM is not correct.

          I have both powered and unpowered USB hubs here, and both 3.0 and 2.0. All have the same issue. What I tried earlier is splitting the controllers between 3 powered hubs (plugged into different ports on the pi), and got the same result.

          Your dmesg output shows USB bus disconnects, so the configuration is clearly not working because of USB connection getting reset.

          1 Reply Last reply Reply Quote 0
          • T
            tjayhawk32
            last edited by

            @mitu said in Almost finished home RasPi 3B, Issue with Controllers, Need fresh minds:

            You've used the 'Save/Reset Configuration' from RetroArch - despite my advice not to so - and your BIOS dir doesn't exist anymore

            I'm not entirely sure what you're referring to.. I didn't use RetroArch to do anything recently. In fact, I just reinstalled from source last night. BUT I can't open the GUI still for Retroarch. That crashes also, from the RetroPie Setup screen.

            As for the BIOS or the ROM, they all work. If I only plug in a couple of controllers, every single ROM and emulator works.

            I'll take a closer look at dmesg, but what I was doing right now is reading about segmentation faults, which appears to be pretty widely varied.
            https://retropie.org.uk/forum/topic/1673/lr-pcsx-rearmed-runcommand-sh-line-804-5728-segmentation-fault-since-3-8/5

            I am going to try to turn off auto-config and/or RetroResolution's fix here, real quick.

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

              I'm not entirely sure what you're referring to.. I didn't use RetroArch to do anything recently. In fact, I just reinstalled from source last night. BUT I can't open the GUI still for Retroarch. That crashes also, from the RetroPie Setup screen.

              On a default install the SYSTEM_DIR is set to /home/pi/RetroPie/BIOS, your log shows otherwise.

              EDIT: if you manually modified the retroarch.cfg, you shouldn't remove the already existing settings.

              I'll take a closer look at dmesg, but what I was doing right now is reading about segmentation faults, which appears to be pretty widely varied.
              https://retropie.org.uk/forum/topic/1673/lr-pcsx-rearmed-runcommand-sh-line-804-5728-segmentation-fault-since-3-8/5

              Segmentation fault means RetroArch crashed. It's usually a ROM or BIOS issue, but your case it might be related to the joypad connections.

              T 1 Reply Last reply Reply Quote 0
              • T
                tjayhawk32 @mitu
                last edited by

                @mitu
                https://i.imgur.com/1wMJx7x.jpg
                https://imgur.com/a/IqH7ZhW

                The BIOS directory is there, with a last modified of May 9th.
                Something I need to move or change there?

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

                  @tjayhawk32 said in Almost finished home RasPi 3B, Issue with Controllers, Need fresh minds:

                  The BIOS directory is there, with a last modified of May 9th.

                  I think you misunderstood what I said - you've modified the retroarch.cfg (either editing or using Reset) and RetroArch doesn't know about this folder to search for BIOS files. Look at my previous reply - where I've outlined the lines from the log showing that.

                  T 1 Reply Last reply Reply Quote 0
                  • T
                    tjayhawk32 @mitu
                    last edited by tjayhawk32

                    @mitu Apologies, I follow.

                    The reason I said a few lines back that I didn't know 'which' retroarch.cfg to go into might have something to do with this.

                    I have one here
                    https://imgur.com/81FbkC3
                    which is at /opt/retropie/configs/all/retroarch.cfg

                    And this much more complete one
                    https://imgur.com/DWuZAeA
                    Which is at /opt/retropie/configs/all/retroarch/retroarch.cfg

                    Is this unimportant or does the second one need to be a directory back?

                    EDIT: Also, I'm going to double check this but I am 95% sure this issue of too many controllers = emulator no longer loads is exclusive to the libretro emus, so far with the exception of DGEN which just went to a red screen and paused there.

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

                      @tjayhawk32 said in Almost finished home RasPi 3B, Issue with Controllers, Need fresh minds:

                      And this much more complete one
                      https://imgur.com/DWuZAeA
                      Which is at /opt/retropie/configs/all/retroarch/retroarch.cfg

                      That file is not used by RetroArch on a normal RetroPie installation, only the former.

                      T 1 Reply Last reply Reply Quote 1
                      • T
                        tjayhawk32 @mitu
                        last edited by

                        @mitu Ah, so it's at least supposed to be there.

                        Does the first one look wrong or that it's missing something? Not totally sure what to to next.

                        T 1 Reply Last reply Reply Quote 0
                        • T
                          tjayhawk32 @tjayhawk32
                          last edited by

                          Here's what I think I'm gonna do today later...
                          I ordered an external hard drive that I'm going to use for ROMs instead of the SD card I have in there to be able to get more stuff on there.

                          I was going to try to clone it, but if I just do a complete fresh install, would that fix this controller issue in your reasoning?

                          And do I need to clear the SD card first? (I have all the ROMs on another external drive...scraping again will suck though.)

                          And @mitu , I see how many times youre reaching out on here to guys in need of help. You're an all-star, thank you.

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

                            @tjayhawk32 said in Almost finished home RasPi 3B, Issue with Controllers, Need fresh minds:

                            I was going to try to clone it, but if I just do a complete fresh install, would that fix this controller issue in your reasoning?

                            Unlikely, this seems like a hardware limitation - but don't take my word for it, since I'm not an USB expert. Out of curiosity, did you try this combination on a PC ? Do all USB controllers get detected and working all at once ?

                            D T 2 Replies Last reply Reply Quote 0
                            • D
                              DetroitKp @mitu
                              last edited by

                              @mitu Hi Mitu. Why does 'Save Configuration' in RetroArch or 'Save Configuration on Exit' mess up the controller config? I think that was one way to make controller modifications.

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

                                @DetroitKp Because RetroArch is started for each system with a different config file - see here. When you're saving a config, you're saving the system's config file and if you're starting on another system, you get a different config (not the one you saved).
                                If you need to make modifications to the controller config, use the Core input remapping - explained on the same page. This saves the configuration as a remap (.rmp) file which touches only the input, without interfering with the global settings, plus you get the ability to map it per game or per core. If you use 'Save configuration', you get the same settings for all games from the same system, which might not be what you want.
                                There are also another side effects, but I can't find the that old topic (a few years old) that discusses this.

                                1 Reply Last reply Reply Quote 0
                                • T
                                  tjayhawk32 @mitu
                                  last edited by

                                  @mitu

                                  @mitu said in Almost finished home RasPi 3B, Issue with Controllers, Need fresh minds:

                                  Do all USB controllers get detected and working all at once ?

                                  Is there an easy way to do this without installing Ubuntu and RetroPie on my PC?

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

                                    @tjayhawk32 said in Almost finished home RasPi 3B, Issue with Controllers, Need fresh minds:

                                    Is there an easy way to do this without installing Ubuntu and RetroPie on my PC?

                                    Yes, you can use your Windows installation and install RetroArch to see how it works - it has also a Windows version. You'll have RetroArch standalone, so no Emulationstation or joystick/gamepad configuration dialog - you'll have to do that from RetroArch.

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

                                      Or you could download Lakka, which is a live Linux distro with just RetroArch, just like RetroPie, but based on a different Linux distribution model.

                                      T 3 Replies Last reply Reply Quote 0
                                      • T
                                        tjayhawk32 @mitu
                                        last edited by

                                        @mitu Starting now.

                                        Also idk if this matters, but all of the controllers are active in the menu.

                                        1 Reply Last reply Reply Quote 0
                                        • T
                                          tjayhawk32 @mitu
                                          last edited by tjayhawk32

                                          @mitu
                                          https://imgur.com/qsbEsK2

                                          I can't get it to log anything, so hopefully this helps. There are a total of 8 ports being used on the hub for this, with a few of those having dual ports like N64, Genesis and DC.

                                          Curious if the ones that showed up as 'not configured' were the reason those emulators stopped launching, I tried selecting the ones that did configure back on the RetroPie, and even unset, with the same crash result on Genesis.

                                          BuZzB 1 Reply Last reply Reply Quote 0
                                          • BuZzB
                                            BuZz administrators @tjayhawk32
                                            last edited by

                                            @tjayhawk32 Your email is bouncing due to a full email box. Please disable email notifications or fix this or I may have to remove your account.

                                            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

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