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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 | StatusLed stays off when ShutdownButton LED is activated and shutdown request is aborted by releasing the shutdown button before the hold time expired #1983

Open
topas-rec opened this issue Mar 10, 2023 · 2 comments 路 May be fixed by #1997

Comments

@topas-rec
Copy link
Contributor

Bug

What I did

I activated the shutdown button led and the StatusLed according to gpio configuration and tested it by holding down the shutdown button less than the configured hold time and released the button.

What happened

As long as the shutdown button was pressed the led began to flash as it should.
After the shutdown button was released before the hold time has expired, the LED stopped blinking and stayed off.

I expected this to happen

I expect the LED to stay on when the shutdown is aborted and a StatusLed is confugred to be able to see that the box is on and stays on.

Further information that might help

Software

Base image and version

PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

Branch / Release

master

Installscript

scripts/installscripts/buster-install-default.sh

Hardware

RaspberryPi version

Raspberry Pi 3 Model B Rev 1.2

RFID Reader

16c0:27db HXGCoLtd Keyboard

Soundcard

onboard

Other notable hardware

@topas-rec
Copy link
Contributor Author

I have an idea on how to fix it and will create a PR soon.

@topas-rec topas-rec changed the title 馃悰 | PpowerLed stays off when ShutdownButton LED is activated and shutdown request is aborted by releasing the shutdown button before the hold time expired 馃悰 | PowerLed stays off when ShutdownButton LED is activated and shutdown request is aborted by releasing the shutdown button before the hold time expired Mar 10, 2023
@topas-rec topas-rec changed the title 馃悰 | PowerLed stays off when ShutdownButton LED is activated and shutdown request is aborted by releasing the shutdown button before the hold time expired 馃悰 | StatusLed stays off when ShutdownButton LED is activated and shutdown request is aborted by releasing the shutdown button before the hold time expired Mar 18, 2023
@topas-rec
Copy link
Contributor Author

This seems to be only an issue when the StatusLED and the ShutdownLED use the same GPIO.

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