&sub-dvbproperty;
Frontend Function Callsopen()DESCRIPTIONThis system call opens a named frontend device (/dev/dvb/adapter0/frontend0)
for subsequent use. Usually the first thing to do after a successful open is to
find out the frontend type with FE_GET_INFO.The device can be opened in read-only mode, which only allows monitoring of
device status and statistics, or read/write mode, which allows any kind of use
(e.g. performing tuning operations.)
In a system with multiple front-ends, it is usually the case that multiple devices
cannot be open in read/write mode simultaneously. As long as a front-end
device is opened in read/write mode, other open() calls in read/write mode will
either fail or block, depending on whether non-blocking or blocking mode was
specified. A front-end device opened in blocking mode can later be put into
non-blocking mode (and vice versa) using the F_SETFL command of the fcntl
system call. This is a standard system call, documented in the Linux manual
page for fcntl. When an open() call has succeeded, the device will be ready
for use in the specified mode. This implies that the corresponding hardware is
powered up, and that other front-ends may have been powered down to make
that possible.SYNOPSISint open(const char ⋆deviceName, int flags);PARAMETERS
const char
*deviceNameName of specific video device.int flagsA bit-wise OR of the following flags:O_RDONLY read-only accessO_RDWR read/write accessO_NONBLOCK open in non-blocking mode(blocking mode is the default)RETURN VALUEENODEVDevice driver not loaded/available.EINTERNALInternal error.EBUSYDevice or resource busy.EINVALInvalid argument.close()DESCRIPTION
This system call closes a previously opened front-end device. After closing
a front-end device, its corresponding hardware might be powered down
automatically.SYNOPSIS
int close(int fd);PARAMETERS
int fdFile descriptor returned by a previous call to open().RETURN VALUEEBADFfd is not a valid open file descriptor.
&sub-fe-get-info;
&sub-fe-read-status;
&sub-fe-get-property;
&sub-fe-diseqc-reset-overload;
&sub-fe-diseqc-send-master-cmd;
&sub-fe-diseqc-recv-slave-reply;
&sub-fe-diseqc-send-burst;
&sub-fe-set-tone;
&sub-fe-set-voltage;
&sub-fe-enable-high-lnb-voltage;
&sub-fe-set-frontend-tune-mode;
DVB Frontend legacy API (a. k. a. DVBv3)The usage of this API is deprecated, as it doesn't support all digital
TV standards, doesn't provide good statistics measurements and provides
incomplete information. This is kept only to support legacy applications.
&sub-frontend_legacy_api;