Skip to content

RetroFlag GPiCase 2 CM4 Safeshutdown with automatically switch LCD and HDMI display script

License

Notifications You must be signed in to change notification settings

Regaladfr/GPiCase2-Script

 
 

Repository files navigation

GPiCase2-Script improved

The RetroFlag GPiCase 2 CM4 safe shutdown script will automatically switch between the LCD display and HDMI output when using the dock.

->LCD and HDMI "config.txt" auto saved when switching screen.

->Attract-mode safeshutdown support.

->GPICase 2 sound config added

Before installing the script:

Make sure that the GPiCase2 patch is installed.
If the patch file is not installed and you install the script first, you will lose the “config.txt” file, which will cause the CM4 to fail to boot.
Click the link to download the patch:Download GPiCase2 patch.

After installing the script:

  1. Safe shutdown: Directly turning off the power switch will trigger the script for safe shutdown.
  2. If the device is not connected to the dock when it is powered on, the video signal will display on the 3-inch LCD. When the device is connected to the base when it is powered on, the video signal will switch to HDMI output.

For RetroPie4.7.1:

  1. Make sure you are connected to the internet.
  2. Make sure your keyboard is connected.
  3. Press F4 to enter the terminal.
  4. In the terminal, type the command below (This is case sensitive):

wget -O - "https://raw.githubusercontent.com/Regaladfr/GPiCase2-Script/main/retropie_install_gpi2.sh" | sudo bash


About

RetroFlag GPiCase 2 CM4 Safeshutdown with automatically switch LCD and HDMI display script

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 74.0%
  • Python 26.0%