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 | |
cf8076c3 MCC |
18 | .. c:function:: int ioctl(int fd, FE_DISHNETWORK_SEND_LEGACY_CMD, unsigned long cmd) |
19 | :name: FE_DISHNETWORK_SEND_LEGACY_CMD | |
5377d91f | 20 | |
5377d91f | 21 | |
15e7d615 | 22 | Arguments |
586027ce | 23 | ========= |
5377d91f | 24 | |
cf8076c3 MCC |
25 | ``fd`` |
26 | File descriptor returned by :c:func:`open() <dvb-fe-open>`. | |
5377d91f | 27 | |
cf8076c3 MCC |
28 | ``cmd`` |
29 | Sends the specified raw cmd to the dish via DISEqC. | |
5377d91f MH |
30 | |
31 | ||
15e7d615 | 32 | Description |
586027ce MCC |
33 | =========== |
34 | ||
706f8a99 MCC |
35 | .. warning:: |
36 | This is a very obscure legacy command, used only at stv0299 | |
37 | driver. Should not be used on newer drivers. | |
586027ce MCC |
38 | |
39 | It provides a non-standard method for selecting Diseqc voltage on the | |
40 | frontend, for Dish Network legacy switches. | |
41 | ||
42 | As support for this ioctl were added in 2004, this means that such | |
43 | dishes were already legacy in 2004. | |
44 | ||
45 | ||
15e7d615 | 46 | Return Value |
586027ce | 47 | ============ |
5377d91f MH |
48 | |
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. |