The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Shutdown Overlay isn't working
#1
Hi everybody,

I'm using the Pi 3B+ with Moode 5.3.1 and I'm having a problem with the shutdown overlay.

I added this to the config.txt:


Code:
dtoverlay=gpio-shutdown

I'm using the default GPIO3 for this and I2C is disabled.

After this did'nt worked I tried according to the README of the overlays to copy this to a new 99-udev-shutdown.rules:


Code:
ACTION!="REMOVE", SUBSYSTEM=="input", KERNEL=="event*", \
                       SUBSYSTEMS=="platform", DRIVERS=="gpio-keys", \
                        ATTRS{keys}=="116", TAG+="power-switch"


Starting the PI with pulling the GPIO3 to GND works. I can measure the Voltage when I press the button and it does what it's supposed to be.

I hope you can help me.

Greetings from Austria,
                       Patrick
Reply


Messages In This Thread
Shutdown Overlay isn't working - by Paddy_B - 06-16-2019, 01:42 PM
RE: Shutdown Overlay isn't working - by lopchu - 03-05-2020, 02:49 PM

Forum Jump: