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

Problems with power light and shutdown #145

Open
redbau opened this issue Oct 28, 2024 · 1 comment
Open

Problems with power light and shutdown #145

redbau opened this issue Oct 28, 2024 · 1 comment

Comments

@redbau
Copy link

redbau commented Oct 28, 2024

Using a brand new Pi4 (1GB) + Retropie fresh install:

1. When safe shutdown is turned off

  • Power button works as it should, on turns on, light stays lit, off turns off, light goes off

2. When safe shutdown is turned on + script is installed

  • Power button turns on unit okay
  • Power light works for about 5 seconds... then stops working...
  • Power light turns off
  • Power button no longer does anything

What can I do to debug this more for you all? I'd like to troubleshoot my issue but I'm not sure where to start.

@CookiePLMonster
Copy link

There are at least two issues nowadays when this script is used with Bookworm (or does Retropie not use that?):

  1. /boot/config.txt has been moved to /boot/firmware/config.txt nowadays.
  2. RPi.GPIO doesn't work correctly no longer, but a drop-in rpi-lgpio replacement has issues too. This script likely needs moving to gpiozero.

I don't use Retropie anymore, but those are the issues I encountered on the latest Raspberry Pi OS.

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

2 participants