Code: Select all
# xset dpms force offCode: Select all
# vbetool dpms offCode: Select all
# xset dpms force offCode: Select all
# vbetool dpms off
Is your PC connected to your TV via VGA or HDMI?Wikipedia article on DPMS wrote:The standard defines how to signal the H-sync and V-sync pins in a standard SVGA monitor to trigger the monitor's power saving capabilities.
Code: Select all
$ eix libcec
* dev-libs/libcec
Available versions: 2.1.3 (~)2.1.4 (~)2.2.0 {cubox debug exynos raspberry-pi static-libs xrandr}
Homepage: http://libcec.pulse-eight.com
Description: Library for communicating with the Pulse-Eight USB HDMI-CEC AdaptorCode: Select all
# cec-client -l
Found devices: NONEInteresting adapter nice to know it exists. So its the HDMI port in the video cards that are not typically not supporting the CEC (Consumer Electronics Control)?Fitzcarraldo wrote:As far as I know the xset dpms command only works if you're using a VGA connection:
Is your PC connected to your TV via VGA or HDMI?Wikipedia article on DPMS wrote:The standard defines how to signal the H-sync and V-sync pins in a standard SVGA monitor to trigger the monitor's power saving capabilities.
If you are using HDMI, does your video card support the HDMI CEC (Consumer Electronics Control) protocol? If not, the library libCEC is available for a Pulse-Eight USB-to-CEC adapter, which might do the job in your case.
More information is available in the KODI Wiki article on CEC.Code: Select all
$ eix libcec * dev-libs/libcec Available versions: 2.1.3 (~)2.1.4 (~)2.2.0 {cubox debug exynos raspberry-pi static-libs xrandr} Homepage: http://libcec.pulse-eight.com Description: Library for communicating with the Pulse-Eight USB HDMI-CEC Adaptor

Yes, although I don't know about the latest models. Surprisingly, a lot of HTPCs do not support CEC (see http://kodi.wiki/view/CEC#CEC-capable_HTPCs). So, if you want to be able to use CEC, be sure to ask the manufacturer of the video card (or HTPC, or box-PC) if the HDMI port supports CEC. See https://en.wikipedia.org/wiki/HDMI which gives a detailed explanation. CEC is on HDMI Pin 13 (Pin 14 on Type C connector, Pin 15 on Type D connector).turtles wrote:So its the HDMI port in the video cards that are not typically not supporting the CEC (Consumer Electronics Control)?
Wikipedia wrote:Consumer Electronics Control (CEC) is an HDMI feature designed to allow the user to command and control up-to 15 CEC-enabled devices, that are connected through HDMI, by using only one of their remote controls (for example by controlling a television set, set-top box, and DVD player using only the remote control of the TV). CEC also allows for individual CEC-enabled devices to command and control each other without user intervention.[65]
It is a one-wire bidirectional serial bus that is based on the CENELEC standard AV.link protocol to perform remote control functions. CEC wiring is mandatory, although implementation of CEC in a product is optional. It was defined in HDMI Specification 1.0 and updated in HDMI 1.2, HDMI 1.2a and HDMI 1.3a (which added timer and audio commands to the bus). USB to CEC adapters exist that allow a computer to control CEC-enabled devices.