Bishamon1987
Posts: 1
Joined: Sun Nov 01, 2015 5:27 pm

check activation of GPIO in /dev/rules.d

Wed Jul 17, 2019 8:27 am

Hey there,
I'm a still a noob with this, so if you need more information please ask me what information you need.

I want to use a switch that allows me to run a script.
I know it's possible to use a script with an endless loop and start the script on boot. But it would be better to run it only when a specific GPIO pin registers activation.

So I thought it's better to do this with the /dev/rules.d

But how do I do this?
I can't find any information on this matter.
Thanks in advance...

Return to “Troubleshooting”