Re: Shutdown/Restart Pushbutton
Posted: 13 Apr 2019, 23:36
This is getting frustrating. I tried using GPIO pins 7, 21, 22, and 29 all without success. When I pull the input low I can see it is being read as it changes from 1 to 0 when I run 'gpio readall'.
For the gpio pins that were reading 0 by default I tried puling them high with (for example for gpio-25)
But this doesn't seem to have the desired effect. gpio-25 would still show low.
Should the dtoverlay statement be placed in a specific location in the config.txt file, or doesn't it matter?
I'm curious if anyone has tried this with Rune and been successful.
Thanks,
Gary
For the gpio pins that were reading 0 by default I tried puling them high with (for example for gpio-25)
- Code: Select all
dtoverlay=gpio-shutdown, gpio_pin=25,gpio_pull(up)
But this doesn't seem to have the desired effect. gpio-25 would still show low.
Should the dtoverlay statement be placed in a specific location in the config.txt file, or doesn't it matter?
I'm curious if anyone has tried this with Rune and been successful.
Thanks,
Gary