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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

ERRORS<br />

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

EFAULT ev points to invalid address.<br />

EWOULDBLOCK There is no event pending, and the device is in nonblocking<br />

mode.<br />

EOVERFLOW<br />

Overflow in event queue - one or more events were lost.<br />

2.2.11 FE GET INFO<br />

DESCRIPTION<br />

This ioctl call returns information about the front-end. This call only requires<br />

read-only access to the device.<br />

SYNOPSIS<br />

int ioctl(int fd, int request = FE GET INFO, struct<br />

dvb frontend info *info);<br />

PARAMETERS<br />

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

int request Equals FE GET INFO for this command.<br />

struct<br />

Points to the location where the front-end information is<br />

dvb frontend info<br />

*info<br />

to be stored.<br />

ERRORS<br />

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

EFAULT info points to invalid address.<br />

2.2.12 FE DISEQC RESET OVERLOAD<br />

DESCRIPTION<br />

If the bus has been automatically powered off due to power overload, this ioctl<br />

call restores the power to the bus. The call requires read/write access to the<br />

device. This call has no effect if the device is manually powered off. Not all<br />

<strong>DVB</strong> adapters support this ioctl.<br />

SYNOPSIS<br />

int ioctl(int fd, int request =<br />

FE DISEQC RESET OVERLOAD);<br />

PARAMETERS<br />

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

int request Equals FE DISEQC RESET OVERLOAD for this command.<br />

ERRORS<br />

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

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

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

16

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

Saved successfully!

Ooh no, something went wrong!