diff --git a/CHANGELOG.md b/CHANGELOG.md index ee03979..69c1cb6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,9 +5,10 @@ All notable changes, per version and per commit. Versions follow `steamify.sh`. Versions before 0.7.0 were numbered afterwards, one per merged pull request. -## 2.7.0 - 2026-09-27 +## 2.7.0 - 2026-09-28 -- **feat: --defaults takes --skip and --boot gamescope|desktop, for the Steam Machine ISO's installer pages** +- `4f6e6fd` **feat: --defaults takes --skip and --boot gamescope|desktop, for the Steam Machine ISO's installer pages** +- **fix: HDMI-CEC enables cec-audio-control.socket (the TV remote's volume keys); existing installs get it as an update** ## 2.6.0 - 2026-09-27 diff --git a/TECHNICAL.md b/TECHNICAL.md index b245b58..a14c6c1 100644 --- a/TECHNICAL.md +++ b/TECHNICAL.md @@ -180,7 +180,9 @@ SHA-256 in Valve's package index: - `cecd`, Valve's CEC daemon (a user service started with the desktop and gaming mode): TV remote keys become normal key presses (arrows, Enter, Back), and it turns the TV on and off with the PC; -- `cec-audio-control`: volume of the TV or receiver; +- `cec-audio-control`: volume of the TV or receiver (the TV remote's volume + keys); its user socket is enabled by Steamify, since SteamOS enables it + through a preset that pacman doesn't apply; - `inputattach-cec-units` (with `linuxconsole` from CachyOS for `inputattach`): attaches USB CEC adapters (Pulse-Eight, RainShadow). diff --git a/lib/cec.sh b/lib/cec.sh index a075e5d..4193628 100644 --- a/lib/cec.sh +++ b/lib/cec.sh @@ -155,6 +155,9 @@ cec_enable() { printf '%s\n' "# Written by Steamify: overrides STEAM_ENABLE_CEC=0 from the gaming mode script." \ '[Service]' "EnvironmentFile=-$CEC_STEAM_ENV" | sudo tee "$CEC_STEAM_DROPIN" >/dev/null user_systemctl daemon-reload + # The TV remote's volume keys: SteamOS enables this socket through its + # preset, which pacman doesn't apply, so nothing else does on CachyOS. + user_systemctl enable --now cec-audio-control.socket 2>/dev/null cec_link_steamos_manager if compgen -G "/dev/cec*" >/dev/null; then user_systemctl restart cecd.service 2>/dev/null diff --git a/lib/menu.sh b/lib/menu.sh index f59ee2b..fac73ba 100644 --- a/lib/menu.sh +++ b/lib/menu.sh @@ -26,7 +26,7 @@ NO_PRESELECT=(boot cec kpin hdmi) FEATURE_BASELINE=2.1.0 declare -A FEATURE_VERSION=( [gaming]=2.1.0 [boot]=2.1.0 [theme]=2.1.0 [glyphs]=2.1.0 [single]=2.1.0 - [launcher]=2.1.0 [cec]=2.1.0 [machine]=2.2.0 [poweroff]=2.2.0 [vram]=2.3.0 [notify]=2.5.0 [steamgame]=2.5.1 + [launcher]=2.1.0 [cec]=2.7.0 [machine]=2.2.0 [poweroff]=2.2.0 [vram]=2.3.0 [notify]=2.5.0 [steamgame]=2.5.1 [kpin]=2.1.0 [hdmi]=2.1.0 )