02.12.2012 Views

LINUX DVB API Version 3 - Linux TV.org

LINUX DVB API Version 3 - Linux TV.org

LINUX DVB API Version 3 - Linux TV.org

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

18 <strong>DVB</strong> FRONTEND <strong>API</strong><br />

2.2.15 FE DISEQC SEND BURST<br />

DESCRIPTION<br />

This ioctl call is used to send a 22KHz tone burst.<br />

SYNOPSIS<br />

int ioctl(int fd, int request = FE DISEQC SEND BURST,<br />

fe sec mini cmd t burst);<br />

PARAMETERS<br />

int fd File descriptor returned by a previous call to open().<br />

int request Equals FE DISEQC SEND BURST for this command.<br />

fe sec mini cmd t<br />

burst<br />

burst A or B.<br />

ERRORS<br />

EBADF fd is not a valid file descriptor.<br />

EFAULT Seq points to an invalid address.<br />

EINVAL The data structure referred to by seq is invalid in some<br />

way.<br />

EPERM Permission denied (needs read/write access).<br />

EINTERNAL Internal error in the device driver.<br />

2.2.16 FE SET TONE<br />

DESCRIPTION<br />

This call is used to set the generation of the continuous 22kHz tone. This call<br />

requires read/write permissions.<br />

SYNOPSIS<br />

int ioctl(int fd, int request = FE SET TONE,<br />

fe sec tone mode t tone);<br />

PARAMETERS<br />

int fd File descriptor returned by a previous call to open().<br />

int request Equals FE SET TONE for this command.<br />

fe sec tone mode t<br />

tone<br />

The requested tone generation mode (on/off).<br />

ERRORS<br />

ENODEV Device driver not loaded/available.<br />

EBUSY Device or resource busy.<br />

EINVAL Invalid argument.<br />

EPERM File not opened with read permissions.<br />

EINTERNAL Internal error in the device driver.<br />

18

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!