2.5. ioctl CEC_ADAP_G_CAPS¶
CEC_ADAP_G_CAPS - Query device capabilities
All cec devices must support ioctl CEC_ADAP_G_CAPS. To query
device information, applications call the ioctl with a pointer to a
cec_caps. The driver fills the structure and
returns the information to the application. The ioctl never fails.
|The name of the cec adapter driver.
|The name of this CEC adapter. The combination
name must be unique.
|The capabilities of the CEC adapter, see CEC Capabilities Flags.
|CEC Framework API version, formatted with the
Userspace has to configure the physical address by calling ioctl CEC_ADAP_S_PHYS_ADDR. If this capability isn’t set, then setting the physical address is handled by the kernel whenever the EDID is set (for an HDMI receiver) or read (for an HDMI transmitter).
Userspace has to configure the logical addresses by calling ioctl CEC_ADAP_S_LOG_ADDRS. If this capability isn’t set, then the kernel will have configured this.
Userspace can transmit CEC messages by calling ioctl CEC_TRANSMIT. This implies that userspace can be a follower as well, since being able to transmit messages is a prerequisite of becoming a follower. If this capability isn’t set, then the kernel will handle all CEC transmits and process all CEC messages it receives.
Userspace can use the passthrough mode by calling ioctl CEC_S_MODE.
This adapter supports the remote control protocol.
The CEC hardware can monitor all messages, not just directed and broadcast messages.
The CEC hardware is only active if the HDMI Hotplug Detect pin is high. This makes it impossible to use CEC to wake up displays that set the HPD pin low when in standby mode, but keep the CEC bus alive.
The CEC hardware can monitor CEC pin changes from low to high voltage
and vice versa. When in pin monitoring mode the application will
If this capability is set, then ioctl CEC_ADAP_G_CONNECTOR_INFO can be used.