brintos

brintos / linux-shallow public Read only

0
0
Text · 1.1 KiB · d1dba74 Raw
54 lines · plain
1.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later2.. c:namespace:: DTV.fe3 4.. _FE_DISHNETWORK_SEND_LEGACY_CMD:5 6******************************7FE_DISHNETWORK_SEND_LEGACY_CMD8******************************9 10Name11====12 13FE_DISHNETWORK_SEND_LEGACY_CMD14 15Synopsis16========17 18.. c:macro:: FE_DISHNETWORK_SEND_LEGACY_CMD19 20``int ioctl(int fd, FE_DISHNETWORK_SEND_LEGACY_CMD, unsigned long cmd)``21 22Arguments23=========24 25``fd``26    File descriptor returned by :c:func:`open()`.27 28``cmd``29    Sends the specified raw cmd to the dish via DISEqC.30 31Description32===========33 34.. warning::35   This is a very obscure legacy command, used only at stv029936   driver. Should not be used on newer drivers.37 38It provides a non-standard method for selecting Diseqc voltage on the39frontend, for Dish Network legacy switches.40 41As support for this ioctl were added in 2004, this means that such42dishes were already legacy in 2004.43 44Return Value45============46 47On success 0 is returned.48 49On error -1 is returned, and the ``errno`` variable is set50appropriately.51 52Generic error codes are described at the53:ref:`Generic Error Codes <gen-errors>` chapter.54