1 .. -*- coding: utf-8; mode: rst -*-
12 FE_GET_INFO - Query DVB frontend capabilities and returns information about the - front-end. This call only requires read-only access to the device
18 .. cpp:function:: int ioctl( int fd, int request, struct dvb_frontend_info *argp )
25 File descriptor returned by :ref:`open() <frontend_f_open>`.
31 pointer to struct struct
32 :ref:`dvb_frontend_info <dvb-frontend-info>`
38 All DVB frontend devices support the ``FE_GET_INFO`` ioctl. It is used
39 to identify kernel devices compatible with this specification and to
40 obtain information about driver and hardware capabilities. The ioctl
41 takes a pointer to dvb_frontend_info which is filled by the driver.
42 When the driver is not compatible with this specification the ioctl
45 .. _dvb-frontend-info:
47 struct dvb_frontend_info
48 ========================
50 .. flat-table:: struct dvb_frontend_info
62 - Name of the frontend
70 - **DEPRECATED**. DVBv3 type. Should not be used on modern programs,
71 as a frontend may have more than one type. So, the DVBv5 API
72 should be used instead to enumerate and select the frontend type.
80 - Minimal frequency supported by the frontend
88 - Maximal frequency supported by the frontend
96 - Frequency step - all frequencies are multiple of this value
102 - frequency_tolerance
104 - Tolerance of the frequency
112 - Minimal symbol rate (for Cable/Satellite systems), in bauds
120 - Maximal symbol rate (for Cable/Satellite systems), in bauds
126 - symbol_rate_tolerance
128 - Maximal symbol rate tolerance, in ppm
136 - **DEPRECATED**. Not used by any driver.
140 - enum :ref:`fe_caps <fe-caps>`
144 - Capabilities supported by the frontend
147 .. note:: The frequencies are specified in Hz for Terrestrial and Cable
148 systems. They're specified in kHz for Satellite systems
153 frontend capabilities
154 =====================
156 Capabilities describe what a frontend can do. Some capabilities are
157 supported only on some specific frontend types.
162 .. flat-table:: enum fe_caps
179 - There's something wrong at the frontend, and it can't report its
184 - .. _FE-CAN-INVERSION-AUTO:
186 ``FE_CAN_INVERSION_AUTO``
188 - The frontend is capable of auto-detecting inversion
192 - .. _FE-CAN-FEC-1-2:
196 - The frontend supports FEC 1/2
200 - .. _FE-CAN-FEC-2-3:
204 - The frontend supports FEC 2/3
208 - .. _FE-CAN-FEC-3-4:
212 - The frontend supports FEC 3/4
216 - .. _FE-CAN-FEC-4-5:
220 - The frontend supports FEC 4/5
224 - .. _FE-CAN-FEC-5-6:
228 - The frontend supports FEC 5/6
232 - .. _FE-CAN-FEC-6-7:
236 - The frontend supports FEC 6/7
240 - .. _FE-CAN-FEC-7-8:
244 - The frontend supports FEC 7/8
248 - .. _FE-CAN-FEC-8-9:
252 - The frontend supports FEC 8/9
256 - .. _FE-CAN-FEC-AUTO:
260 - The frontend can autodetect FEC.
268 - The frontend supports QPSK modulation
276 - The frontend supports 16-QAM modulation
284 - The frontend supports 32-QAM modulation
292 - The frontend supports 64-QAM modulation
296 - .. _FE-CAN-QAM-128:
300 - The frontend supports 128-QAM modulation
304 - .. _FE-CAN-QAM-256:
308 - The frontend supports 256-QAM modulation
312 - .. _FE-CAN-QAM-AUTO:
316 - The frontend can autodetect modulation
320 - .. _FE-CAN-TRANSMISSION-MODE-AUTO:
322 ``FE_CAN_TRANSMISSION_MODE_AUTO``
324 - The frontend can autodetect the transmission mode
328 - .. _FE-CAN-BANDWIDTH-AUTO:
330 ``FE_CAN_BANDWIDTH_AUTO``
332 - The frontend can autodetect the bandwidth
336 - .. _FE-CAN-GUARD-INTERVAL-AUTO:
338 ``FE_CAN_GUARD_INTERVAL_AUTO``
340 - The frontend can autodetect the guard interval
344 - .. _FE-CAN-HIERARCHY-AUTO:
346 ``FE_CAN_HIERARCHY_AUTO``
348 - The frontend can autodetect hierarch
356 - The frontend supports 8-VSB modulation
364 - The frontend supports 16-VSB modulation
368 - .. _FE-HAS-EXTENDED-CAPS:
370 ``FE_HAS_EXTENDED_CAPS``
376 - .. _FE-CAN-MULTISTREAM:
378 ``FE_CAN_MULTISTREAM``
380 - The frontend supports multistream filtering
384 - .. _FE-CAN-TURBO-FEC:
388 - The frontend supports turbo FEC modulation
392 - .. _FE-CAN-2G-MODULATION:
394 ``FE_CAN_2G_MODULATION``
396 - The frontend supports "2nd generation modulation" (DVB-S2/T2)>
400 - .. _FE-NEEDS-BENDING:
404 - Not supported anymore, don't use it
408 - .. _FE-CAN-RECOVER:
412 - The frontend can recover from a cable unplug automatically
416 - .. _FE-CAN-MUTE-TS:
420 - The frontend can stop spurious TS data output
426 On success 0 is returned, on error -1 and the ``errno`` variable is set
427 appropriately. The generic error codes are described at the
428 :ref:`Generic Error Codes <gen-errors>` chapter.