Quantcast
Viewing all articles
Browse latest Browse all 4878

Troubleshooting • Re: Turn on/off HDMI: not tvservice, not vcenvcmd, not dtparam (despite man pages), so how...?

viewtopic.php?p=2193323#p2192996

ddccontrol might be another option for you.
Any recent monitor will implement some subset of the Monitor Control Command Set (MCCS), which specifies a set of Virtual Control Panel (VCP) features which were communicated over the I2C bus using the DDC/CI protocol.

VCP feature xd6 (Power Mode) defines an argument x05 to turn off the display. Check if your monitor implements feature xd6, and verify if it accepts x05 as an argument. If so you can use that to turn off the display.

NOTE: the program seems to require a kernel with a 4k page size, hence can't be used on a stock Pi5!

Anyhow, running it (sudo ddccontrol -p) and checking the result gives here

Code:

.. > Power control> id=power, name=Power control, address=0xd6, delay=-1ms, type=2  Possible values:> id=off - name=Off, value=5> id=on - name=On, value=1  supported, value=1, maximum=5
So writing the value '5' to 0xd6 will turn the monitor off, writing the value '1' to 0xd6 will turn it back on

Code:

# Show documentation for VCP feature 0xd6.ddcutil vcpinfo d6 --verbose# OFFddcutil setvcp d6 5# ONddcutil setvcp d6 1
That works as well with my CCC controller although it doesn't list said capability!

Statistics: Posted by aBUGSworstnightmare — Wed Feb 14, 2024 12:23 pm



Viewing all articles
Browse latest Browse all 4878

Trending Articles