Hi,
I use on my HAT board a button to sleep/power when used with RPI4. Connected to GPIO3 to support wake-on-sleep and to GPIO4 to support goto-sleep (+user function) via sw implementation. I need extra GPIO4 not to block I2C when monitoring button press.
RPI5 has power button already on board extendable via prepared pad between HDMI and USB-C. I plan wire to HAT where I use FET to activate on board power button similar as GPIO3 now. Likely power-button is connected to an internal pin, not GPIO3.
So I suppose GPIO3 sleep feature is no more available on RPI5 so I can remove it (resp. leave it optional for RPI4) ?
What gestures are supported by power button? I read also about double click and hold-on for hard reset. I planned to add R-C to activate after e.g. 2 secs of holding HAT button but it seems impossible (because of double click). Is is somehow configurable in Raspbian ?
Note: I booting from NVMe SSD and RPI5 is waiting when starting to press power (which is hidden in case). I have my internal PSU 5V/4A on HAT so I have no official 27W PSU. I see there is option not to stop when booting from USB with 5A- PSU (PSU_MAX_CURRENT=5000 ??). Maybe it is related also to NVMe. But I would like to do it correctly as not-start-till-button-is-pressed is nice feature.
There is no schema published for RPI5, true ?
Thx
Tomas
I use on my HAT board a button to sleep/power when used with RPI4. Connected to GPIO3 to support wake-on-sleep and to GPIO4 to support goto-sleep (+user function) via sw implementation. I need extra GPIO4 not to block I2C when monitoring button press.
RPI5 has power button already on board extendable via prepared pad between HDMI and USB-C. I plan wire to HAT where I use FET to activate on board power button similar as GPIO3 now. Likely power-button is connected to an internal pin, not GPIO3.
So I suppose GPIO3 sleep feature is no more available on RPI5 so I can remove it (resp. leave it optional for RPI4) ?
What gestures are supported by power button? I read also about double click and hold-on for hard reset. I planned to add R-C to activate after e.g. 2 secs of holding HAT button but it seems impossible (because of double click). Is is somehow configurable in Raspbian ?
Note: I booting from NVMe SSD and RPI5 is waiting when starting to press power (which is hidden in case). I have my internal PSU 5V/4A on HAT so I have no official 27W PSU. I see there is option not to stop when booting from USB with 5A- PSU (PSU_MAX_CURRENT=5000 ??). Maybe it is related also to NVMe. But I would like to do it correctly as not-start-till-button-is-pressed is nice feature.
There is no schema published for RPI5, true ?
Thx
Tomas
Statistics: Posted by tma0 — Sun Dec 15, 2024 10:46 am — Replies 0 — Views 33