2016-06-30 21:18:56 +08:00
|
|
|
.. -*- coding: utf-8; mode: rst -*-
|
|
|
|
|
|
|
|
.. _FE_GET_INFO:
|
|
|
|
|
|
|
|
*****************
|
|
|
|
ioctl FE_GET_INFO
|
|
|
|
*****************
|
|
|
|
|
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
|
|
|
|
2017-09-02 00:28:16 +08:00
|
|
|
FE_GET_INFO - Query Digital TV frontend capabilities and returns information
|
|
|
|
about the - front-end. This call only requires read-only access to the device.
|
2016-06-30 21:18:56 +08:00
|
|
|
|
2016-07-06 02:14:35 +08:00
|
|
|
|
|
|
|
Synopsis
|
2016-06-30 21:18:56 +08:00
|
|
|
========
|
|
|
|
|
2016-08-20 03:56:15 +08:00
|
|
|
.. c:function:: int ioctl( int fd, FE_GET_INFO, struct dvb_frontend_info *argp )
|
|
|
|
:name: FE_GET_INFO
|
2016-06-30 21:18:56 +08:00
|
|
|
|
2016-07-05 18:58:48 +08:00
|
|
|
|
2016-07-06 02:14:35 +08:00
|
|
|
Arguments
|
2016-06-30 21:18:56 +08:00
|
|
|
=========
|
|
|
|
|
|
|
|
``fd``
|
|
|
|
File descriptor returned by :ref:`open() <frontend_f_open>`.
|
|
|
|
|
|
|
|
``argp``
|
|
|
|
pointer to struct struct
|
2016-08-30 04:37:59 +08:00
|
|
|
:c:type:`dvb_frontend_info`
|
2016-06-30 21:18:56 +08:00
|
|
|
|
|
|
|
|
2016-07-06 02:14:35 +08:00
|
|
|
Description
|
2016-06-30 21:18:56 +08:00
|
|
|
===========
|
|
|
|
|
2017-09-02 00:21:49 +08:00
|
|
|
All Digital TV frontend devices support the :ref:`FE_GET_INFO` ioctl. It is
|
|
|
|
used to identify kernel devices compatible with this specification and to
|
2016-06-30 21:18:56 +08:00
|
|
|
obtain information about driver and hardware capabilities. The ioctl
|
|
|
|
takes a pointer to dvb_frontend_info which is filled by the driver.
|
|
|
|
When the driver is not compatible with this specification the ioctl
|
|
|
|
returns an error.
|
|
|
|
|
|
|
|
|
|
|
|
frontend capabilities
|
|
|
|
=====================
|
|
|
|
|
|
|
|
Capabilities describe what a frontend can do. Some capabilities are
|
|
|
|
supported only on some specific frontend types.
|
|
|
|
|
2017-08-31 01:45:20 +08:00
|
|
|
The frontend capabilities are described at :c:type:`fe_caps`.
|
2016-07-05 22:36:55 +08:00
|
|
|
|
2016-07-06 02:14:35 +08:00
|
|
|
|
|
|
|
Return Value
|
2016-07-05 22:36:55 +08:00
|
|
|
============
|
|
|
|
|
2017-09-02 00:15:43 +08:00
|
|
|
On success 0 is returned.
|
|
|
|
|
|
|
|
On error -1 is returned, and the ``errno`` variable is set
|
|
|
|
appropriately.
|
|
|
|
|
|
|
|
Generic error codes are described at the
|
2016-07-05 22:36:55 +08:00
|
|
|
:ref:`Generic Error Codes <gen-errors>` chapter.
|