xref: /linux/Documentation/userspace-api/media/dvb/fe-diseqc-reset-overload.rst (revision e7d759f31ca295d589f7420719c311870bb3166f)
1.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2.. c:namespace:: DTV.fe
3
4.. _FE_DISEQC_RESET_OVERLOAD:
5
6******************************
7ioctl FE_DISEQC_RESET_OVERLOAD
8******************************
9
10Name
11====
12
13FE_DISEQC_RESET_OVERLOAD - Restores the power to the antenna subsystem, if it was powered off due - to power overload.
14
15Synopsis
16========
17
18.. c:macro:: FE_DISEQC_RESET_OVERLOAD
19
20``int ioctl(int fd, FE_DISEQC_RESET_OVERLOAD, NULL)``
21
22Arguments
23=========
24
25``fd``
26    File descriptor returned by :c:func:`open()`.
27
28Description
29===========
30
31If the bus has been automatically powered off due to power overload,
32this ioctl call restores the power to the bus. The call requires
33read/write access to the device. This call has no effect if the device
34is manually powered off. Not all Digital TV adapters support this ioctl.
35
36Return Value
37============
38
39On success 0 is returned.
40
41On error -1 is returned, and the ``errno`` variable is set
42appropriately.
43
44Generic error codes are described at the
45:ref:`Generic Error Codes <gen-errors>` chapter.
46