2.8. ioctl CEC_ADAP_G_CONNECTOR_INFO¶
2.8.1. Name¶
CEC_ADAP_G_CONNECTOR_INFO - Query HDMI connector information
2.8.2. Synopsis¶
-
CEC_ADAP_G_CONNECTOR_INFO
¶
int ioctl(int fd, CEC_ADAP_G_CONNECTOR_INFO, struct cec_connector_info *argp)
2.8.4. Description¶
Using this ioctl an application can learn which HDMI connector this CEC
device corresponds to. While calling this ioctl the application should
provide a pointer to a cec_connector_info struct which will be populated
by the kernel with the info provided by the adapter’s driver. This ioctl
is only available if the CEC_CAP_CONNECTOR_INFO
capability is set.
-
cec_connector_info
¶
__u32 |
|
The type of connector this adapter is associated with. |
union { |
|
|
|
drm |
|
} |
|
0 |
No connector is associated with the adapter/the information is not provided by the driver. |
|
1 |
Indicates that a DRM connector is associated with this adapter. Information about the connector can be found in struct cec_drm_connector_info. |
-
cec_drm_connector_info
¶
__u32 |
|
DRM card number: the number from a card’s path, e.g. 0 in case of /dev/card0. |
__u32 |
|
DRM connector ID. |