Shutdown button switch not working

  • I've got a shutdown button but I can't get it to work. It bridges pins 5 and 6 as per the tutorial here https://embeddedcomputing.com/…wn-with-a-physical-button

    I've added these lines into config.txt but nothing happens when I push the button.

    dtoverlay=gpio-shutdown

    active_low=1


    A bit of googling makes me suspect that this line is preventing these pins from being used to shutdown the pi

    dtoverlay=spi1-3cs


    When I first setup hyperion the default pins wouldn't work for me so I enabled spi1 and have the leds plugged into pins 20, 21 and the ground next to it.


    How can I get the button to work?


    I've also tried a different pair of pins but it still doesn't work.

    dtoverlay=gpio-shutdown,gpio_pin=13

    Einmal editiert, zuletzt von alieg () aus folgendem Grund: Merged a post created by alieg into this post.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!