1<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Part II. LINUX DVB API</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="LINUX MEDIA INFRASTRUCTURE API"><link rel="up" href="index.html" title="LINUX MEDIA INFRASTRUCTURE API"><link rel="prev" href="bi01.html" title="References"><link rel="next" href="dvb_introdution.html" title="Chapter 8. Introduction"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Part II. LINUX DVB API</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="bi01.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="dvb_introdution.html">Next</a></td></tr></table><hr></div><div class="part"><div class="titlepage"><div><div><h1 class="title"><a name="dvbapi"></a>Part II. LINUX DVB API</h1></div><div><h2 class="subtitle">Version 5.10</h2></div><div><div class="authorgroup"><div class="author"><h3 class="author"><span class="firstname">Ralph</span> <span class="othername">J. K.</span> <span class="surname">Metzler</span></h3><div class="affiliation"><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:rjkm@metzlerbros.de">rjkm@metzlerbros.de</a>&gt;</code></p></div></div></div><div class="author"><h3 class="author"><span class="firstname">Marcus</span> <span class="othername">O. C.</span> <span class="surname">Metzler</span></h3><div class="affiliation"><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:rjkm@metzlerbros.de">rjkm@metzlerbros.de</a>&gt;</code></p></div></div></div></div></div><div><div class="authorgroup"><div class="author"><h3 class="author"><span class="firstname">Mauro</span> <span class="othername">Carvalho</span> <span class="surname">Chehab</span></h3><span class="contrib">Ported document to Docbook XML.</span> <div class="affiliation"><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:m.chehab@samsung.com">m.chehab@samsung.com</a>&gt;</code></p></div></div></div></div></div><div><p class="copyright">Copyright © 2002, 2003 Convergence GmbH</p></div><div><p class="copyright">Copyright © 2009-2015 Mauro Carvalho Chehab</p></div><div><div class="revhistory"><table style="border-style:solid; width:100%;" summary="Revision History"><tr><th align="left" valign="top" colspan="3"><b>Revision History</b></th></tr><tr><td align="left">Revision 2.1.0</td><td align="left">2015-05-29</td><td align="left">mcc</td></tr><tr><td align="left" colspan="3">
2		DocBook improvements and cleanups, in order to document the
3		system calls on a more standard way and provide more description
4		about the current DVB API.
5	</td></tr><tr><td align="left">Revision 2.0.4</td><td align="left">2011-05-06</td><td align="left">mcc</td></tr><tr><td align="left" colspan="3">
6		Add more information about DVB APIv5, better describing the frontend GET/SET props ioctl's.
7	</td></tr><tr><td align="left">Revision 2.0.3</td><td align="left">2010-07-03</td><td align="left">mcc</td></tr><tr><td align="left" colspan="3">
8		Add some frontend capabilities flags, present on kernel, but missing at the specs.
9	</td></tr><tr><td align="left">Revision 2.0.2</td><td align="left">2009-10-25</td><td align="left">mcc</td></tr><tr><td align="left" colspan="3">
10		documents FE_SET_FRONTEND_TUNE_MODE and FE_DISHETWORK_SEND_LEGACY_CMD ioctls.
11	</td></tr><tr><td align="left">Revision 2.0.1</td><td align="left">2009-09-16</td><td align="left">mcc</td></tr><tr><td align="left" colspan="3">
12Added ISDB-T test originally written by Patrick Boettcher
13</td></tr><tr><td align="left">Revision 2.0.0</td><td align="left">2009-09-06</td><td align="left">mcc</td></tr><tr><td align="left" colspan="3">Conversion from LaTex to DocBook XML. The
14	contents is the same as the original LaTex version.</td></tr><tr><td align="left">Revision 1.0.0</td><td align="left">2003-07-24</td><td align="left">rjkm</td></tr><tr><td align="left" colspan="3">Initial revision on LaTEX.</td></tr></table></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl class="toc"><dt><span class="chapter"><a href="dvb_introdution.html">8. Introduction</a></span></dt><dd><dl><dt><span class="section"><a href="dvb_introdution.html#requisites">What you need to know</a></span></dt><dt><span class="section"><a href="history.html">History</a></span></dt><dt><span class="section"><a href="overview.html">Overview</a></span></dt><dt><span class="section"><a href="dvb_devices.html">Linux DVB Devices</a></span></dt><dt><span class="section"><a href="include_files.html">API include files</a></span></dt></dl></dd><dt><span class="chapter"><a href="dvb_frontend.html">9. DVB Frontend API</a></span></dt><dd><dl><dt><span class="section"><a href="dvb_frontend.html#query-dvb-frontend-info">Querying frontend information</a></span></dt><dt><span class="section"><a href="dvb-fe-read-status.html">Querying frontend status and statistics</a></span></dt><dt><span class="section"><a href="frontend-properties.html">DVB Frontend properties</a></span></dt><dd><dl><dt><span class="section"><a href="frontend-properties.html#dtv-stats">struct <span class="structname">dtv_stats</span></a></span></dt><dt><span class="section"><a href="frontend-properties.html#dtv-fe-stats">struct <span class="structname">dtv_fe_stats</span></a></span></dt><dt><span class="section"><a href="frontend-properties.html#dtv-property">struct <span class="structname">dtv_property</span></a></span></dt><dt><span class="section"><a href="frontend-properties.html#dtv-properties">struct <span class="structname">dtv_properties</span></a></span></dt><dt><span class="section"><a href="frontend-properties.html#id-1.5.5.11.14">Property types</a></span></dt><dt><span class="section"><a href="frontend-properties.html#fe_property_parameters">Digital TV property parameters</a></span></dt><dt><span class="section"><a href="frontend-properties.html#frontend-stat-properties">Frontend statistics indicators</a></span></dt><dt><span class="section"><a href="frontend-properties.html#frontend-property-terrestrial-systems">Properties used on terrestrial delivery systems</a></span></dt><dt><span class="section"><a href="frontend-properties.html#frontend-property-cable-systems">Properties used on cable delivery systems</a></span></dt><dt><span class="section"><a href="frontend-properties.html#frontend-property-satellite-systems">Properties used on satellite delivery systems</a></span></dt></dl></dd><dt><span class="section"><a href="frontend_fcalls.html">Frontend Function Calls</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="frontend_f_open.html">DVB frontend open()</a></span><span class="refpurpose"> — Open a frontend device</span></dt><dt><span class="refentrytitle"><a href="frontend_f_close.html">DVB frontend close()</a></span><span class="refpurpose"> — Close a frontend device</span></dt><dt><span class="refentrytitle"><a href="FE_GET_INFO.html">ioctl FE_GET_INFO</a></span><span class="refpurpose"> — Query DVB frontend capabilities and returns information about
15	the front-end. This call only requires read-only access to the device</span></dt><dt><span class="refentrytitle"><a href="FE_READ_STATUS.html">ioctl FE_READ_STATUS</a></span><span class="refpurpose"> — Returns status information about the front-end. This call only
16 requires read-only access to the device</span></dt><dt><span class="refentrytitle"><a href="FE_GET_PROPERTY.html">ioctl FE_SET_PROPERTY, FE_GET_PROPERTY</a></span><span class="refpurpose"> — FE_SET_PROPERTY sets one or more frontend properties.
17	FE_GET_PROPERTY returns one or more frontend properties.</span></dt><dt><span class="refentrytitle"><a href="FE_DISEQC_RESET_OVERLOAD.html">ioctl FE_DISEQC_RESET_OVERLOAD</a></span><span class="refpurpose"> — Restores the power to the antenna subsystem, if it was powered
18	off due to power overload.</span></dt><dt><span class="refentrytitle"><a href="FE_DISEQC_SEND_MASTER_CMD.html">ioctl FE_DISEQC_SEND_MASTER_CMD</a></span><span class="refpurpose"> — Sends a DiSEqC command</span></dt><dt><span class="refentrytitle"><a href="FE_DISEQC_RECV_SLAVE_REPLY.html">ioctl FE_DISEQC_RECV_SLAVE_REPLY</a></span><span class="refpurpose"> — Receives reply from a DiSEqC 2.0 command</span></dt><dt><span class="refentrytitle"><a href="FE_DISEQC_SEND_BURST.html">ioctl FE_DISEQC_SEND_BURST</a></span><span class="refpurpose"> — Sends a 22KHz tone burst for 2x1 mini DiSEqC satellite selection.</span></dt><dt><span class="refentrytitle"><a href="FE_SET_TONE.html">ioctl FE_SET_TONE</a></span><span class="refpurpose"> — Sets/resets the generation of the continuous 22kHz tone.</span></dt><dt><span class="refentrytitle"><a href="FE_SET_VOLTAGE.html">ioctl FE_SET_VOLTAGE</a></span><span class="refpurpose"> — Allow setting the DC level sent to the antenna subsystem.</span></dt><dt><span class="refentrytitle"><a href="FE_ENABLE_HIGH_LNB_VOLTAGE.html">ioctl FE_ENABLE_HIGH_LNB_VOLTAGE</a></span><span class="refpurpose"> — Select output DC level between normal LNBf voltages or higher
19	LNBf voltages.</span></dt><dt><span class="refentrytitle"><a href="FE_SET_FRONTEND_TUNE_MODE.html">ioctl FE_SET_FRONTEND_TUNE_MODE</a></span><span class="refpurpose"> — Allow setting tuner mode flags to the frontend.</span></dt></dl></dd><dt><span class="section"><a href="frontend_legacy_dvbv3_api.html">DVB Frontend legacy API (a. k. a. DVBv3)</a></span></dt><dd><dl><dt><span class="section"><a href="frontend_legacy_dvbv3_api.html#frontend_legacy_types">Frontend Legacy Data Types</a></span></dt><dt><span class="section"><a href="frontend_legacy_dvbv3_api.html#frontend_legacy_fcalls">Frontend Legacy Function Calls</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="dvb_demux.html">10. DVB Demux Device</a></span></dt><dd><dl><dt><span class="section"><a href="dvb_demux.html#dmx_types">Demux Data Types</a></span></dt><dd><dl><dt><span class="section"><a href="dvb_demux.html#dmx-output-t">Output for the demux</a></span></dt><dt><span class="section"><a href="dvb_demux.html#dmx-input-t">dmx_input_t</a></span></dt><dt><span class="section"><a href="dvb_demux.html#dmx-pes-type-t">dmx_pes_type_t</a></span></dt><dt><span class="section"><a href="dvb_demux.html#dmx-filter">struct dmx_filter</a></span></dt><dt><span class="section"><a href="dvb_demux.html#dmx-sct-filter-params">struct dmx_sct_filter_params</a></span></dt><dt><span class="section"><a href="dvb_demux.html#dmx-pes-filter-params">struct dmx_pes_filter_params</a></span></dt><dt><span class="section"><a href="dvb_demux.html#dmx-event">struct dmx_event</a></span></dt><dt><span class="section"><a href="dvb_demux.html#dmx-stc">struct dmx_stc</a></span></dt><dt><span class="section"><a href="dvb_demux.html#dmx-caps">struct dmx_caps</a></span></dt><dt><span class="section"><a href="dvb_demux.html#dmx-source-t">enum dmx_source_t</a></span></dt></dl></dd><dt><span class="section"><a href="dmx_fcalls.html">Demux Function Calls</a></span></dt><dd><dl><dt><span class="section"><a href="dmx_fcalls.html#dmx_fopen">open()</a></span></dt><dt><span class="section"><a href="dmx_fcalls.html#dmx_fclose">close()</a></span></dt><dt><span class="section"><a href="dmx_fcalls.html#dmx_fread">read()</a></span></dt><dt><span class="section"><a href="dmx_fcalls.html#dmx_fwrite">write()</a></span></dt><dt><span class="section"><a href="dmx_fcalls.html#DMX_START">DMX_START</a></span></dt><dt><span class="section"><a href="dmx_fcalls.html#DMX_STOP">DMX_STOP</a></span></dt><dt><span class="section"><a href="dmx_fcalls.html#DMX_SET_FILTER">DMX_SET_FILTER</a></span></dt><dt><span class="section"><a href="dmx_fcalls.html#DMX_SET_PES_FILTER">DMX_SET_PES_FILTER</a></span></dt><dt><span class="section"><a href="dmx_fcalls.html#DMX_SET_BUFFER_SIZE">DMX_SET_BUFFER_SIZE</a></span></dt><dt><span class="section"><a href="dmx_fcalls.html#DMX_GET_EVENT">DMX_GET_EVENT</a></span></dt><dt><span class="section"><a href="dmx_fcalls.html#DMX_GET_STC">DMX_GET_STC</a></span></dt><dt><span class="section"><a href="dmx_fcalls.html#DMX_GET_PES_PIDS">DMX_GET_PES_PIDS</a></span></dt><dt><span class="section"><a href="dmx_fcalls.html#DMX_GET_CAPS">DMX_GET_CAPS</a></span></dt><dt><span class="section"><a href="dmx_fcalls.html#DMX_SET_SOURCE">DMX_SET_SOURCE</a></span></dt><dt><span class="section"><a href="dmx_fcalls.html#DMX_ADD_PID">DMX_ADD_PID</a></span></dt><dt><span class="section"><a href="dmx_fcalls.html#DMX_REMOVE_PID">DMX_REMOVE_PID</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="dvb_ca.html">11. DVB CA Device</a></span></dt><dd><dl><dt><span class="section"><a href="dvb_ca.html#ca_data_types">CA Data Types</a></span></dt><dd><dl><dt><span class="section"><a href="dvb_ca.html#ca-slot-info">ca_slot_info_t</a></span></dt><dt><span class="section"><a href="dvb_ca.html#ca-descr-info">ca_descr_info_t</a></span></dt><dt><span class="section"><a href="dvb_ca.html#ca-caps">ca_caps_t</a></span></dt><dt><span class="section"><a href="dvb_ca.html#ca-msg">ca_msg_t</a></span></dt><dt><span class="section"><a href="dvb_ca.html#ca-descr">ca_descr_t</a></span></dt><dt><span class="section"><a href="dvb_ca.html#ca-pid">ca-pid</a></span></dt></dl></dd><dt><span class="section"><a href="ca_function_calls.html">CA Function Calls</a></span></dt><dd><dl><dt><span class="section"><a href="ca_function_calls.html#ca_fopen">open()</a></span></dt><dt><span class="section"><a href="ca_function_calls.html#ca_fclose">close()</a></span></dt><dt><span class="section"><a href="ca_function_calls.html#CA_RESET">CA_RESET</a></span></dt><dt><span class="section"><a href="ca_function_calls.html#CA_GET_CAP">CA_GET_CAP</a></span></dt><dt><span class="section"><a href="ca_function_calls.html#CA_GET_SLOT_INFO">CA_GET_SLOT_INFO</a></span></dt><dt><span class="section"><a href="ca_function_calls.html#CA_GET_DESCR_INFO">CA_GET_DESCR_INFO</a></span></dt><dt><span class="section"><a href="ca_function_calls.html#CA_GET_MSG">CA_GET_MSG</a></span></dt><dt><span class="section"><a href="ca_function_calls.html#CA_SEND_MSG">CA_SEND_MSG</a></span></dt><dt><span class="section"><a href="ca_function_calls.html#CA_SET_DESCR">CA_SET_DESCR</a></span></dt><dt><span class="section"><a href="ca_function_calls.html#CA_SET_PID">CA_SET_PID</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="net.html">12. DVB Network API</a></span></dt><dd><dl><dt><span class="section"><a href="net.html#net_fcalls">DVB net Function Calls</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="NET_ADD_IF.html">ioctl NET_ADD_IF</a></span><span class="refpurpose"> — Creates a new network interface for a given Packet ID.</span></dt><dt><span class="refentrytitle"><a href="NET_REMOVE_IF.html">ioctl NET_REMOVE_IF</a></span><span class="refpurpose"> — Removes a network interface.</span></dt><dt><span class="refentrytitle"><a href="NET_GET_IF.html">ioctl NET_GET_IF</a></span><span class="refpurpose">Read the configuration data of an interface created via
20	<code class="constant">NET_ADD_IF</code>.</span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="legacy_dvb_apis.html">13. DVB Deprecated APIs</a></span></dt><dd><dl><dt><span class="section"><a href="legacy_dvb_apis.html#dvb_video">DVB Video Device</a></span></dt><dd><dl><dt><span class="section"><a href="legacy_dvb_apis.html#video_types">Video Data Types</a></span></dt><dt><span class="section"><a href="legacy_dvb_apis.html#video_function_calls">Video Function Calls</a></span></dt></dl></dd><dt><span class="section"><a href="dvb_audio.html">DVB Audio Device</a></span></dt><dd><dl><dt><span class="section"><a href="dvb_audio.html#audio_data_types">Audio Data Types</a></span></dt><dt><span class="section"><a href="dvb_audio.html#audio_function_calls">Audio Function Calls</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="dvb_examples.html">14. Examples</a></span></dt><dd><dl><dt><span class="section"><a href="dvb_examples.html#tuning">Tuning</a></span></dt><dt><span class="section"><a href="the_dvr_device.html">The DVR device</a></span></dt></dl></dd><dt><span class="appendix"><a href="audio_h.html">F. DVB Audio Header File</a></span></dt><dt><span class="appendix"><a href="ca_h.html">G. DVB Conditional Access Header File</a></span></dt><dt><span class="appendix"><a href="dmx_h.html">H. DVB Demux Header File</a></span></dt><dt><span class="appendix"><a href="frontend_h.html">I. DVB Frontend Header File</a></span></dt><dt><span class="appendix"><a href="net_h.html">J. DVB Network Header File</a></span></dt><dt><span class="appendix"><a href="video_h.html">K. DVB Video Header File</a></span></dt></dl></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="bi01.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="dvb_introdution.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">References </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 8. Introduction</td></tr></table></div></body></html>
21