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 .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
52 .. flat-table:: struct dvb_frontend_info
64 - Name of the frontend
72 - **DEPRECATED**. DVBv3 type. Should not be used on modern programs,
73 as a frontend may have more than one type. So, the DVBv5 API
74 should be used instead to enumerate and select the frontend type.
82 - Minimal frequency supported by the frontend
90 - Maximal frequency supported by the frontend
98 - Frequency step - all frequencies are multiple of this value
104 - frequency_tolerance
106 - Tolerance of the frequency
114 - Minimal symbol rate (for Cable/Satellite systems), in bauds
122 - Maximal symbol rate (for Cable/Satellite systems), in bauds
128 - symbol_rate_tolerance
130 - Maximal symbol rate tolerance, in ppm
138 - **DEPRECATED**. Not used by any driver.
142 - enum :ref:`fe_caps <fe-caps>`
146 - Capabilities supported by the frontend
151 The frequencies are specified in Hz for Terrestrial and Cable
152 systems. They're specified in kHz for Satellite systems
157 frontend capabilities
158 =====================
160 Capabilities describe what a frontend can do. Some capabilities are
161 supported only on some specific frontend types.
163 .. tabularcolumns:: |p{6.5cm}|p{11.0cm}|
167 .. flat-table:: enum fe_caps
184 - There's something wrong at the frontend, and it can't report its
189 - .. _FE-CAN-INVERSION-AUTO:
191 ``FE_CAN_INVERSION_AUTO``
193 - The frontend is capable of auto-detecting inversion
197 - .. _FE-CAN-FEC-1-2:
201 - The frontend supports FEC 1/2
205 - .. _FE-CAN-FEC-2-3:
209 - The frontend supports FEC 2/3
213 - .. _FE-CAN-FEC-3-4:
217 - The frontend supports FEC 3/4
221 - .. _FE-CAN-FEC-4-5:
225 - The frontend supports FEC 4/5
229 - .. _FE-CAN-FEC-5-6:
233 - The frontend supports FEC 5/6
237 - .. _FE-CAN-FEC-6-7:
241 - The frontend supports FEC 6/7
245 - .. _FE-CAN-FEC-7-8:
249 - The frontend supports FEC 7/8
253 - .. _FE-CAN-FEC-8-9:
257 - The frontend supports FEC 8/9
261 - .. _FE-CAN-FEC-AUTO:
265 - The frontend can autodetect FEC.
273 - The frontend supports QPSK modulation
281 - The frontend supports 16-QAM modulation
289 - The frontend supports 32-QAM modulation
297 - The frontend supports 64-QAM modulation
301 - .. _FE-CAN-QAM-128:
305 - The frontend supports 128-QAM modulation
309 - .. _FE-CAN-QAM-256:
313 - The frontend supports 256-QAM modulation
317 - .. _FE-CAN-QAM-AUTO:
321 - The frontend can autodetect modulation
325 - .. _FE-CAN-TRANSMISSION-MODE-AUTO:
327 ``FE_CAN_TRANSMISSION_MODE_AUTO``
329 - The frontend can autodetect the transmission mode
333 - .. _FE-CAN-BANDWIDTH-AUTO:
335 ``FE_CAN_BANDWIDTH_AUTO``
337 - The frontend can autodetect the bandwidth
341 - .. _FE-CAN-GUARD-INTERVAL-AUTO:
343 ``FE_CAN_GUARD_INTERVAL_AUTO``
345 - The frontend can autodetect the guard interval
349 - .. _FE-CAN-HIERARCHY-AUTO:
351 ``FE_CAN_HIERARCHY_AUTO``
353 - The frontend can autodetect hierarch
361 - The frontend supports 8-VSB modulation
369 - The frontend supports 16-VSB modulation
373 - .. _FE-HAS-EXTENDED-CAPS:
375 ``FE_HAS_EXTENDED_CAPS``
381 - .. _FE-CAN-MULTISTREAM:
383 ``FE_CAN_MULTISTREAM``
385 - The frontend supports multistream filtering
389 - .. _FE-CAN-TURBO-FEC:
393 - The frontend supports turbo FEC modulation
397 - .. _FE-CAN-2G-MODULATION:
399 ``FE_CAN_2G_MODULATION``
401 - The frontend supports "2nd generation modulation" (DVB-S2/T2)>
405 - .. _FE-NEEDS-BENDING:
409 - Not supported anymore, don't use it
413 - .. _FE-CAN-RECOVER:
417 - The frontend can recover from a cable unplug automatically
421 - .. _FE-CAN-MUTE-TS:
425 - The frontend can stop spurious TS data output
431 On success 0 is returned, on error -1 and the ``errno`` variable is set
432 appropriately. The generic error codes are described at the
433 :ref:`Generic Error Codes <gen-errors>` chapter.