I'm currently trying to write a simple script that turns on and off my monitor connected to the rpi via hdmi-to-dvi cable.
I can turn off the monitor without issue using:
tvservice -o
However when I use tvservice -p
the monitor will wake but it will be a blank screen (Monitor is on but is black and keeps try to switch between analog/digital to find a signal.)
I've changed the /boot/config.txt
to:
hdmi_force_hotplug=1
I've also disabled screen blanking to no avail.
How can I power on my monitor without it resulting in blank screen?