1 .. -*- coding: utf-8; mode: rst -*-
3 .. _FE_DISHNETWORK_SEND_LEGACY_CMD:
5 ******************************
6 FE_DISHNETWORK_SEND_LEGACY_CMD
7 ******************************
12 FE_DISHNETWORK_SEND_LEGACY_CMD
18 .. c:function:: int ioctl(int fd, FE_DISHNETWORK_SEND_LEGACY_CMD, unsigned long cmd)
19 :name: FE_DISHNETWORK_SEND_LEGACY_CMD
26 File descriptor returned by :c:func:`open() <dvb-fe-open>`.
29 Sends the specified raw cmd to the dish via DISEqC.
36 This is a very obscure legacy command, used only at stv0299
37 driver. Should not be used on newer drivers.
39 It provides a non-standard method for selecting Diseqc voltage on the
40 frontend, for Dish Network legacy switches.
42 As support for this ioctl were added in 2004, this means that such
43 dishes were already legacy in 2004.
49 On success 0 is returned, on error -1 and the ``errno`` variable is set
50 appropriately. The generic error codes are described at the
51 :ref:`Generic Error Codes <gen-errors>` chapter.