1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2 .. c:namespace:: DTV.fe
4 .. _FE_DISHNETWORK_SEND_LEGACY_CMD:
6 ******************************
7 FE_DISHNETWORK_SEND_LEGACY_CMD
8 ******************************
13 FE_DISHNETWORK_SEND_LEGACY_CMD
18 .. c:macro:: FE_DISHNETWORK_SEND_LEGACY_CMD
20 ``int ioctl(int fd, FE_DISHNETWORK_SEND_LEGACY_CMD, unsigned long cmd)``
26 File descriptor returned by :c:func:`open()`.
29 Sends the specified raw cmd to the dish via DISEqC.
35 This is a very obscure legacy command, used only at stv0299
36 driver. Should not be used on newer drivers.
38 It provides a non-standard method for selecting Diseqc voltage on the
39 frontend, for Dish Network legacy switches.
41 As support for this ioctl were added in 2004, this means that such
42 dishes were already legacy in 2004.
47 On success 0 is returned.
49 On error -1 is returned, and the ``errno`` variable is set
52 Generic error codes are described at the
53 :ref:`Generic Error Codes <gen-errors>` chapter.