2016-06-30 21:18:56 +08:00
|
|
|
.. -*- coding: utf-8; mode: rst -*-
|
|
|
|
|
|
|
|
.. _FE_DISHNETWORK_SEND_LEGACY_CMD:
|
|
|
|
|
|
|
|
******************************
|
|
|
|
FE_DISHNETWORK_SEND_LEGACY_CMD
|
|
|
|
******************************
|
|
|
|
|
2016-07-06 02:14:35 +08:00
|
|
|
Name
|
2016-07-05 18:58:48 +08:00
|
|
|
====
|
2016-06-30 21:18:56 +08:00
|
|
|
|
2016-07-05 18:58:48 +08:00
|
|
|
FE_DISHNETWORK_SEND_LEGACY_CMD
|
2016-06-30 21:18:56 +08:00
|
|
|
|
2016-07-06 02:14:35 +08:00
|
|
|
|
|
|
|
Synopsis
|
2016-07-05 18:58:48 +08:00
|
|
|
========
|
2016-06-30 21:18:56 +08:00
|
|
|
|
2016-08-20 03:56:15 +08:00
|
|
|
.. c:function:: int ioctl(int fd, FE_DISHNETWORK_SEND_LEGACY_CMD, unsigned long cmd)
|
|
|
|
:name: FE_DISHNETWORK_SEND_LEGACY_CMD
|
2016-06-30 21:18:56 +08:00
|
|
|
|
|
|
|
|
2016-07-06 02:14:35 +08:00
|
|
|
Arguments
|
2016-07-05 18:58:48 +08:00
|
|
|
=========
|
2016-06-30 21:18:56 +08:00
|
|
|
|
2016-08-20 03:56:15 +08:00
|
|
|
``fd``
|
|
|
|
File descriptor returned by :c:func:`open() <dvb-fe-open>`.
|
2016-06-30 21:18:56 +08:00
|
|
|
|
2016-08-20 03:56:15 +08:00
|
|
|
``cmd``
|
|
|
|
Sends the specified raw cmd to the dish via DISEqC.
|
2016-06-30 21:18:56 +08:00
|
|
|
|
|
|
|
|
2016-07-06 02:14:35 +08:00
|
|
|
Description
|
2016-07-05 18:58:48 +08:00
|
|
|
===========
|
|
|
|
|
2016-07-10 22:57:43 +08:00
|
|
|
.. warning::
|
|
|
|
This is a very obscure legacy command, used only at stv0299
|
|
|
|
driver. Should not be used on newer drivers.
|
2016-07-05 18:58:48 +08:00
|
|
|
|
|
|
|
It provides a non-standard method for selecting Diseqc voltage on the
|
|
|
|
frontend, for Dish Network legacy switches.
|
|
|
|
|
|
|
|
As support for this ioctl were added in 2004, this means that such
|
|
|
|
dishes were already legacy in 2004.
|
|
|
|
|
|
|
|
|
2016-07-06 02:14:35 +08:00
|
|
|
Return Value
|
2016-07-05 18:58:48 +08:00
|
|
|
============
|
2016-06-30 21:18:56 +08:00
|
|
|
|
|
|
|
On success 0 is returned, on error -1 and the ``errno`` variable is set
|
|
|
|
appropriately. The generic error codes are described at the
|
|
|
|
:ref:`Generic Error Codes <gen-errors>` chapter.
|