Coder Social home page Coder Social logo

klandrith / gpicase2-script Goto Github PK

View Code? Open in Web Editor NEW

This project forked from retroflag/gpicase2-script

0.0 0.0 0.0 50 KB

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

License: MIT License

Python 25.47% Shell 74.53%

gpicase2-script's Introduction

GPiCase2-Script

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

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/RetroFlag/GPiCase2-Script/main/retropie_install_gpi2.sh" | sudo bash


For Recalbox7.1.1/8.0

  1. Make sure you are connected to the internet.
  2. Make sure your keyboard is connected.
  3. Press F4, and then press ALT-F2 to enter the terminal.
  4. User: root Password: recalboxroot
  5. In the terminal, type the command below (This is case sensitive):

wget -O - "https://raw.githubusercontent.com/RetroFlag/GPiCase2-Script/main/recalbox_install_gpi2.sh" | bash


for batocera31:

  1. Make sure you are connected to the internet.
  2. Make sure your keyboard is connected.
  3. Enter terminal. For information on how to access the termina, visit this link: https://wiki.batocera.org/access_the_batocera_via_ssh
  4. User: root Password: linux
  5. In the terminal, type the command below (This is 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

gpicase2-script's People

Contributors

retroflag avatar takiiiiiiii avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.