Closed ghost closed 1 year ago
when doing sudo systemctl status cleanshutd
I receive:
(/etc/init.d/cleanshutd; generated) Active: inactive (dead) Docs: man:systemd-sysv-generator(8)
and here is a .gif showing what is happening when pressing the button on the shim (or the external attached button as well):
Hi guys,
I'm new here because of a very tricky problem, other users in the german raspberry forum can't solve.
I ordered an OnOff Shim and connected it to the raspberry via the socket which was soldered to the shim. I then installed the OnOff Shim Script using the one line command and with the software I'd like to use (Phoniebox) I run the following /etc/cleanshutd.conf-Script:
daemon_active=1 trigger_pin=17 led_pin=25 poweroff_pin=4 hold_time=2 shutdown_delay=0 polling_rate=1
The pins are not used by other connections. There is no problem to start the raspberry by using the button on the Shim or an external attached button via the "BTN"-holes. But I do not manage to shut down the raspberry when pressing the external button or the button on the shim. The red light on the shim flashes, but the raspberry keeps running. Furthermore the button's light is not working - only when shutting down the raspberry through the terminal right at the end the light flashes 3 times - so the GPIO seems to work. The light itself works fine when connecting it to the 3V-PIN.
I already ordered a new OnOff Shim because I thought there could be a soldering problem - no change at all. I used another external button - no change at all.
The guys from the german forum ask me to to
sudo systemctl disable cleanshutd
andsudo systemctl start cleanshutd
as well as to insert
disable_cleanshutd=1
into the /boot/config.txt.No change at all.
When I do raspi-gpio get 17 I always get
GPIO 17: level=0 fsel=0 func=INPUT
no matter if I press the button or not.Do you have any help for this issue? Why is it impossible to get the raspberry to shutdown and the button's light to shine when running the raspberry and not only at the end of a terminal's induced shutdown process?
Thank you for your help!