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.
21 lines
1.1 KiB
Text
21 lines
1.1 KiB
Text
# Bluetooth
|
|
/dev/rfkill 0660 bluetooth bluetooth
|
|
|
|
# Camera
|
|
/dev/media* 0660 system camera
|
|
/dev/v4l-subdev* 0660 system camera
|
|
/dev/video* 0660 system camera
|
|
|
|
# HDMI CEC
|
|
/dev/cec0 0660 system system
|
|
|
|
# DMA
|
|
/dev/dma_heap/linux,cma 0666 system graphics
|
|
/dev/dma_heap/system 0666 system graphics
|
|
|
|
# FFmpeg
|
|
/dev/media* 0660 media media
|
|
/dev/video* 0660 media media
|
|
|
|
# USB
|
|
/sys/class/udc/1000480000.usb current_speed 0664 system system
|