Does anyone know how I might be able to programmatically switch the monitor off? It's connected by HDMI. I'd be happy if I could just disable output from the HDMI port, and then the monitor would switch itself off, but I can't manage even this!
I've tried
- Code: Select all
$ xset dpms force off
but this just blanks the screen - the LCD monitor remains on. I think this is because the monitor is connected over HDMI, and so the EnergyStar stuff doesn't work.
I've also tried code that's supposed to disable the driver in the kernel:
- Code: Select all
# echo "bcm2708_fb" > /sys/bus/platform/drivers/bcm2708_fb/unbind
This seemed to work (/dev/fb0 disappeared), but the display (with X running) carried on regardless.
Anybody got any other ideas? I think HDMI-CEC would be the gold-plated solution, and I know people are working on libcec, but I've no idea when this will be released.
The project is an always-on device, but to save power I want to power down the monitor when it's not needed.