/steamos-libcec-extension

libcec systemd system extension for SteamOS. With supported hardware adds CEC control of attached display.

Primary LanguageShellGNU General Public License v2.0GPL-2.0

steamos-libcec-extension

Add HDMI CEC support to SteamOS, requires supported hardware.

cec-install.sh sets up systemd-sysext then builds and installs an extension that includes libcec and systemd unit files.

The included systemd unit files will:

  • power on, resume: power on the TV and set SteamDeck as active source
  • power off, sleep: set the TV to standby
  • TODO: dock,undock

Installation

  1. Install supported hardware (tested with PulseEight USB-CEC Adapter )
  2. Switch to Desktop Mode
  3. open a terminal (Ctrl+Alt+t)
  4. curl -fsSLO https://github.com/deekue/steamos-libcec-extension/raw/main/cec-install.sh
  5. chmod +x cec-install.sh
  6. ./cec-install.sh install

Usage

Usage: cec-install.sh <install|update|uninstall>

install   install extension and activate
update    update extension and activate
uninstall deactive extension and remove

References