Commit | Line | Data |
---|---|---|
5377d91f MH |
1 | .. -*- coding: utf-8; mode: rst -*- |
2 | ||
3 | .. _FE_DISHNETWORK_SEND_LEGACY_CMD: | |
4 | ||
5 | ****************************** | |
6 | FE_DISHNETWORK_SEND_LEGACY_CMD | |
7 | ****************************** | |
8 | ||
15e7d615 | 9 | Name |
586027ce | 10 | ==== |
5377d91f | 11 | |
586027ce | 12 | FE_DISHNETWORK_SEND_LEGACY_CMD |
5377d91f | 13 | |
15e7d615 MCC |
14 | |
15 | Synopsis | |
586027ce | 16 | ======== |
5377d91f | 17 | |
5929cb17 | 18 | .. cpp:function:: int ioctl(int fd, int request = FE_DISHNETWORK_SEND_LEGACY_CMD, unsigned long cmd) |
5377d91f | 19 | |
5377d91f | 20 | |
15e7d615 | 21 | Arguments |
586027ce | 22 | ========= |
5377d91f MH |
23 | |
24 | .. flat-table:: | |
25 | :header-rows: 0 | |
26 | :stub-columns: 0 | |
27 | ||
28 | ||
29 | - .. row 1 | |
30 | ||
31 | - unsigned long cmd | |
32 | ||
33 | - sends the specified raw cmd to the dish via DISEqC. | |
34 | ||
35 | ||
15e7d615 | 36 | Description |
586027ce MCC |
37 | =========== |
38 | ||
39 | WARNING: This is a very obscure legacy command, used only at stv0299 | |
40 | driver. Should not be used on newer drivers. | |
41 | ||
42 | It provides a non-standard method for selecting Diseqc voltage on the | |
43 | frontend, for Dish Network legacy switches. | |
44 | ||
45 | As support for this ioctl were added in 2004, this means that such | |
46 | dishes were already legacy in 2004. | |
47 | ||
48 | ||
15e7d615 | 49 | Return Value |
586027ce | 50 | ============ |
5377d91f MH |
51 | |
52 | On success 0 is returned, on error -1 and the ``errno`` variable is set | |
53 | appropriately. The generic error codes are described at the | |
54 | :ref:`Generic Error Codes <gen-errors>` chapter. |