#linux-api #hdmi #cec #pure #raspberry #driver #bookworm

cec_linux

A pure rust library to use the HDMI-CEC linux API

3 unstable releases

0.2.0 Mar 3, 2024
0.1.1 Jan 30, 2024
0.1.0 Dec 6, 2023

#283 in Hardware support

44 downloads per month

MIT license

87KB
1K SLoC

Project Status: Active – The project has reached a stable, usable state and is being actively developed. GitHub GitHub Workflow Status crates.io Released API docs

A pure rust library to use the CEC linux API (as found on Raspberry Pis with bookworm)

Background

While libcec and thus cec-rs also works with the linux driver, I noticed after upgrading from bullseye to bookworm that some messages are only visible to me in monitor mode. So they are missing in cec-rs as well as the old firmware driver is gone in bookworm.

Dependencies

~2–13MB
~128K SLoC