Hello,
I have installed a "Pimoroni onoff shim" for a completely shut on and
off of my Raspberry with a hardware momentary button. The switch works
fine with Raspbian, but the original software doesn't run with
piCorePlayer.

The switch needs a trigger script to initiate shutdown by button press
(GPIO17 set to 0) and a gpio-shutoff code (GPIO4 set to 0), which is
executed at the end of the poweroff-function when piCorePlayer is
shutdown.

The trigger script works fine with typing "/home/tc/pcp-powerbutton.sh
-i -17 --low" as user command #1 on the tweaks page. Is there any
possibility to set GPIO4 to 0 when piCorePlayer is shutdown so that the
shim realises the shutdown and cuts off completely?

Regards George


------------------------------------------------------------------------
George_'s Profile: http://forums.slimdevices.com/member.php?userid=68655
View this thread: http://forums.slimdevices.com/showthread.php?t=109734

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to