Markus Heiser | 5377d91 | 2016-06-30 15:18:56 +0200 | [diff] [blame] | 1 | .. -*- coding: utf-8; mode: rst -*- |
| 2 | |
| 3 | .. _FE_DISEQC_RESET_OVERLOAD: |
| 4 | |
| 5 | ****************************** |
| 6 | ioctl FE_DISEQC_RESET_OVERLOAD |
| 7 | ****************************** |
| 8 | |
| 9 | *man FE_DISEQC_RESET_OVERLOAD(2)* |
| 10 | |
| 11 | Restores the power to the antenna subsystem, if it was powered off due |
| 12 | to power overload. |
| 13 | |
| 14 | |
| 15 | Synopsis |
| 16 | ======== |
| 17 | |
Mauro Carvalho Chehab | b7e67f6 | 2016-07-02 09:49:16 -0300 | [diff] [blame] | 18 | .. cpp:function:: int ioctl( int fd, int request, NULL ) |
Markus Heiser | 5377d91 | 2016-06-30 15:18:56 +0200 | [diff] [blame] | 19 | |
| 20 | Arguments |
| 21 | ========= |
| 22 | |
| 23 | ``fd`` |
| 24 | File descriptor returned by :ref:`open() <frontend_f_open>`. |
| 25 | |
| 26 | ``request`` |
| 27 | FE_DISEQC_RESET_OVERLOAD |
| 28 | |
| 29 | |
| 30 | Description |
| 31 | =========== |
| 32 | |
| 33 | If the bus has been automatically powered off due to power overload, |
| 34 | this ioctl call restores the power to the bus. The call requires |
| 35 | read/write access to the device. This call has no effect if the device |
| 36 | is manually powered off. Not all DVB adapters support this ioctl. |
| 37 | |
| 38 | RETURN VALUE |
| 39 | |
| 40 | On success 0 is returned, on error -1 and the ``errno`` variable is set |
| 41 | appropriately. The generic error codes are described at the |
| 42 | :ref:`Generic Error Codes <gen-errors>` chapter. |