1 .. -*- coding: utf-8; mode: rst -*-
3 .. _FE_SET_FRONTEND_TUNE_MODE:
5 *******************************
6 ioctl FE_SET_FRONTEND_TUNE_MODE
7 *******************************
12 FE_SET_FRONTEND_TUNE_MODE - Allow setting tuner mode flags to the frontend.
18 .. c:function:: int ioctl( int fd, FE_SET_FRONTEND_TUNE_MODE, unsigned int flags )
19 :name: FE_SET_FRONTEND_TUNE_MODE
26 File descriptor returned by :ref:`open() <frontend_f_open>`.
31 - 0 - normal tune mode
33 - FE_TUNE_MODE_ONESHOT - When set, this flag will disable any
34 zigzagging or other "normal" tuning behaviour. Additionally,
35 there will be no automatic monitoring of the lock status, and
36 hence no frontend events will be generated. If a frontend device
37 is closed, this flag will be automatically turned off when the
38 device is reopened read-write.
44 Allow setting tuner mode flags to the frontend, between 0 (normal) or
45 FE_TUNE_MODE_ONESHOT mode
51 On success 0 is returned, on error -1 and the ``errno`` variable is set
52 appropriately. The generic error codes are described at the
53 :ref:`Generic Error Codes <gen-errors>` chapter.