RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    GPi Zero 2 v1.52 & GPi Zero v1.15(Retropie Images for Pi Zero/Zero2 + GPi Case 1 & GPi Case 2W)

    Scheduled Pinned Locked Moved Projects and Themes
    retroflag gpicustom imagecustom theme
    195 Posts 36 Posters 113.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.
    • S
      smartazz104
      last edited by

      Is there something in this image that is disabled that prevents connecting via SSH using the hostname? Connecting using IP works fine, but using the hostname it never connects.

      Sliver XS 1 Reply Last reply Reply Quote 0
      • A
        abocaman @Sliver X
        last edited by abocaman

        @sliver-x Thanks for this marvelous image!!

        I found something about the malfunction of the d-pad. If you try to do a restart from the emustation menu, the emulatiostation config file of the pad change, change the dpad for an axis input. That's my case, I have to change the configuration manually to work again.

        [    8.283290] input: Microsoft X-Box 360 pad as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1:1.0/input/input0
        [    8.283847] usbcore: registered new interface driver xpad
        

        Working file:

        pi@gpizero2:~/.emulationstation $ cat es_input.cfg
        <?xml version="1.0"?>
        <inputList>
          <inputAction type="onfinish">
            <command>/opt/retropie/supplementary/emulationstation/scripts/inputconfiguration.sh</command>
          </inputAction>
          <inputConfig type="joystick" deviceName="Microsoft X-Box 360 pad" deviceGUID="030000005e0400008e02000014010000">
            <input name="pageup" type="button" id="4" value="1"/>
            <input name="up" type="hat" id="0" value="1"/>
            <input name="left" type="hat" id="0" value="8"/>
            <input name="select" type="button" id="6" value="1"/>
            <input name="right" type="hat" id="0" value="2"/>
            <input name="pagedown" type="button" id="5" value="1"/>
            <input name="y" type="button" id="3" value="1"/>
            <input name="x" type="button" id="2" value="1"/>
            <input name="down" type="hat" id="0" value="4"/>
            <input name="start" type="button" id="7" value="1"/>
            <input name="b" type="button" id="1" value="1"/>
            <input name="a" type="button" id="0" value="1"/>
          </inputConfig>
        </inputList>
        

        Unconfigured file:

        root@gpizero2:/home/pi/.emulationstation# cat es_input.cfg
        <?xml version="1.0"?>
        <inputList>
          <inputAction type="onfinish">
            <command>/opt/retropie/supplementary/emulationstation/scripts/inputconfiguration.sh</command>
          </inputAction>
          <inputConfig type="joystick" deviceName="Microsoft X-Box 360 pad" deviceGUID="030000005e0400008e02000014010000">
            <input name="pageup" type="button" id="4" value="1"/>
            <input name="up" type="axis" id="1" value="-1"/>
            <input name="left" type="axis" id="0" value="-1"/>
            <input name="select" type="button" id="6" value="1"/>
            <input name="right" type="axis" id="0" value="1"/>
            <input name="pagedown" type="button" id="5" value="1"/>
            <input name="y" type="button" id="3" value="1"/>
            <input name="x" type="button" id="2" value="1"/>
            <input name="down" type="axis" id="1" value="1"/>
            <input name="start" type="button" id="7" value="1"/>
            <input name="b" type="button" id="1" value="1"/>
            <input name="a" type="button" id="0" value="1"/>
          </inputConfig>
        </inputList>
        

        I checked that this only happends when do a restart from the emulestation menu, If you do a poweroff/poweron via power button works correctly.

        It also happend with the retropie config file:
        Not working file:

        root@gpizero2:/opt/retropie/configs/all/retroarch-joypads# cat Microsoft\ X-Box\ 360\ pad.cfg
        input_device = "Microsoft X-Box 360 pad"
        input_driver = "udev"
        input_enable_hotkey_btn = "6"
        input_l_btn = "4"
        input_load_state_btn = "4"
        input_up_axis = "-1"
        input_left_axis = "-0"
        input_state_slot_decrease_axis = "-0"
        input_select_btn = "6"
        input_right_axis = "+0"
        input_state_slot_increase_axis = "+0"
        input_r_btn = "5"
        input_save_state_btn = "5"
        input_y_btn = "3"
        input_y_btn_label = "Square"
        input_x_btn = "2"
        input_menu_toggle_btn = "2"
        input_down_axis = "+1"
        input_start_btn = "7"
        input_exit_emulator_btn = "7"
        input_b_btn = "1"
        input_reset_btn = "1"
        input_a_btn = "0"
        

        Working file:

        pi@gpizero2:~/.emulationstation $ cat /opt/retropie/configs/all/retroarch-joypads/Microsoft\ X-Box\ 360\ pad.cfg
        input_device = "Microsoft X-Box 360 pad"
        input_driver = "udev"
        input_enable_hotkey_btn = "h0down"
        input_l_btn = "4"
        input_load_state_btn = "4"
        input_up_btn = "h0up"
        input_up_btn_label = "D-Pad Up"
        input_left_btn = "h0left"
        input_left_btn_label = "D-Pad Left"
        input_state_slot_decrease_btn = "h0left"
        input_select_btn = "6"
        input_right_btn = "h0right"
        input_right_btn_label = "D-Pad Right"
        input_state_slot_increase_btn = "h0right"
        input_r_btn = "5"
        input_save_state_btn = "5"
        input_y_btn = "3"
        input_y_btn_label = "Square"
        input_x_btn = "2"
        input_menu_toggle_btn = "2"
        input_down_btn = "h0down"
        input_down_btn_label = "D-Pad Down"
        input_start_btn = "7"
        input_exit_emulator_btn = "7"
        input_b_btn = "1"
        input_reset_btn = "1"
        input_a_btn = "0"
        

        Regards

        1 Reply Last reply Reply Quote 0
        • Sliver XS
          Sliver X @smartazz104
          last edited by Sliver X

          @smartazz104

          The hostname is "gpizero2" by default.

          @abocaman

          I ran into this a few times myself, but doing Safe Shutdown with the power switch then turning it back on would always fix it. I tried to find a way to remove the shutdown and restart options from the menu, but short of recompiling ES I didn't see a way to do that.

          I like ES, but it gave me more problems than anything doing all this.

          J S 2 Replies Last reply Reply Quote 0
          • J
            joao76 @Sliver X
            last edited by joao76

            @sliver-x But under ssh login user are: pi and pass: rasperry this the same as the default .
            There are no changes here right? i can't connect using ssh always get acess denied.

            Sliver XS 1 Reply Last reply Reply Quote 0
            • Sliver XS
              Sliver X @joao76
              last edited by Sliver X

              @joao76

              The credentials are the same, yes. You have to enable SSH out of the box. I made a script under "Advanced Settings" that will handle enabling and disabling it from EmulationStation.

              edit Also note that the image has no SSH keys on a clean flash: When you enable it via my script, it generates new ones. If you have cached keys from a previous flash your client will think it's being spoofed and refuse to connect until they are cleared on the client.

              1 Reply Last reply Reply Quote 0
              • S
                smartazz104 @Sliver X
                last edited by

                @sliver-x Unfortunately that didn't work; I have also already updated the hostname via raspi-config (where it was pi by default). Would updating here break something?

                Sliver XS 2 Replies Last reply Reply Quote 0
                • Sliver XS
                  Sliver X @smartazz104
                  last edited by Sliver X

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • Sliver XS
                    Sliver X @smartazz104
                    last edited by

                    @smartazz104

                    No, it won't break anything. I just changed the hostname, and I can connect to it. Reflashed a clean install, default hostname is reachable after connecting it to WiFi and enabling SSH. Changed the hostname after this, can connect to the new hostname.

                    Not sure what's going on for you, but it sounds like it's something to do with hostname resolution in whatever is handling DNS in your LAN. Or the machine you're trying to reach it from. Try flushing the DNS cache?

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      smartazz104 @Sliver X
                      last edited by

                      @sliver-x I ended up adding an entry to /etc/hosts on my Mac for it to work. Thanks for your help.

                      Sliver XS 1 Reply Last reply Reply Quote 0
                      • Sliver XS
                        Sliver X @smartazz104
                        last edited by

                        @smartazz104

                        If you're using a Mac, they use mDNS to do hostname resolution: You need to enable Avahi from "Advanced Settings". Once you do that you shouldn't need a static HOSTS entry.

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          smartazz104 @Sliver X
                          last edited by smartazz104

                          @sliver-x Great, thank you once again.

                          1 Reply Last reply Reply Quote 0
                          • TreyMT
                            TreyM @Sliver X
                            last edited by

                            @sliver-x

                            Just had an idea. With some experimentation, the overclocking script could become an undervolting tool as well. I am currently experimenting with stock 1000MHz freq and an over_voltage value of -1 (negative values are indeed possible for those who didn't know)

                            If it's stable, I'll keep going down to see if -2 works on my board. The thing is, (and I'm not sure if this is the case or not) if the voltage value is the same as the Pi 3, but the CPU is running underclocked vs the Pi 3, there should be a fairly decent amount of undervolting headroom.

                            Sliver XS 1 Reply Last reply Reply Quote 0
                            • Sliver XS
                              Sliver X @TreyM
                              last edited by

                              @treym

                              The overclocking script I wrote sets the voltage level, even if not present initially in config.txt (At stock voltage): It should be easy to modify for this purpose.

                              TreyMT 1 Reply Last reply Reply Quote 0
                              • TreyMT
                                TreyM @Sliver X
                                last edited by

                                @sliver-x yeah, I'm going to modify it myself. Just thought I would throw the idea out there in case you wanted to drop a patch on the OP if you thought the idea was useful.

                                1 Reply Last reply Reply Quote 0
                                • suanlafendjS
                                  suanlafendj
                                  last edited by

                                  awesome

                                  1 Reply Last reply Reply Quote 0
                                  • K
                                    killj0y1
                                    last edited by

                                    How can I make sure all your custom retropie menu options stick between theme changes? Seems changing to say carbon loses all your custom toggles etc. At least it did for me. Any tips on where to look to make sure they appear?

                                    Sliver XS 1 Reply Last reply Reply Quote 0
                                    • Sliver XS
                                      Sliver X @killj0y1
                                      last edited by

                                      @killj0y1

                                      The Advanced Settings menu is defined in es_systems like an emulator: It should show up regardless of the theme, even if the theme doesn't have explicit support for it (Like es-carbon).

                                      I just tested it on mine and it shows up under Carbon for me?

                                      K 2 Replies Last reply Reply Quote 0
                                      • K
                                        killj0y1 @Sliver X
                                        last edited by

                                        @sliver-x ok then I'll have to add it back as I believe I overrode the one in /opt since I added emulators that did not show up. That answers my question thank you! I can amend one to the other. That should fix it.

                                        1 Reply Last reply Reply Quote 0
                                        • K
                                          killj0y1 @Sliver X
                                          last edited by killj0y1

                                          @sliver-x hmm well I checked and it's the same yet I only see the default menu items that come in a standard install weird. Any advice on adding them back?

                                          Edit: scratch that in an idiot and was looking at the standard retropie settings I see the entry adding it back now lol.

                                          1 Reply Last reply Reply Quote 0
                                          • A
                                            azfunguy
                                            last edited by

                                            I can't seem to open the .img file. Windows Imager and Imageburn both give me an error that the file is corrupt or unrecognizable. Anyone get that when they try to image the SD card?

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