dtoverlay=gpio-shutdown not working (Raspberry Pi)

  • Hi,

    When I add the following line :

    dtoverlay=gpio-shutdown

    to config.txt in Raspbian (tested with Stretch), I can shut down by using a button to short GPIO pin 5 and 6 (GPIO 3 and GND)

    The same does not work in LibreELEC 8.2.4 on Raspberry Pi, although the gpio-shutdown.dtbo exists there in the overlays folder, too.

    What would I have to configure to make this work ?

  • Digging a bit I found that some power switch rules for gpio-keys are already present :

    /usr/lib/udev/rules.d/70-power-switch.rules

    yet, it is not working :(

    This is on a new install of LibreELEC 8.2.4 from scratch, maybe someone could point me to what I am missing...