Jump to content
Sign in to follow this  
Charles Darwin

HDMI CEC - switch your TV on and off

Recommended Posts

One would think that a media center / video game console can handle HDMI CEC. In other words the VCS is supposed to switch your TV on and off at startup and shutdown. I could not find any CEC-functionality and I assume it's not built in. So I bought an external HDMI-CEC adapter from here (yes...it is expensive) installed the cec-utils package in Linux Mint and realized that it is a bit more complicated than I thought 😉


The adapter is made for Kodi, but I wanted my VCS to switch the TV at startup and shutdown. So I created two scripts in my home directory (subfolder scripts)...sh-files are attached.

A start_and_stop.service file I put in /etc/systemd/system...file is attached.

Then I activated the service as described here and here.


Now my VCS switches the TV on (HDMI 1) and switches it off automatically...and I can forget about my TV remote 😉

TV-off.sh TV-on.sh start_and_stop.service

  • Like 2

Share this post

Link to post
Share on other sites

It is still possible that there is a CEC-chip somewhere on the VCS. Maybe it is just deactivated? I could not find anything in the BIOS. When I do a scan, it gives me an error on one address...so maybe this is it.


echo 'scan' | cec-client -s -d 1


anyway...I dont care...just happy that it works now on my VCS 😉


  • Like 1

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...