Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Raspberry Pi: Can I turn on a monitor over HDMI?

I have a Model A Raspberry Pi running Raspbian. It is connected to a small monitor by HDMI (the monitor model: FEELWORLD FW819HAT).

I'm currently working on making something similar to a digital picture frame, and I would like the monitor to automatically turn on and begin displaying pictures as soon as my Pi boots up. Right now, after plugging everything in I still have to press a button on the monitor for it to display anything. Therefore I was hoping to I could send a signal from the Pi over the HDMI that would force the monitor to turn on.

So far my research has turned up tvservice as one way to turn on and off a monitor connected to the Pi. This is the command I've used to try turning the monitor on:

/opt/vc/bin/tvservice -p

This doesn't work the way I want it to. When I already have turned the monitor on once, I can turn it off and on again with tvservice, but on boot up (before I've pressed the monitor's on-switch) the same commands seem to do nothing.

Where am I going wrong? Is there a way to do what I'm trying to do?

like image 384
ledoux Avatar asked Jan 17 '26 22:01

ledoux


1 Answers

Yes, if your monitor supports HDMI CEC (not all do). If so, you can use libcec to send a power signal.

http://www.raspberrypi.org/forums/viewtopic.php?t=15749

like image 191
Noah Avatar answered Jan 21 '26 08:01

Noah