FE_GET_INFO — Query DVB frontend capabilities and returns information about the front-end. This call only requires read-only access to the device
int ioctl( | int fd, |
int request, | |
struct dvb_frontend_info *argp) ; |
fd
File descriptor returned by open()
.
request
FE_GET_INFO
argp
pointer to struct struct dvb_frontend_info
All DVB frontend devices support the
FE_GET_INFO
ioctl. It is used to identify
kernel devices compatible with this specification and to obtain
information about driver and hardware capabilities. The ioctl takes a
pointer to dvb_frontend_info which is filled by the driver. When the
driver is not compatible with this specification the ioctl returns an error.
RETURN VALUE
On success 0 is returned, on error -1 and the errno
variable is set appropriately. The generic error codes are described at the Generic Error Codes chapter.
Table 9.17. struct dvb_frontend_info
char | name[128] | Name of the frontend |
fe_type_t | type | DEPRECATED. DVBv3 type. Should not be used on modern programs, as a frontend may have more than one type. So, the DVBv5 API should be used instead to enumerate and select the frontend type. |
uint32_t | frequency_min | Minimal frequency supported by the frontend |
uint32_t | frequency_max | Maximal frequency supported by the frontend |
uint32_t | frequency_stepsize | Frequency step - all frequencies are multiple of this value |
uint32_t | frequency_tolerance | Tolerance of the frequency |
uint32_t | symbol_rate_min | Minimal symbol rate (for Cable/Satellite systems), in bauds |
uint32_t | symbol_rate_max | Maximal symbol rate (for Cable/Satellite systems), in bauds |
uint32_t | symbol_rate_tolerance | Maximal symbol rate tolerance, in ppm |
uint32_t | notifier_delay | DEPRECATED. Not used by any driver. |
enum fe_caps | caps | Capabilities supported by the frontend |
NOTE: The frequencies are specified in Hz for Terrestrial and Cable systems. They're specified in kHz for Satellite systems
Capabilities describe what a frontend can do. Some capabilities are supported only on some specific frontend types.
Table 9.18. enum fe_caps