Hello everyone,
I'm looking to use the gpio-poweroff overlay, I can see it works with the Pi5 and everything looks good in that regard. But I have a few questions, for simplicity of sharing the code I come up with I want to know.
Where I can find the source code for this overlay? (I did decompile it there were some errors)
Can I either merge this with another overlay or load it with another overlay?
Does this work on other OS besides Raspberry Pi OS or is this YMMV?
My goal is to create a new overlay that will activate i2c 1 set up GPIO 4 as an input with pulldown, offer some option to tweak setting, and either activate or copy the functionality of gpio-poweroff. All but the last item I can already do with an overlay, just need help with the last bit.
Thank you very much.
I'm looking to use the gpio-poweroff overlay, I can see it works with the Pi5 and everything looks good in that regard. But I have a few questions, for simplicity of sharing the code I come up with I want to know.
Where I can find the source code for this overlay? (I did decompile it there were some errors)
Can I either merge this with another overlay or load it with another overlay?
Does this work on other OS besides Raspberry Pi OS or is this YMMV?
My goal is to create a new overlay that will activate i2c 1 set up GPIO 4 as an input with pulldown, offer some option to tweak setting, and either activate or copy the functionality of gpio-poweroff. All but the last item I can already do with an overlay, just need help with the last bit.
Thank you very much.
Statistics: Posted by DarkElvenAngel — Mon Apr 22, 2024 10:57 pm