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 <noreply@anthropic.com>
This commit is contained in:
2026-02-06 17:52:40 +01:00
parent 7395b7c94f
commit ad963000f6
2 changed files with 5 additions and 5 deletions

View File

@@ -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):

View File

@@ -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