Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1.. -*- coding: utf-8; mode: rst -*-
2
3.. _FE_DISHNETWORK_SEND_LEGACY_CMD:
4
5******************************
6FE_DISHNETWORK_SEND_LEGACY_CMD
7******************************
8
9Name
10====
11
12FE_DISHNETWORK_SEND_LEGACY_CMD
13
14
15Synopsis
16========
17
18.. c:function:: int ioctl(int fd, FE_DISHNETWORK_SEND_LEGACY_CMD, unsigned long cmd)
19 :name: FE_DISHNETWORK_SEND_LEGACY_CMD
20
21
22Arguments
23=========
24
25``fd``
26 File descriptor returned by :c:func:`open() <dvb-fe-open>`.
27
28``cmd``
29 Sends the specified raw cmd to the dish via DISEqC.
30
31
32Description
33===========
34
35.. warning::
36 This is a very obscure legacy command, used only at stv0299
37 driver. Should not be used on newer drivers.
38
39It provides a non-standard method for selecting Diseqc voltage on the
40frontend, for Dish Network legacy switches.
41
42As support for this ioctl were added in 2004, this means that such
43dishes were already legacy in 2004.
44
45
46Return Value
47============
48
49On success 0 is returned, on error -1 and the ``errno`` variable is set
50appropriately. The generic error codes are described at the
51:ref:`Generic Error Codes <gen-errors>` chapter.