SO i wanted a power button to toggle rpi 4b power state, ie, shutdown when its active and power on when its off.
to do so, i added `dtoverlay=gpio_shutdown` in boot/config.txt
and add a power button with pins connected to gpio3 (5 and 6).
Now I am able to power on when rpi is powered off, with power supply plugged in, but opposite is not working, any idea what can i do to fix it .
in dmesg, these are the entries pertaining to i2c, so i dont think its a factor either
letme know if i can provide some other info
to do so, i added `dtoverlay=gpio_shutdown` in boot/config.txt
and add a power button with pins connected to gpio3 (5 and 6).
Now I am able to power on when rpi is powered off, with power supply plugged in, but opposite is not working, any idea what can i do to fix it .
in dmesg, these are the entries pertaining to i2c, so i dont think its a factor either
Code:
[ 3.836342] i2c_dev: i2c /dev entries driver[ 6.639973] brcmstb-i2c fef04500.i2c: @97500hz registered in polling mode[ 6.732332] brcmstb-i2c fef09500.i2c: @97500hz registered in polling mode
Statistics: Posted by alukard — Sun Nov 03, 2024 9:42 am