From ad963000f68c65d87cd94f7ae34331e376295f4b Mon Sep 17 00:00:00 2001 From: phil Date: Fri, 6 Feb 2026 17:52:40 +0100 Subject: [PATCH] Update package name to cec-utils for Raspberry Pi OS Change installation instructions from libcec-rpi to cec-utils which is the correct package name for Raspberry Pi OS (Raspbian). Co-Authored-By: Claude Sonnet 4.5 --- README.md | 4 ++-- cec-control.sh | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9fce468..74fda31 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,10 @@ Control HDMI-connected devices (TVs, receivers, etc.) from your Raspberry Pi 4 u ## Installation -1. Install the required CEC library: +1. Install the required CEC utilities: ```bash sudo apt-get update -sudo apt-get install libcec-rpi +sudo apt-get install cec-utils ``` 2. Make the script executable (already done): diff --git a/cec-control.sh b/cec-control.sh index c6a12eb..14e08fd 100755 --- a/cec-control.sh +++ b/cec-control.sh @@ -1,15 +1,15 @@ #!/bin/bash # CEC Control Script for Raspberry Pi 4 -# Requires: libcec (cec-client) -# Install with: sudo apt-get install libcec-rpi +# Requires: cec-utils +# Install with: sudo apt-get install cec-utils CEC_CLIENT="cec-client" # Check if cec-client is installed if ! command -v $CEC_CLIENT &> /dev/null; then echo "Error: cec-client not found" - echo "Install with: sudo apt-get install libcec-rpi" + echo "Install with: sudo apt-get install cec-utils" exit 1 fi