News for hackers. Stuff that matters.
Re:Raspberry Pi 5 by moffkalast on Thursday September 28, 2023 @04:15AM (#37686775)
True, I've gotten my Pi 4 pretty low (< 1W), disabling the LEDs, Ethernet, HDMI, and USB controller, but it's never gonna equal a proper suspend.
Re:Raspberry Pi 5 by Fnoord on Thursday September 28, 2023 @04:39AM (#37686949)
[delayed]
Re:Raspberry Pi 5 by pja on Thursday September 28, 2023 @04:49AM (#37687007)
Add

    # Disable Power LED after boot
    dtparam=pwr_led_activelow=off
    # Disable SD card activity led
    dtparam=act_led_trigger=none
    dtparam=act_led_activelow=off
    # Disable the ethernet LEDs - these are Pi4 specific values.
    # Look in the docs for the values for other Pi boards.
    dtparam=eth_led0=4
    dtparam=eth_led1=4
to /boot/config.txt
Re:Raspberry Pi 5 by Fnoord on Thursday September 28, 2023 @05:49AM (#37687367)
Thank you!

It appears to depend on firmware or kernel but for recent kernels (recent 6.1 or 6.2) activelow is no longer necessary [1]. It seems to work on CM4.

[1] https://github.com/raspberrypi/firmware/issues/1742

Re:Raspberry Pi 5 by doubled112 on Thursday September 28, 2023 @08:19AM (#37688537)
I've had this drive me crazy.

The required lines were different between the Pi 2 and Pi 4 I was using at the time, and the documentation was not updated (or I'd found old docs).

An exercise in trial and error.

Re:Raspberry Pi 5 by sapiogram on Thursday September 28, 2023 @10:14AM (#37689896)
1W is honestly not that great, though. A smartphone will do 10x that out of the box, and still pling for Facebook notifications.
Re:Raspberry Pi 5 by nine_k on Thursday September 28, 2023 @10:41AM (#37690226)
A smartphone has two entirely separate computers in it, the one that runs Android or iOS, and the baseband controller. The latter is built to be very power-efficient while waiting for a radio signal. It will wake up the dormant application OS computer when a push notification comes in.

The same likely can be built on top of an RPi, using, say, wake-on-LAN signaling, or some GPIO as an interrupt source. You'll have to suspend your OS while idle for a prolonged time though.