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 .. c:function:: int ioctl( int fd, FE_GET_INFO, struct dvb_frontend_info *argp )
26 File descriptor returned by :ref:`open() <frontend_f_open>`.
29 pointer to struct struct
30 :c:type:`dvb_frontend_info`
36 All DVB frontend devices support the ``FE_GET_INFO`` ioctl. It is used
37 to identify kernel devices compatible with this specification and to
38 obtain information about driver and hardware capabilities. The ioctl
39 takes a pointer to dvb_frontend_info which is filled by the driver.
40 When the driver is not compatible with this specification the ioctl
43 .. c:type:: dvb_frontend_info
45 .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
47 .. flat-table:: struct dvb_frontend_info
59 - Name of the frontend
67 - **DEPRECATED**. DVBv3 type. Should not be used on modern programs,
68 as a frontend may have more than one type. So, the DVBv5 API
69 should be used instead to enumerate and select the frontend type.
77 - Minimal frequency supported by the frontend
85 - Maximal frequency supported by the frontend
93 - Frequency step - all frequencies are multiple of this value
101 - Tolerance of the frequency
109 - Minimal symbol rate (for Cable/Satellite systems), in bauds
117 - Maximal symbol rate (for Cable/Satellite systems), in bauds
123 - symbol_rate_tolerance
125 - Maximal symbol rate tolerance, in ppm
133 - **DEPRECATED**. Not used by any driver.
137 - enum :c:type:`fe_caps`
141 - Capabilities supported by the frontend
146 The frequencies are specified in Hz for Terrestrial and Cable
147 systems. They're specified in kHz for Satellite systems
150 frontend capabilities
151 =====================
153 Capabilities describe what a frontend can do. Some capabilities are
154 supported only on some specific frontend types.
158 .. tabularcolumns:: |p{6.5cm}|p{11.0cm}|
160 .. flat-table:: enum fe_caps
177 - There's something wrong at the frontend, and it can't report its
182 - .. _FE-CAN-INVERSION-AUTO:
184 ``FE_CAN_INVERSION_AUTO``
186 - The frontend is capable of auto-detecting inversion
190 - .. _FE-CAN-FEC-1-2:
194 - The frontend supports FEC 1/2
198 - .. _FE-CAN-FEC-2-3:
202 - The frontend supports FEC 2/3
206 - .. _FE-CAN-FEC-3-4:
210 - The frontend supports FEC 3/4
214 - .. _FE-CAN-FEC-4-5:
218 - The frontend supports FEC 4/5
222 - .. _FE-CAN-FEC-5-6:
226 - The frontend supports FEC 5/6
230 - .. _FE-CAN-FEC-6-7:
234 - The frontend supports FEC 6/7
238 - .. _FE-CAN-FEC-7-8:
242 - The frontend supports FEC 7/8
246 - .. _FE-CAN-FEC-8-9:
250 - The frontend supports FEC 8/9
254 - .. _FE-CAN-FEC-AUTO:
258 - The frontend can autodetect FEC.
266 - The frontend supports QPSK modulation
274 - The frontend supports 16-QAM modulation
282 - The frontend supports 32-QAM modulation
290 - The frontend supports 64-QAM modulation
294 - .. _FE-CAN-QAM-128:
298 - The frontend supports 128-QAM modulation
302 - .. _FE-CAN-QAM-256:
306 - The frontend supports 256-QAM modulation
310 - .. _FE-CAN-QAM-AUTO:
314 - The frontend can autodetect modulation
318 - .. _FE-CAN-TRANSMISSION-MODE-AUTO:
320 ``FE_CAN_TRANSMISSION_MODE_AUTO``
322 - The frontend can autodetect the transmission mode
326 - .. _FE-CAN-BANDWIDTH-AUTO:
328 ``FE_CAN_BANDWIDTH_AUTO``
330 - The frontend can autodetect the bandwidth
334 - .. _FE-CAN-GUARD-INTERVAL-AUTO:
336 ``FE_CAN_GUARD_INTERVAL_AUTO``
338 - The frontend can autodetect the guard interval
342 - .. _FE-CAN-HIERARCHY-AUTO:
344 ``FE_CAN_HIERARCHY_AUTO``
346 - The frontend can autodetect hierarch
354 - The frontend supports 8-VSB modulation
362 - The frontend supports 16-VSB modulation
366 - .. _FE-HAS-EXTENDED-CAPS:
368 ``FE_HAS_EXTENDED_CAPS``
374 - .. _FE-CAN-MULTISTREAM:
376 ``FE_CAN_MULTISTREAM``
378 - The frontend supports multistream filtering
382 - .. _FE-CAN-TURBO-FEC:
386 - The frontend supports turbo FEC modulation
390 - .. _FE-CAN-2G-MODULATION:
392 ``FE_CAN_2G_MODULATION``
394 - The frontend supports "2nd generation modulation" (DVB-S2/T2)>
398 - .. _FE-NEEDS-BENDING:
402 - Not supported anymore, don't use it
406 - .. _FE-CAN-RECOVER:
410 - The frontend can recover from a cable unplug automatically
414 - .. _FE-CAN-MUTE-TS:
418 - The frontend can stop spurious TS data output
424 On success 0 is returned, on error -1 and the ``errno`` variable is set
425 appropriately. The generic error codes are described at the
426 :ref:`Generic Error Codes <gen-errors>` chapter.