How about if all I want to do is use a push-button switch to shut the pi
down gracefully (I am running piCore player with LMS & Squeezelite)? I
already have a push-button switch connected to GPIO pin 17, normally Hi,
so a push temporarily sets the voltage Lo.

I was using this successfully on the same device previously running LMS
on Debian, where it was monitored by a python program which then
triggered a "sudo shutdown" in response to detecting pin 17 going to
"lo" state.

I have tried to replicate the similar behaviour (without the python
script, just using the option under the "Tweaks" section) but I cannot
get it to work. Any guidence appreciated.


------------------------------------------------------------------------
gustavm's Profile: http://forums.slimdevices.com/member.php?userid=66840
View this thread: http://forums.slimdevices.com/showthread.php?t=112341

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

Reply via email to