xref: /openbmc/linux/Documentation/userspace-api/media/dvb/query-dvb-frontend-info.rst (revision cbecf716ca618fd44feda6bd9a64a8179d031fc5)
1*059b1c5bSMauro Carvalho Chehab.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
254f38fcaSMauro Carvalho Chehab
354f38fcaSMauro Carvalho Chehab.. _query-dvb-frontend-info:
454f38fcaSMauro Carvalho Chehab
554f38fcaSMauro Carvalho Chehab*****************************
654f38fcaSMauro Carvalho ChehabQuerying frontend information
754f38fcaSMauro Carvalho Chehab*****************************
854f38fcaSMauro Carvalho Chehab
954f38fcaSMauro Carvalho ChehabUsually, the first thing to do when the frontend is opened is to check
1054f38fcaSMauro Carvalho Chehabthe frontend capabilities. This is done using
1154f38fcaSMauro Carvalho Chehab:ref:`FE_GET_INFO`. This ioctl will enumerate the
1254f38fcaSMauro Carvalho ChehabDigital TV API version and other characteristics about the frontend, and can
1354f38fcaSMauro Carvalho Chehabbe opened either in read only or read/write mode.
14