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

    Controller (Logitech F310) stops working after launching the default SNES emulator (snes9x2002) and shutdown/restarting PiZero W with Retropie 4.2 (Clean Image)

    Scheduled Pinned Locked Moved Help and Support
    retropie 4.2snes9x2002logitechlogitech 310pizerow
    6 Posts 2 Posters 1.8k 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.
    • M
      mrNachos
      last edited by mrNachos

      Howdy,

      I'm running into a weird issue with my new PiZero W and RetroPie 4.2. Everything works fine until I run the snes9x2002 emulator and restart the PiZero W. Upon restart, once I reach EmulationStation, my controller (Logitech F310) doesn't work anymore. After a lot of trial and error, I've isolated it to the default Super Nintendo emulator that comes with the official image (snes9x2002).

      Hardware (everything new):

      • RaspberryPi Zero W
      • Logitech F310 Controller (plugged directly in USB port using micro USB adapter and with the switch at bottom of controller set to 'X')
      • 1A Power Supply
      • SanDisk Ultra 16GB
      • Latest image of RetroPie 4.2

      Repro Steps:
      1- Download RetroPie 4.2 (0/1) image from retropie.
      (https://github.com/RetroPie/RetroPie-Setup/releases/download/4.2/retropie-4.2-rpi1_zero.img.gz)
      2- Write freshly downloaded image to micro SD card using Win32DiskImager.
      3- Unmount and eject SD card.
      4- Insert in PiZero W and plug power cable.
      5- Let the first boot process resize the partition.
      6- Once EmulationStation is up, configure controller (skip the L and R Triggers).
      7- Once in EmulationStation, shutdown system through menu.
      8- Remove micro SD card and insert into PC running Linux (Lubuntu 17.04 in my case) and copy roms into appropriate folders (/retropie/home/pi/RetroPie/roms/). Technically, you only need to copy one SNES rom to reproduce this bug.

      9- When done copying, unmount and eject micro SD card.
      10 -Insert micro SD card in PiZero W and plug power cable.
      11- Once EmulationStation is up, go to Super Nintendo and run any game.
      12- While in emulator (snes9x2002), press SELECT + START to exit emulator.
      13- Shutdown System through EmulationStation menu.
      14- Disconnect and reconnect power cable to turn PiZero W back on.
      15- Upon reaching EmulationStation, notice that the Logitech F310 controller doesn't work anymore. <-- This is the bug I'm reporting.

      NOTES:

      • I have tried the same repro steps with the default Nintendo and Sega Genesis emulators. Everytime I reboot the system, the controller works perfectly. It only occurs with the default Super Nintendo emulator (snes9x2002). Only after running it once, exit, shutdown, reboot.

      Can anybody else repro this? It only takes 5min to try.

      Any help is appreciated.

      Thanks!
      mrNachos

      M 1 Reply Last reply Reply Quote 0
      • M
        mrNachos @mrNachos
        last edited by mrNachos

        I have more information.

        I'm able to get my controller working again in EmulationStation if I remove the .srm save file that was generated at Step 11 above.

        However, if I run the game again and a new .srm save file is generated, the next time I reboot, EmulationStation doesn't respond to my controller anymore.

        1 Reply Last reply Reply Quote 0
        • chipsnblipC
          chipsnblip
          last edited by

          hi. just to rule it out, try resetting permissions for the rom directories: https://github.com/RetroPie/RetroPie-setup/wiki/FAQ#reset-ownershippermissions-of-homepiretropie-roms

          M 1 Reply Last reply Reply Quote 0
          • M
            mrNachos @chipsnblip
            last edited by

            @chipsnblip Resetting permissions for the rom folders didn't fix the issue. I also tried "Clear/Reset Emulation Station input configuration". Now I'm prompted with the WELCOME screen where I can configure my controller. The screen says "1 Gamepad Detected" but nothing happens when I hold any buttons.

            1 Reply Last reply Reply Quote 0
            • chipsnblipC
              chipsnblip
              last edited by

              @mrnachos said in Controller (Logitech F310) stops working after launching the default SNES emulator (snes9x2002) and shutdown/restarting PiZero W with Retropie 4.2 (Clean Image):

              A Power Supply

              sorry i don't have a pizero w to test with, but if possible can you try with a different power supply and/or usb adapter (powered hub?)

              M 1 Reply Last reply Reply Quote 0
              • M
                mrNachos @chipsnblip
                last edited by

                @chipsnblip I've also tried with my iPad charger (5.1 volts at 2100 mA) and the same issue occurs with exactly the same repro steps.

                This morning I tried a different distro (batocera-linux -- derived from Recalbox). Everything works without any issues on my PiZero W (NES, SEGA GENESIS, SNES). The only difference in my setup with batocra-linux is that my controller needs to be on the "D" switch instead of the "X" (my controller was not working in "D" mode with RetroPie). Maybe that's another clue to investigate. For the time being, I'll stick with batocera-linux since It Just Works™.

                I will still be monitoring this thread as I am curious if anybody else is able to reproduce. I can't be the only one having this issue.

                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.