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 :ref:`dvb_frontend_info <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 .. _dvb-frontend-info:
45 struct dvb_frontend_info
46 ========================
48 .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
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
149 The frequencies are specified in Hz for Terrestrial and Cable
150 systems. They're specified in kHz for Satellite systems
155 frontend capabilities
156 =====================
158 Capabilities describe what a frontend can do. Some capabilities are
159 supported only on some specific frontend types.
161 .. tabularcolumns:: |p{6.5cm}|p{11.0cm}|
165 .. flat-table:: enum fe_caps
182 - There's something wrong at the frontend, and it can't report its
187 - .. _FE-CAN-INVERSION-AUTO:
189 ``FE_CAN_INVERSION_AUTO``
191 - The frontend is capable of auto-detecting inversion
195 - .. _FE-CAN-FEC-1-2:
199 - The frontend supports FEC 1/2
203 - .. _FE-CAN-FEC-2-3:
207 - The frontend supports FEC 2/3
211 - .. _FE-CAN-FEC-3-4:
215 - The frontend supports FEC 3/4
219 - .. _FE-CAN-FEC-4-5:
223 - The frontend supports FEC 4/5
227 - .. _FE-CAN-FEC-5-6:
231 - The frontend supports FEC 5/6
235 - .. _FE-CAN-FEC-6-7:
239 - The frontend supports FEC 6/7
243 - .. _FE-CAN-FEC-7-8:
247 - The frontend supports FEC 7/8
251 - .. _FE-CAN-FEC-8-9:
255 - The frontend supports FEC 8/9
259 - .. _FE-CAN-FEC-AUTO:
263 - The frontend can autodetect FEC.
271 - The frontend supports QPSK modulation
279 - The frontend supports 16-QAM modulation
287 - The frontend supports 32-QAM modulation
295 - The frontend supports 64-QAM modulation
299 - .. _FE-CAN-QAM-128:
303 - The frontend supports 128-QAM modulation
307 - .. _FE-CAN-QAM-256:
311 - The frontend supports 256-QAM modulation
315 - .. _FE-CAN-QAM-AUTO:
319 - The frontend can autodetect modulation
323 - .. _FE-CAN-TRANSMISSION-MODE-AUTO:
325 ``FE_CAN_TRANSMISSION_MODE_AUTO``
327 - The frontend can autodetect the transmission mode
331 - .. _FE-CAN-BANDWIDTH-AUTO:
333 ``FE_CAN_BANDWIDTH_AUTO``
335 - The frontend can autodetect the bandwidth
339 - .. _FE-CAN-GUARD-INTERVAL-AUTO:
341 ``FE_CAN_GUARD_INTERVAL_AUTO``
343 - The frontend can autodetect the guard interval
347 - .. _FE-CAN-HIERARCHY-AUTO:
349 ``FE_CAN_HIERARCHY_AUTO``
351 - The frontend can autodetect hierarch
359 - The frontend supports 8-VSB modulation
367 - The frontend supports 16-VSB modulation
371 - .. _FE-HAS-EXTENDED-CAPS:
373 ``FE_HAS_EXTENDED_CAPS``
379 - .. _FE-CAN-MULTISTREAM:
381 ``FE_CAN_MULTISTREAM``
383 - The frontend supports multistream filtering
387 - .. _FE-CAN-TURBO-FEC:
391 - The frontend supports turbo FEC modulation
395 - .. _FE-CAN-2G-MODULATION:
397 ``FE_CAN_2G_MODULATION``
399 - The frontend supports "2nd generation modulation" (DVB-S2/T2)>
403 - .. _FE-NEEDS-BENDING:
407 - Not supported anymore, don't use it
411 - .. _FE-CAN-RECOVER:
415 - The frontend can recover from a cable unplug automatically
419 - .. _FE-CAN-MUTE-TS:
423 - The frontend can stop spurious TS data output
429 On success 0 is returned, on error -1 and the ``errno`` variable is set
430 appropriately. The generic error codes are described at the
431 :ref:`Generic Error Codes <gen-errors>` chapter.