RetroFlag GPiCase 2 CM4 Safeshutdown with automatically switch LCD and HDMI display script
Make sure that GPiCase2 patch is installed.
If the patch file is not installed and Install the script first, you will lose “config.txt” file causes CM4 to fail to boot
Click the link to download the patch:Download GPiCase2 patch.
- safe shutdown:Directly turning off the power switch will trigger the script for safe shutdown.
- If it is not turned on the charging base, it will be displayed on a 3-inch LCD;When the base is connected, it will be switched to HDMI output
- Make sure internet connected.
- Make sure keyboard connected.
- Press F4 enter terminal.
- In the terminal, type the one-line command below(Case sensitive):
wget -O - "https://raw.githubusercontent.com/RetroFlag/GPiCase2-Script/main/retropie_install_gpi2.sh" | sudo bash
- Make sure internet connected.
- Make sure keyboard connected.
- Press F4 first. And then press ALT-F2 enter terminal.
- User: root Password: recalboxroot
- In the terminal, type the one-line command below(Case sensitive):
wget -O - "https://raw.githubusercontent.com/RetroFlag/GPiCase2-Script/main/recalbox_install_gpi2.sh" | bash
- Make sure internet connected.
- Make sure keyboard connected.
- Enter terminal. How to enter terminal: https://wiki.batocera.org/access_the_batocera_via_ssh
- User: root Password: linux
- In the terminal, type the one-line command below(Case sensitive):
wget -O - "https://raw.githubusercontent.com/RetroFlag/GPiCase2-Script/main/batocera_install_gpi2.sh" | bash
Example for lakkatv: https://github.com/marcelonovaes/lakka_nespi_power