Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

retropie install gpi.sh removes audio for rpi zero 2w #22

Open
TheSurlyGent opened this issue Feb 23, 2024 · 2 comments
Open

retropie install gpi.sh removes audio for rpi zero 2w #22

TheSurlyGent opened this issue Feb 23, 2024 · 2 comments

Comments

@TheSurlyGent
Copy link

Sorry i am not very famialiar with the audio system, when i run this script i lose audio capability
wget -O - "https://raw.githubusercontent.com/RetroFlag/GPiCase2-Script/main/retropie_install_gpi2.sh" | sudo bash

@michaellandi
Copy link

michaellandi commented Mar 6, 2024

+1. Verified that using retropie 4.8 + the safe shutdown script makes me lose audio too.

I've done a clean install and verified that audio works. Install the script, and audio no longer works.

@landerson128
Copy link

I've encountered the same issue running retropie 4.8 on the rpi zero 2w in the GPi Case 2W once installing the safe shutdown script for the GPi Case 2. I've gotten audio working again and here's what I found:

Modifying the /etc/rc.local to comment out the lines added by the script disables safe shutdown and audio returns. The lcdfirst.sh and lcdnext.sh scripts appear to be the culprit as they appear to me to be what's used to detect when the GPi Case 2 is connected and disconnected to the dock in order to switch between HDMI and LCD output. I was able to disable both of them from running and keeping SafeShutdown.py by doing the following:

  • Comment out the sh /opt/RetroFlag/lcdfirst.sh& and sleep 1& lines in /etc/rc.local to disable the lcdfirst.sh script from running.
  • Comment out lcdrunProcess = Process(target = lcdrun), lcdrunProcess.start(), and lcdrunProcess.join() lines in /opt/RetroFlag/SafeShutdown.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants