CommentStreams:8e20d7e972cfea3a19d778df4d89b2a5: Difference between revisions
No edit summary |
No edit summary |
||
| Line 10: | Line 10: | ||
Variables eliminated. This is the configuration used: | Variables eliminated. This is the configuration used: | ||
<pre> | |||
Raspberry Pi 4B, Raspberry Pi OS Trixie, kernel 6.6+, libgpiod 2.2.x | Raspberry Pi 4B, Raspberry Pi OS Trixie, kernel 6.6+, libgpiod 2.2.x | ||
X728 V2.5, X728-C1 case, two Panasonic NCR18650B cells (tested both installed and removed) | X728 V2.5, X728-C1 case, two Panasonic NCR18650B cells (tested both installed and removed) | ||
AON jumper shorted, CHG EN jumper shorted (no measurable effect on the alternation either way) | AON jumper shorted, CHG EN jumper shorted (no measurable effect on the alternation either way) | ||
dtoverlay=gpio-poweroff,gpiopin=26,timeout_ms=6000 in /boot/firmware/config.txt | dtoverlay=gpio-poweroff,gpiopin=26,timeout_ms=6000 in /boot/firmware/config.txt | ||
xPWR.sh corrected for libgpiod 2.x to hold GPIO12 high via a backgrounded gpioset | xPWR.sh corrected for libgpiod 2.x to hold GPIO12 high via a backgrounded gpioset | ||
xSoft.sh removed from the shutdown path; sudo shutdown -h now used directly, so no Geekworm script is involved in the actual shutdown | xSoft.sh removed from the shutdown path; sudo shutdown -h now used directly, so no Geekworm script is involved in the actual shutdown | ||
</pre> | |||
gpioinfo -c 0 26 confirms output consumer="power_ctrl" — GPIO26 is owned by the kernel overlay and driven correctly through the halt. gpioinfo -c 0 12 confirms consumer="gpioset" while running. | gpioinfo -c 0 26 confirms output consumer="power_ctrl" — GPIO26 is owned by the kernel overlay and driven correctly through the halt. gpioinfo -c 0 12 confirms consumer="gpioset" while running. | ||