Aldoszx wrote: 
> The shutdown button must be ON, in order to define the GPIO pin for
> shutdown.

If I look into the script, I find the following line:

Code:
--------------------
    GPIO.setup(shutdown_pin, GPIO.IN,  pull_up_down=GPIO.PUD_DOWN)
--------------------


So I think the correct setting should be used.

But I saw the following reaction to the pressed button. Regardless how
long I press it, the reaction is always a shutdown.
Although in the code I see that from 2 to 3 seconds (pulses) there
should be a reboot happen and from 4 to 5 seconds there should be a
shutdown happen. But there is no difference between pressing long or
short.


------------------------------------------------------------------------
carsten_h's Profile: http://forums.slimdevices.com/member.php?userid=69113
View this thread: http://forums.slimdevices.com/showthread.php?t=111546

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to