xref: /OK3568_Linux_fs/kernel/Documentation/userspace-api/media/dvb/query-dvb-frontend-info.rst (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2*4882a593Smuzhiyun
3*4882a593Smuzhiyun.. _query-dvb-frontend-info:
4*4882a593Smuzhiyun
5*4882a593Smuzhiyun*****************************
6*4882a593SmuzhiyunQuerying frontend information
7*4882a593Smuzhiyun*****************************
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunUsually, the first thing to do when the frontend is opened is to check
10*4882a593Smuzhiyunthe frontend capabilities. This is done using
11*4882a593Smuzhiyun:ref:`FE_GET_INFO`. This ioctl will enumerate the
12*4882a593SmuzhiyunDigital TV API version and other characteristics about the frontend, and can
13*4882a593Smuzhiyunbe opened either in read only or read/write mode.
14