1
0
Fork 0
Commit graph

2 commits

Author SHA1 Message Date
8b7cdd6f38 Enable HDMI CEC and add HDMI hotplug monitoring
Install the HDMI CEC and HDMI connection APEX packages plus the
android.hardware.hdmi.cec.xml feature file, set the playback-device
CEC properties, and give system ownership of /dev/cec0 in ueventd.

The connection HAL now reports a single HDMI output port and monitors
/sys/class/drm/card0-HDMI-A-1/status with poll(), reporting hotplug
transitions through the AIDL callback and shutting the monitor thread
down through an eventfd.

The CEC HAL now polls POLLPRI for CEC_DQEVENT and POLLIN for
CEC_RECEIVE, guards the ioctl paths against an uninitialised adapter,
and bounds message length by CEC_MAX_MSG_SIZE.
2026-08-09 22:18:52 -04:00
ae84f8e65e Add device tree for Orange Pi 5 Ultra LineageOS ATV 2026-07-10 17:56:31 -04:00