Hello
I've been through a lot now but I'm not happy with it. To put my Raspi to sleep and wake it up, I set 2 (3) pins in the config.txt.This works wonderfully, except that I can no longer query/set the pins afterwards. This is due to the new handling.
But I would like to have the LED flash during power down, and possibly use them as status for other events. Yes, I can take it from the config.txt and start it with a systemctl script or similar. But this has the disadvantage that it takes a long time until the LED is on and it doesn't help me to query the status of the button. I don't want to do without the config.txt. (This works very well and safely) Is there only the possibility to query the reserved pins via pinctrl? I use python
Greetings Hajo
I've been through a lot now but I'm not happy with it. To put my Raspi to sleep and wake it up, I set 2 (3) pins in the config.txt.
Code:
# Power ON/OFF with GPIO 3/22dtoverlay=gpio-shutdown,gpio_pin=22,gpio_pull=up,debounce=300# Power button LEDgpio=17=op,ieBut I would like to have the LED flash during power down, and possibly use them as status for other events. Yes, I can take it from the config.txt and start it with a systemctl script or similar. But this has the disadvantage that it takes a long time until the LED is on and it doesn't help me to query the status of the button. I don't want to do without the config.txt. (This works very well and safely) Is there only the possibility to query the reserved pins via pinctrl? I use python
Greetings Hajo
Statistics: Posted by Sharki — Tue Feb 18, 2025 8:46 pm — Replies 0 — Views 9