I recently stumbled upon a fix for a longstanding Raspberry PI annoyance - getting the monitor into powersave mode after a period of idle time. Here's a quick tweak that seems to work fine on native HDMI and VGA (via adapter*) monitors. Hopefully helpful to others.
I've played with Linux Power Management commands, utilities, screen savers and such in attempts to get Pi's to turn off (standby) monitors when idle. I recently hit upon a Raspberry Pi config option that seems to do the trick - not really sure when/where it appeared, but it does switch off the HDMI when Display Power Management (DPMS) is triggered, as opposed to simply blanking the screen. Works on Raspbian Stretch, have not tested previous versions. Dec 2021 FINAL Update - I STILL Use this! Procedure below has been moved to tech.tpedersen.net/raspberry-pi/pi-in-the-sky/putting-raspberry-pi-monitor-to-sleep-dpms so I don't lose it when Google shuts down this site! Jun 2020 Update - In spite of Buster Update noted below ... I STILL manually adjust /boot/config.txt & /boot/cmdline.txt to get HDMI to standby. Tested again today using 2020-05-27-raspios-buster-lite-armhf. Yeeesh! Feb 2020 Update - Looks like it's included in latest Buster Update. Screen Blanking under Advanced Options of Raspi-Config. Nov 2019 Notes - RPI 4 is fixed (or darn close). The Open Issue shows progress - Seems to work for me. May not be in latest release, but coming soon! Also - noticed that boot.txt and cmdline.txt were overwritten when I upgraded an RPI from stretch to buster ... had to redo blanking Sept 2019 Note - hdmi_blanking doesn't appear to be implemented on RPI 4 yet. Details here. ------ Oct 2018 (Original Post) The fix involves editing a couple of key configuration files - as always remember to make a backup copies before
type-o'ing in these files! Use sudo to edit files in boot partition *and* be careful!
As they say in IT - Works for me! Hope it works for others too.
Couple of random notes:
|
Projects & Studies >