GNU Linux-libre 6.1.90-gnu
[releases.git] / Documentation / userspace-api / media / dvb / fe-enable-high-lnb-voltage.rst
1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2 .. c:namespace:: DTV.fe
3
4 .. _FE_ENABLE_HIGH_LNB_VOLTAGE:
5
6 ********************************
7 ioctl FE_ENABLE_HIGH_LNB_VOLTAGE
8 ********************************
9
10 Name
11 ====
12
13 FE_ENABLE_HIGH_LNB_VOLTAGE - Select output DC level between normal LNBf voltages or higher LNBf - voltages.
14
15 Synopsis
16 ========
17
18 .. c:macro:: FE_ENABLE_HIGH_LNB_VOLTAGE
19
20 ``int ioctl(int fd, FE_ENABLE_HIGH_LNB_VOLTAGE, unsigned int high)``
21
22 Arguments
23 =========
24
25 ``fd``
26     File descriptor returned by :c:func:`open()`.
27
28 ``high``
29     Valid flags:
30
31     -  0 - normal 13V and 18V.
32
33     -  >0 - enables slightly higher voltages instead of 13/18V, in order
34        to compensate for long antenna cables.
35
36 Description
37 ===========
38
39 Select output DC level between normal LNBf voltages or higher LNBf
40 voltages between 0 (normal) or a value grater than 0 for higher
41 voltages.
42
43 Return Value
44 ============
45
46 On success 0 is returned.
47
48 On error -1 is returned, and the ``errno`` variable is set
49 appropriately.
50
51 Generic error codes are described at the
52 :ref:`Generic Error Codes <gen-errors>` chapter.