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
- Install supported hardware (tested with PulseEight USB-CEC Adapter )
- Switch to Desktop Mode
- open a terminal (Ctrl+Alt+t)
curl -fsSLO https://github.com/deekue/steamos-libcec-extension/raw/main/cec-install.sh
chmod +x cec-install.sh
./cec-install.sh install
Usage: cec-install.sh <install|update|uninstall>
install install extension and activate
update update extension and activate
uninstall deactive extension and remove
- https://blogs.igalia.com/berto/2022/09/13/adding-software-to-the-steam-deck-with-systemd-sysext/
- https://www.reddit.com/r/SteamDeck/comments/10nksyr/adding_hdmicec_to_a_dock_using_a_pulseeight_usb/j6a9k3z/?context=3
- https://wiki.archlinux.org/title/Power_management#Combined_suspend/resume_service_file
- https://github.com/Pulse-Eight/libcec/tree/master/systemd