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

    Pimoroni PicadeX HAT and RetroPie 4.8

    Scheduled Pinned Locked Moved Help and Support
    picadex
    8 Posts 3 Posters 495 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.
    • O
      OHTorx
      last edited by

      I just did a fresh install of RetroPie 4.8. Ran apt-get update && upgrade

      Then ran the command curl -sS https://get.pimoroni.com/picadehat | bash

      During the install the script stated:

      Retropie does not seem to be installed. No worries, we can still set up the hardware side for you!

      rebooted and retroPi does not see the PicadeX HAT.

      Looking for n00b level hints. Thanks

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

        Which Pi model are you using ? Is the install script you've run supported on your Pi model ?

        Post the /boot/config.txt file in here in the topic, surrounded by code blocks (just add ``` before and after the contents).

        O 1 Reply Last reply Reply Quote 0
        • YFZdudeY
          YFZdude
          last edited by

          This seems to be the segment of the script issuing the error message.

          # script custom routines
          
              if [ $customcmd == "no" ]; then
                  if [ -n "$pkgremove" ]; then
                      echo -e "\nFinalising Install...\n"
                      sysclean && newline
                  fi
                  echo -e "\nAll done. Enjoy your $productname!\n"
              else # custom block starts here
                  echo -e "\nFinalising Install...\n"
                  # add_dtoverlay hifiberry-dac
                  if [ "$OS_NAME" != "RetroPie" ]; then
                      inform "Retropie does not seem to be installed. No worries,"
                      inform "we can still set up the hardware side for you!"
                  fi
                  cd $installdir/$gitclonedir
                  sudo ./install.sh
              fi
          
          O 1 Reply Last reply Reply Quote 0
          • O
            OHTorx @mitu
            last edited by OHTorx

            @mitu here is the PI info as displayed in

            cat /proc/cpuinfo
            
            Hardware	: BCM2711
            Revision	: c03112
            Serial		: 100000006c0a2ec2
            Model		: Raspberry Pi 4 Model B Rev 1.2
            

            Also the contents of config.txt:

            # For more options and information see
            # http://rpf.io/configtxt
            # Some settings may impact device functionality. See link above for details
            
            # uncomment if you get no picture on HDMI for a default "safe" mode
            #hdmi_safe=1
            
            # uncomment this if your display has a black border of unused pixels visible
            # and your display can output without overscan
            #disable_overscan=1
            
            # uncomment the following to adjust overscan. Use positive numbers if console
            # goes off screen, and negative if there is too much border
            #overscan_left=16
            #overscan_right=16
            #overscan_top=16
            #overscan_bottom=16
            
            # uncomment to force a console size. By default it will be display's size minus
            # overscan.
            #framebuffer_width=1280
            #framebuffer_height=720
            
            # uncomment if hdmi display is not detected and composite is being output
            hdmi_force_hotplug=1
            
            # uncomment to force a specific HDMI mode (this will force VGA)
            #hdmi_group=1
            #hdmi_mode=1
            
            # uncomment to force a HDMI mode rather than DVI. This can make audio work in
            # DMT (computer monitor) modes
            #hdmi_drive=2
            
            # uncomment to increase signal to HDMI, if you have interference, blanking, or
            # no display
            #config_hdmi_boost=4
            
            # uncomment for composite PAL
            #sdtv_mode=2
            
            #uncomment to overclock the arm. 700 MHz is the default.
            #arm_freq=800
            
            
            1 Reply Last reply Reply Quote 0
            • O
              OHTorx @YFZdude
              last edited by

              @YFZdude I could not tell what variable the $OS_Name was pulling from, However here is the OS information from the fresh install:

              pi@retropie:/boot $ hostnamectl
                 Static hostname: retropie
                       Icon name: computer
                      Machine ID: 74b02a21da1f4b5e81e8a4ab97bbfaf1
                         Boot ID: b370fb7f05ec4989beac031f49a3727c
                Operating System: Raspbian GNU/Linux 10 (buster)
                          Kernel: Linux 5.10.103-v7l+
                    Architecture: arm
              
              O 1 Reply Last reply Reply Quote 0
              • O
                OHTorx @OHTorx
                last edited by

                @OHTorx said in Pimoroni PicadeX HAT and RetroPie 4.8:

                pi@retropie:/boot $ hostnamectl
                Static hostname: retropie
                Icon name: computer
                Machine ID: 74b02a21da1f4b5e81e8a4ab97bbfaf1
                Boot ID: b370fb7f05ec4989beac031f49a3727c
                Operating System: Raspbian GNU/Linux 10 (buster)
                Kernel: Linux 5.10.103-v7l+
                Architecture: arm

                Also noticed there is multiple references to the variable $OS_NAME. however I do not see where it is declared. Am I missing something or is this a bug in the script that is forcing the $OS_Name to be null and thus the script is not installing?

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

                  The OS detection doesn't have much influence on the installing script, it should still run.
                  However, the installation doesn't seem to be performed - the installer modifies the/boot/config.txt file in order to enable the HAT and this doesn't seem to have happened in your case.
                  I suggest you follow the manual installation from https://github.com/pimoroni/picade-hat, it's just copying the overlay to /boot/overlays and adding a line to /boot/config.txt.

                  O 1 Reply Last reply Reply Quote 1
                  • O
                    OHTorx @mitu
                    last edited by

                    @mitu I was able to set a system variable OS_NAME=RetroPie and re-ran the script from GIT and the install works now. Not 100% fully tested at this point but at least RetroPie sees the “New” controller

                    Here is the updated config.txt file

                    
                    pi@retropie:~ $ cat /boot/config.txt
                    # For more options and information see
                    # http://rpf.io/configtxt
                    # Some settings may impact device functionality. See link above for details
                    
                    # uncomment if you get no picture on HDMI for a default "safe" mode
                    #hdmi_safe=1
                    
                    # uncomment this if your display has a black border of unused pixels visible
                    # and your display can output without overscan
                    #disable_overscan=1
                    
                    # uncomment the following to adjust overscan. Use positive numbers if console
                    # goes off screen, and negative if there is too much border
                    #overscan_left=16
                    #overscan_right=16
                    #overscan_top=16
                    #overscan_bottom=16
                    
                    # uncomment to force a console size. By default it will be display's size minus
                    # overscan.
                    #framebuffer_width=1280
                    #framebuffer_height=720
                    
                    # uncomment if hdmi display is not detected and composite is being output
                    hdmi_force_hotplug=1
                    
                    # uncomment to force a specific HDMI mode (this will force VGA)
                    #hdmi_group=1
                    #hdmi_mode=1
                    
                    # uncomment to force a HDMI mode rather than DVI. This can make audio work in
                    # DMT (computer monitor) modes
                    #hdmi_drive=2
                    
                    # uncomment to increase signal to HDMI, if you have interference, blanking, or
                    # no display
                    #config_hdmi_boost=4
                    
                    # uncomment for composite PAL
                    #sdtv_mode=2
                    
                    #uncomment to overclock the arm. 700 MHz is the default.
                    #arm_freq=800
                    
                    # Uncomment some or all of these to enable the optional hardware interfaces
                    #dtparam=i2c_arm=on
                    #dtparam=i2s=on
                    #dtparam=spi=on
                    
                    # Uncomment this to enable infrared communication.
                    #dtoverlay=gpio-ir,gpio_pin=17
                    #dtoverlay=gpio-ir-tx,gpio_pin=18
                    
                    # Additional overlays and parameters are documented /boot/overlays/README
                    
                    # Enable audio (loads snd_bcm2835)
                    dtparam=audio=on
                    
                    [pi4]
                    # Enable DRM VC4 V3D driver on top of the dispmanx display stack
                    dtoverlay=vc4-fkms-v3d
                    max_framebuffers=2
                    
                    [all]
                    #dtoverlay=vc4-fkms-v3d
                    overscan_scale=1
                    
                    dtoverlay=picade
                    dtparam=audio=off
                    
                    
                    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.