frontend.xml 50 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851
  1. <title>DVB Frontend API</title>
  2. <para>The DVB frontend device controls the tuner and DVB demodulator
  3. hardware. It can be accessed through <emphasis
  4. role="tt">/dev/dvb/adapter0/frontend0</emphasis>. Data types and and
  5. ioctl definitions can be accessed by including <emphasis
  6. role="tt">linux/dvb/frontend.h</emphasis> in your application.</para>
  7. <para>DVB frontends come in three varieties: DVB-S (satellite), DVB-C
  8. (cable) and DVB-T (terrestrial). Transmission via the internet (DVB-IP)
  9. is not yet handled by this API but a future extension is possible. For
  10. DVB-S the frontend device also supports satellite equipment control
  11. (SEC) via DiSEqC and V-SEC protocols. The DiSEqC (digital SEC)
  12. specification is available from
  13. <ulink url="http://www.eutelsat.com/satellites/4_5_5.html">Eutelsat</ulink>.</para>
  14. <para>Note that the DVB API may also be used for MPEG decoder-only PCI
  15. cards, in which case there exists no frontend device.</para>
  16. <section id="frontend_types">
  17. <title>Frontend Data Types</title>
  18. <section id="frontend_type">
  19. <title>frontend type</title>
  20. <para>For historical reasons frontend types are named after the type of modulation used in
  21. transmission.</para>
  22. <programlisting>
  23. typedef enum fe_type {
  24. FE_QPSK, /&#x22C6; DVB-S &#x22C6;/
  25. FE_QAM, /&#x22C6; DVB-C &#x22C6;/
  26. FE_OFDM /&#x22C6; DVB-T &#x22C6;/
  27. } fe_type_t;
  28. </programlisting>
  29. </section>
  30. <section id="frontend_caps">
  31. <title>frontend capabilities</title>
  32. <para>Capabilities describe what a frontend can do. Some capabilities can only be supported for
  33. a specific frontend type.</para>
  34. <programlisting>
  35. typedef enum fe_caps {
  36. FE_IS_STUPID = 0,
  37. FE_CAN_INVERSION_AUTO = 0x1,
  38. FE_CAN_FEC_1_2 = 0x2,
  39. FE_CAN_FEC_2_3 = 0x4,
  40. FE_CAN_FEC_3_4 = 0x8,
  41. FE_CAN_FEC_4_5 = 0x10,
  42. FE_CAN_FEC_5_6 = 0x20,
  43. FE_CAN_FEC_6_7 = 0x40,
  44. FE_CAN_FEC_7_8 = 0x80,
  45. FE_CAN_FEC_8_9 = 0x100,
  46. FE_CAN_FEC_AUTO = 0x200,
  47. FE_CAN_QPSK = 0x400,
  48. FE_CAN_QAM_16 = 0x800,
  49. FE_CAN_QAM_32 = 0x1000,
  50. FE_CAN_QAM_64 = 0x2000,
  51. FE_CAN_QAM_128 = 0x4000,
  52. FE_CAN_QAM_256 = 0x8000,
  53. FE_CAN_QAM_AUTO = 0x10000,
  54. FE_CAN_TRANSMISSION_MODE_AUTO = 0x20000,
  55. FE_CAN_BANDWIDTH_AUTO = 0x40000,
  56. FE_CAN_GUARD_INTERVAL_AUTO = 0x80000,
  57. FE_CAN_HIERARCHY_AUTO = 0x100000,
  58. FE_CAN_8VSB = 0x200000,
  59. FE_CAN_16VSB = 0x400000,
  60. FE_HAS_EXTENDED_CAPS = 0x800000,
  61. FE_CAN_TURBO_FEC = 0x8000000,
  62. FE_CAN_2G_MODULATION = 0x10000000,
  63. FE_NEEDS_BENDING = 0x20000000,
  64. FE_CAN_RECOVER = 0x40000000,
  65. FE_CAN_MUTE_TS = 0x80000000
  66. } fe_caps_t;
  67. </programlisting>
  68. </section>
  69. <section id="frontend_info">
  70. <title>frontend information</title>
  71. <para>Information about the frontend ca be queried with
  72. <link linkend="FE_GET_INFO">FE_GET_INFO</link>.</para>
  73. <programlisting>
  74. struct dvb_frontend_info {
  75. char name[128];
  76. fe_type_t type;
  77. uint32_t frequency_min;
  78. uint32_t frequency_max;
  79. uint32_t frequency_stepsize;
  80. uint32_t frequency_tolerance;
  81. uint32_t symbol_rate_min;
  82. uint32_t symbol_rate_max;
  83. uint32_t symbol_rate_tolerance; /&#x22C6; ppm &#x22C6;/
  84. uint32_t notifier_delay; /&#x22C6; ms &#x22C6;/
  85. fe_caps_t caps;
  86. };
  87. </programlisting>
  88. </section>
  89. <section id="frontend_diseqc">
  90. <title>diseqc master command</title>
  91. <para>A message sent from the frontend to DiSEqC capable equipment.</para>
  92. <programlisting>
  93. struct dvb_diseqc_master_cmd {
  94. uint8_t msg [6]; /&#x22C6; { framing, address, command, data[3] } &#x22C6;/
  95. uint8_t msg_len; /&#x22C6; valid values are 3...6 &#x22C6;/
  96. };
  97. </programlisting>
  98. </section>
  99. <section role="subsection">
  100. <title>diseqc slave reply</title>
  101. <para>A reply to the frontend from DiSEqC 2.0 capable equipment.</para>
  102. <programlisting>
  103. struct dvb_diseqc_slave_reply {
  104. uint8_t msg [4]; /&#x22C6; { framing, data [3] } &#x22C6;/
  105. uint8_t msg_len; /&#x22C6; valid values are 0...4, 0 means no msg &#x22C6;/
  106. int timeout; /&#x22C6; return from ioctl after timeout ms with &#x22C6;/
  107. }; /&#x22C6; errorcode when no message was received &#x22C6;/
  108. </programlisting>
  109. </section>
  110. <section id="frontend_diseqc_slave_reply">
  111. <title>diseqc slave reply</title>
  112. <para>The voltage is usually used with non-DiSEqC capable LNBs to switch the polarzation
  113. (horizontal/vertical). When using DiSEqC epuipment this voltage has to be switched
  114. consistently to the DiSEqC commands as described in the DiSEqC spec.</para>
  115. <programlisting>
  116. typedef enum fe_sec_voltage {
  117. SEC_VOLTAGE_13,
  118. SEC_VOLTAGE_18
  119. } fe_sec_voltage_t;
  120. </programlisting>
  121. </section>
  122. <section id="frontend_sec_tone">
  123. <title>SEC continuous tone</title>
  124. <para>The continous 22KHz tone is usually used with non-DiSEqC capable LNBs to switch the
  125. high/low band of a dual-band LNB. When using DiSEqC epuipment this voltage has to
  126. be switched consistently to the DiSEqC commands as described in the DiSEqC
  127. spec.</para>
  128. <programlisting>
  129. typedef enum fe_sec_tone_mode {
  130. SEC_TONE_ON,
  131. SEC_TONE_OFF
  132. } fe_sec_tone_mode_t;
  133. </programlisting>
  134. </section>
  135. <section id="frontend_sec_burst">
  136. <title>SEC tone burst</title>
  137. <para>The 22KHz tone burst is usually used with non-DiSEqC capable switches to select
  138. between two connected LNBs/satellites. When using DiSEqC epuipment this voltage has to
  139. be switched consistently to the DiSEqC commands as described in the DiSEqC
  140. spec.</para>
  141. <programlisting>
  142. typedef enum fe_sec_mini_cmd {
  143. SEC_MINI_A,
  144. SEC_MINI_B
  145. } fe_sec_mini_cmd_t;
  146. </programlisting>
  147. <para></para>
  148. </section>
  149. <section id="frontend_status">
  150. <title>frontend status</title>
  151. <para>Several functions of the frontend device use the fe_status data type defined
  152. by</para>
  153. <programlisting>
  154. typedef enum fe_status {
  155. FE_HAS_SIGNAL = 0x01, /&#x22C6; found something above the noise level &#x22C6;/
  156. FE_HAS_CARRIER = 0x02, /&#x22C6; found a DVB signal &#x22C6;/
  157. FE_HAS_VITERBI = 0x04, /&#x22C6; FEC is stable &#x22C6;/
  158. FE_HAS_SYNC = 0x08, /&#x22C6; found sync bytes &#x22C6;/
  159. FE_HAS_LOCK = 0x10, /&#x22C6; everything's working... &#x22C6;/
  160. FE_TIMEDOUT = 0x20, /&#x22C6; no lock within the last ~2 seconds &#x22C6;/
  161. FE_REINIT = 0x40 /&#x22C6; frontend was reinitialized, &#x22C6;/
  162. } fe_status_t; /&#x22C6; application is recommned to reset &#x22C6;/
  163. </programlisting>
  164. <para>to indicate the current state and/or state changes of the frontend hardware.
  165. </para>
  166. </section>
  167. <section id="frontend_params">
  168. <title>frontend parameters</title>
  169. <para>The kind of parameters passed to the frontend device for tuning depend on
  170. the kind of hardware you are using. All kinds of parameters are combined as an
  171. union in the FrontendParameters structure:</para>
  172. <programlisting>
  173. struct dvb_frontend_parameters {
  174. uint32_t frequency; /&#x22C6; (absolute) frequency in Hz for QAM/OFDM &#x22C6;/
  175. /&#x22C6; intermediate frequency in kHz for QPSK &#x22C6;/
  176. fe_spectral_inversion_t inversion;
  177. union {
  178. struct dvb_qpsk_parameters qpsk;
  179. struct dvb_qam_parameters qam;
  180. struct dvb_ofdm_parameters ofdm;
  181. } u;
  182. };
  183. </programlisting>
  184. <para>For satellite QPSK frontends you have to use the <constant>QPSKParameters</constant> member defined by</para>
  185. <programlisting>
  186. struct dvb_qpsk_parameters {
  187. uint32_t symbol_rate; /&#x22C6; symbol rate in Symbols per second &#x22C6;/
  188. fe_code_rate_t fec_inner; /&#x22C6; forward error correction (see above) &#x22C6;/
  189. };
  190. </programlisting>
  191. <para>for cable QAM frontend you use the <constant>QAMParameters</constant> structure</para>
  192. <programlisting>
  193. struct dvb_qam_parameters {
  194. uint32_t symbol_rate; /&#x22C6; symbol rate in Symbols per second &#x22C6;/
  195. fe_code_rate_t fec_inner; /&#x22C6; forward error correction (see above) &#x22C6;/
  196. fe_modulation_t modulation; /&#x22C6; modulation type (see above) &#x22C6;/
  197. };
  198. </programlisting>
  199. <para>DVB-T frontends are supported by the <constant>OFDMParamters</constant> structure
  200. </para>
  201. <programlisting>
  202. struct dvb_ofdm_parameters {
  203. fe_bandwidth_t bandwidth;
  204. fe_code_rate_t code_rate_HP; /&#x22C6; high priority stream code rate &#x22C6;/
  205. fe_code_rate_t code_rate_LP; /&#x22C6; low priority stream code rate &#x22C6;/
  206. fe_modulation_t constellation; /&#x22C6; modulation type (see above) &#x22C6;/
  207. fe_transmit_mode_t transmission_mode;
  208. fe_guard_interval_t guard_interval;
  209. fe_hierarchy_t hierarchy_information;
  210. };
  211. </programlisting>
  212. <para>In the case of QPSK frontends the <constant>Frequency</constant> field specifies the intermediate
  213. frequency, i.e. the offset which is effectively added to the local oscillator frequency (LOF) of
  214. the LNB. The intermediate frequency has to be specified in units of kHz. For QAM and
  215. OFDM frontends the Frequency specifies the absolute frequency and is given in
  216. Hz.
  217. </para>
  218. <para>The Inversion field can take one of these values:
  219. </para>
  220. <programlisting>
  221. typedef enum fe_spectral_inversion {
  222. INVERSION_OFF,
  223. INVERSION_ON,
  224. INVERSION_AUTO
  225. } fe_spectral_inversion_t;
  226. </programlisting>
  227. <para>It indicates if spectral inversion should be presumed or not. In the automatic setting
  228. (<constant>INVERSION_AUTO</constant>) the hardware will try to figure out the correct setting by
  229. itself.
  230. </para>
  231. <para>The possible values for the <constant>FEC_inner</constant> field are
  232. </para>
  233. <programlisting>
  234. typedef enum fe_code_rate {
  235. FEC_NONE = 0,
  236. FEC_1_2,
  237. FEC_2_3,
  238. FEC_3_4,
  239. FEC_4_5,
  240. FEC_5_6,
  241. FEC_6_7,
  242. FEC_7_8,
  243. FEC_8_9,
  244. FEC_AUTO
  245. } fe_code_rate_t;
  246. </programlisting>
  247. <para>which correspond to error correction rates of 1/2, 2/3, etc., no error correction or auto
  248. detection.
  249. </para>
  250. <para>For cable and terrestrial frontends (QAM and OFDM) one also has to specify the quadrature
  251. modulation mode which can be one of the following:
  252. </para>
  253. <programlisting>
  254. typedef enum fe_modulation {
  255. QPSK,
  256. QAM_16,
  257. QAM_32,
  258. QAM_64,
  259. QAM_128,
  260. QAM_256,
  261. QAM_AUTO
  262. } fe_modulation_t;
  263. </programlisting>
  264. <para>Finally, there are several more parameters for OFDM:
  265. </para>
  266. <programlisting>
  267. typedef enum fe_transmit_mode {
  268. TRANSMISSION_MODE_2K,
  269. TRANSMISSION_MODE_8K,
  270. TRANSMISSION_MODE_AUTO
  271. } fe_transmit_mode_t;
  272. </programlisting>
  273. <programlisting>
  274. typedef enum fe_bandwidth {
  275. BANDWIDTH_8_MHZ,
  276. BANDWIDTH_7_MHZ,
  277. BANDWIDTH_6_MHZ,
  278. BANDWIDTH_AUTO
  279. } fe_bandwidth_t;
  280. </programlisting>
  281. <programlisting>
  282. typedef enum fe_guard_interval {
  283. GUARD_INTERVAL_1_32,
  284. GUARD_INTERVAL_1_16,
  285. GUARD_INTERVAL_1_8,
  286. GUARD_INTERVAL_1_4,
  287. GUARD_INTERVAL_AUTO
  288. } fe_guard_interval_t;
  289. </programlisting>
  290. <programlisting>
  291. typedef enum fe_hierarchy {
  292. HIERARCHY_NONE,
  293. HIERARCHY_1,
  294. HIERARCHY_2,
  295. HIERARCHY_4,
  296. HIERARCHY_AUTO
  297. } fe_hierarchy_t;
  298. </programlisting>
  299. </section>
  300. <section id="frontend_events">
  301. <title>frontend events</title>
  302. <programlisting>
  303. struct dvb_frontend_event {
  304. fe_status_t status;
  305. struct dvb_frontend_parameters parameters;
  306. };
  307. </programlisting>
  308. </section>
  309. </section>
  310. <section id="frontend_fcalls">
  311. <title>Frontend Function Calls</title>
  312. <section id="frontend_f_open">
  313. <title>open()</title>
  314. <para>DESCRIPTION</para>
  315. <informaltable><tgroup cols="1"><tbody><row>
  316. <entry align="char">
  317. <para>This system call opens a named frontend device (/dev/dvb/adapter0/frontend0)
  318. for subsequent use. Usually the first thing to do after a successful open is to
  319. find out the frontend type with <link linkend="FE_GET_INFO">FE_GET_INFO</link>.</para>
  320. <para>The device can be opened in read-only mode, which only allows monitoring of
  321. device status and statistics, or read/write mode, which allows any kind of use
  322. (e.g. performing tuning operations.)
  323. </para>
  324. <para>In a system with multiple front-ends, it is usually the case that multiple devices
  325. cannot be open in read/write mode simultaneously. As long as a front-end
  326. device is opened in read/write mode, other open() calls in read/write mode will
  327. either fail or block, depending on whether non-blocking or blocking mode was
  328. specified. A front-end device opened in blocking mode can later be put into
  329. non-blocking mode (and vice versa) using the F_SETFL command of the fcntl
  330. system call. This is a standard system call, documented in the Linux manual
  331. page for fcntl. When an open() call has succeeded, the device will be ready
  332. for use in the specified mode. This implies that the corresponding hardware is
  333. powered up, and that other front-ends may have been powered down to make
  334. that possible.</para>
  335. </entry>
  336. </row></tbody></tgroup></informaltable>
  337. <para>SYNOPSIS</para>
  338. <informaltable><tgroup cols="1"><tbody><row><entry
  339. align="char">
  340. <para>int open(const char &#x22C6;deviceName, int flags);</para>
  341. </entry>
  342. </row></tbody></tgroup></informaltable>
  343. <para>PARAMETERS
  344. </para>
  345. <informaltable><tgroup cols="2"><tbody><row><entry
  346. align="char">
  347. <para>const char
  348. *deviceName</para>
  349. </entry><entry
  350. align="char">
  351. <para>Name of specific video device.</para>
  352. </entry>
  353. </row><row><entry
  354. align="char">
  355. <para>int flags</para>
  356. </entry><entry
  357. align="char">
  358. <para>A bit-wise OR of the following flags:</para>
  359. </entry>
  360. </row><row><entry
  361. align="char">
  362. </entry><entry
  363. align="char">
  364. <para>O_RDONLY read-only access</para>
  365. </entry>
  366. </row><row><entry
  367. align="char">
  368. </entry><entry
  369. align="char">
  370. <para>O_RDWR read/write access</para>
  371. </entry>
  372. </row><row><entry
  373. align="char">
  374. </entry><entry
  375. align="char">
  376. <para>O_NONBLOCK open in non-blocking mode</para>
  377. </entry>
  378. </row><row><entry
  379. align="char">
  380. </entry><entry
  381. align="char">
  382. <para>(blocking mode is the default)</para>
  383. </entry>
  384. </row></tbody></tgroup></informaltable>
  385. <para>ERRORS
  386. </para>
  387. <informaltable><tgroup cols="2"><tbody><row><entry
  388. align="char">
  389. <para>ENODEV</para>
  390. </entry><entry
  391. align="char">
  392. <para>Device driver not loaded/available.</para>
  393. </entry>
  394. </row><row><entry
  395. align="char">
  396. <para>EINTERNAL</para>
  397. </entry><entry
  398. align="char">
  399. <para>Internal error.</para>
  400. </entry>
  401. </row><row><entry
  402. align="char">
  403. <para>EBUSY</para>
  404. </entry><entry
  405. align="char">
  406. <para>Device or resource busy.</para>
  407. </entry>
  408. </row><row><entry
  409. align="char">
  410. <para>EINVAL</para>
  411. </entry><entry
  412. align="char">
  413. <para>Invalid argument.</para>
  414. </entry>
  415. </row></tbody></tgroup></informaltable>
  416. </section>
  417. <section id="frontend_f_close">
  418. <title>close()</title>
  419. <para>DESCRIPTION
  420. </para>
  421. <informaltable><tgroup cols="1"><tbody><row><entry
  422. align="char">
  423. <para>This system call closes a previously opened front-end device. After closing
  424. a front-end device, its corresponding hardware might be powered down
  425. automatically.</para>
  426. </entry>
  427. </row></tbody></tgroup></informaltable>
  428. <para>SYNOPSIS
  429. </para>
  430. <informaltable><tgroup cols="1"><tbody><row><entry
  431. align="char">
  432. <para>int close(int fd);</para>
  433. </entry>
  434. </row></tbody></tgroup></informaltable>
  435. <para>PARAMETERS
  436. </para>
  437. <informaltable><tgroup cols="2"><tbody><row><entry
  438. align="char">
  439. <para>int fd</para>
  440. </entry><entry
  441. align="char">
  442. <para>File descriptor returned by a previous call to open().</para>
  443. </entry>
  444. </row></tbody></tgroup></informaltable>
  445. <para>ERRORS
  446. </para>
  447. <informaltable><tgroup cols="2"><tbody><row><entry
  448. align="char">
  449. <para>EBADF</para>
  450. </entry><entry
  451. align="char">
  452. <para>fd is not a valid open file descriptor.</para>
  453. </entry>
  454. </row></tbody></tgroup></informaltable>
  455. </section>
  456. <section id="FE_READ_STATUS">
  457. <title>FE_READ_STATUS</title>
  458. <para>DESCRIPTION
  459. </para>
  460. <informaltable><tgroup cols="1"><tbody><row><entry
  461. align="char">
  462. <para>This ioctl call returns status information about the front-end. This call only
  463. requires read-only access to the device.</para>
  464. </entry>
  465. </row></tbody></tgroup></informaltable>
  466. <para>SYNOPSIS
  467. </para>
  468. <informaltable><tgroup cols="1"><tbody><row><entry
  469. align="char">
  470. <para>int ioctl(int fd, int request = <link linkend="FE_READ_STATUS">FE_READ_STATUS</link>,
  471. fe_status_t &#x22C6;status);</para>
  472. </entry>
  473. </row></tbody></tgroup></informaltable>
  474. <para>PARAMETERS
  475. </para>
  476. <informaltable><tgroup cols="2"><tbody><row><entry
  477. align="char">
  478. <para>int fd</para>
  479. </entry><entry
  480. align="char">
  481. <para>File descriptor returned by a previous call to open().</para>
  482. </entry>
  483. </row><row><entry
  484. align="char">
  485. <para>int request</para>
  486. </entry><entry
  487. align="char">
  488. <para>Equals <link linkend="FE_READ_STATUS">FE_READ_STATUS</link> for this command.</para>
  489. </entry>
  490. </row><row><entry
  491. align="char">
  492. <para>struct fe_status_t
  493. *status</para>
  494. </entry><entry
  495. align="char">
  496. <para>Points to the location where the front-end status word is
  497. to be stored.</para>
  498. </entry>
  499. </row></tbody></tgroup></informaltable>
  500. <para>ERRORS
  501. </para>
  502. <informaltable><tgroup cols="2"><tbody><row><entry
  503. align="char">
  504. <para>EBADF</para>
  505. </entry><entry
  506. align="char">
  507. <para>fd is not a valid open file descriptor.</para>
  508. </entry>
  509. </row><row><entry
  510. align="char">
  511. <para>EFAULT</para>
  512. </entry><entry
  513. align="char">
  514. <para>status points to invalid address.</para>
  515. </entry>
  516. </row></tbody></tgroup></informaltable>
  517. </section>
  518. <section id="FE_READ_BER">
  519. <title>FE_READ_BER</title>
  520. <para>DESCRIPTION
  521. </para>
  522. <informaltable><tgroup cols="1"><tbody><row><entry
  523. align="char">
  524. <para>This ioctl call returns the bit error rate for the signal currently
  525. received/demodulated by the front-end. For this command, read-only access to
  526. the device is sufficient.</para>
  527. </entry>
  528. </row></tbody></tgroup></informaltable>
  529. <para>SYNOPSIS
  530. </para>
  531. <informaltable><tgroup cols="1"><tbody><row><entry
  532. align="char">
  533. <para>int ioctl(int fd, int request = <link linkend="FE_READ_BER">FE_READ_BER</link>,
  534. uint32_t &#x22C6;ber);</para>
  535. </entry>
  536. </row></tbody></tgroup></informaltable>
  537. <para>PARAMETERS
  538. </para>
  539. <informaltable><tgroup cols="2"><tbody><row><entry
  540. align="char">
  541. <para>int fd</para>
  542. </entry><entry
  543. align="char">
  544. <para>File descriptor returned by a previous call to open().</para>
  545. </entry>
  546. </row><row><entry
  547. align="char">
  548. <para>int request</para>
  549. </entry><entry
  550. align="char">
  551. <para>Equals <link linkend="FE_READ_BER">FE_READ_BER</link> for this command.</para>
  552. </entry>
  553. </row><row><entry
  554. align="char">
  555. <para>uint32_t *ber</para>
  556. </entry><entry
  557. align="char">
  558. <para>The bit error rate is stored into *ber.</para>
  559. </entry>
  560. </row></tbody></tgroup></informaltable>
  561. <para>ERRORS
  562. </para>
  563. <informaltable><tgroup cols="2"><tbody><row><entry
  564. align="char">
  565. <para>EBADF</para>
  566. </entry><entry
  567. align="char">
  568. <para>fd is not a valid open file descriptor.</para>
  569. </entry>
  570. </row><row><entry
  571. align="char">
  572. <para>EFAULT</para>
  573. </entry><entry
  574. align="char">
  575. <para>ber points to invalid address.</para>
  576. </entry>
  577. </row><row><entry
  578. align="char">
  579. <para>ENOSIGNAL</para>
  580. </entry><entry
  581. align="char">
  582. <para>There is no signal, thus no meaningful bit error rate. Also
  583. returned if the front-end is not turned on.</para>
  584. </entry>
  585. </row><row><entry
  586. align="char">
  587. <para>ENOSYS</para>
  588. </entry><entry
  589. align="char">
  590. <para>Function not available for this device.</para>
  591. </entry>
  592. </row></tbody></tgroup></informaltable>
  593. </section>
  594. <section id="FE_READ_SNR">
  595. <title>FE_READ_SNR</title>
  596. <para>DESCRIPTION
  597. </para>
  598. <informaltable><tgroup cols="1"><tbody><row><entry
  599. align="char">
  600. <para>This ioctl call returns the signal-to-noise ratio for the signal currently received
  601. by the front-end. For this command, read-only access to the device is sufficient.</para>
  602. </entry>
  603. </row></tbody></tgroup></informaltable>
  604. <para>SYNOPSIS
  605. </para>
  606. <informaltable><tgroup cols="1"><tbody><row><entry
  607. align="char">
  608. <para>int ioctl(int fd, int request = <link linkend="FE_READ_SNR">FE_READ_SNR</link>, int16_t
  609. &#x22C6;snr);</para>
  610. </entry>
  611. </row></tbody></tgroup></informaltable>
  612. <para>PARAMETERS
  613. </para>
  614. <informaltable><tgroup cols="2"><tbody><row><entry
  615. align="char">
  616. <para>int fd</para>
  617. </entry><entry
  618. align="char">
  619. <para>File descriptor returned by a previous call to open().</para>
  620. </entry>
  621. </row><row><entry
  622. align="char">
  623. <para>int request</para>
  624. </entry><entry
  625. align="char">
  626. <para>Equals <link linkend="FE_READ_SNR">FE_READ_SNR</link> for this command.</para>
  627. </entry>
  628. </row><row><entry
  629. align="char">
  630. <para>int16_t *snr</para>
  631. </entry><entry
  632. align="char">
  633. <para>The signal-to-noise ratio is stored into *snr.</para>
  634. </entry>
  635. </row></tbody></tgroup></informaltable>
  636. <para>ERRORS
  637. </para>
  638. <informaltable><tgroup cols="2"><tbody><row><entry
  639. align="char">
  640. <para>EBADF</para>
  641. </entry><entry
  642. align="char">
  643. <para>fd is not a valid open file descriptor.</para>
  644. </entry>
  645. </row><row><entry
  646. align="char">
  647. <para>EFAULT</para>
  648. </entry><entry
  649. align="char">
  650. <para>snr points to invalid address.</para>
  651. </entry>
  652. </row><row><entry
  653. align="char">
  654. <para>ENOSIGNAL</para>
  655. </entry><entry
  656. align="char">
  657. <para>There is no signal, thus no meaningful signal strength
  658. value. Also returned if front-end is not turned on.</para>
  659. </entry>
  660. </row><row><entry
  661. align="char">
  662. <para>ENOSYS</para>
  663. </entry><entry
  664. align="char">
  665. <para>Function not available for this device.</para>
  666. </entry>
  667. </row></tbody></tgroup></informaltable>
  668. </section>
  669. <section id="FE_READ_SIGNAL_STRENGTH">
  670. <title>FE_READ_SIGNAL_STRENGTH</title>
  671. <para>DESCRIPTION
  672. </para>
  673. <informaltable><tgroup cols="1"><tbody><row><entry
  674. align="char">
  675. <para>This ioctl call returns the signal strength value for the signal currently received
  676. by the front-end. For this command, read-only access to the device is sufficient.</para>
  677. </entry>
  678. </row></tbody></tgroup></informaltable>
  679. <para>SYNOPSIS
  680. </para>
  681. <informaltable><tgroup cols="1"><tbody><row><entry
  682. align="char">
  683. <para>int ioctl( int fd, int request =
  684. <link linkend="FE_READ_SIGNAL_STRENGTH">FE_READ_SIGNAL_STRENGTH</link>, int16_t &#x22C6;strength);</para>
  685. </entry>
  686. </row></tbody></tgroup></informaltable>
  687. <para>PARAMETERS
  688. </para>
  689. <informaltable><tgroup cols="2"><tbody><row><entry
  690. align="char">
  691. <para>int fd</para>
  692. </entry><entry
  693. align="char">
  694. <para>File descriptor returned by a previous call to open().</para>
  695. </entry>
  696. </row><row><entry
  697. align="char">
  698. <para>int request</para>
  699. </entry><entry
  700. align="char">
  701. <para>Equals <link linkend="FE_READ_SIGNAL_STRENGTH">FE_READ_SIGNAL_STRENGTH</link> for this
  702. command.</para>
  703. </entry>
  704. </row><row><entry
  705. align="char">
  706. <para>int16_t *strength</para>
  707. </entry><entry
  708. align="char">
  709. <para>The signal strength value is stored into *strength.</para>
  710. </entry>
  711. </row></tbody></tgroup></informaltable>
  712. <para>ERRORS
  713. </para>
  714. <informaltable><tgroup cols="2"><tbody><row><entry
  715. align="char">
  716. <para>EBADF</para>
  717. </entry><entry
  718. align="char">
  719. <para>fd is not a valid open file descriptor.</para>
  720. </entry>
  721. </row><row><entry
  722. align="char">
  723. <para>EFAULT</para>
  724. </entry><entry
  725. align="char">
  726. <para>status points to invalid address.</para>
  727. </entry>
  728. </row><row><entry
  729. align="char">
  730. <para>ENOSIGNAL</para>
  731. </entry><entry
  732. align="char">
  733. <para>There is no signal, thus no meaningful signal strength
  734. value. Also returned if front-end is not turned on.</para>
  735. </entry>
  736. </row><row><entry
  737. align="char">
  738. <para>ENOSYS</para>
  739. </entry><entry
  740. align="char">
  741. <para>Function not available for this device.</para>
  742. </entry>
  743. </row></tbody></tgroup></informaltable>
  744. </section>
  745. <section id="FE_READ_UNCORRECTED_BLOCKS">
  746. <title>FE_READ_UNCORRECTED_BLOCKS</title>
  747. <para>DESCRIPTION
  748. </para>
  749. <informaltable><tgroup cols="1"><tbody><row><entry
  750. align="char">
  751. <para>This ioctl call returns the number of uncorrected blocks detected by the device
  752. driver during its lifetime. For meaningful measurements, the increment in block
  753. count during a specific time interval should be calculated. For this command,
  754. read-only access to the device is sufficient.</para>
  755. </entry>
  756. </row><row><entry
  757. align="char">
  758. <para>Note that the counter will wrap to zero after its maximum count has been
  759. reached.</para>
  760. </entry>
  761. </row></tbody></tgroup></informaltable>
  762. <para>SYNOPSIS
  763. </para>
  764. <informaltable><tgroup cols="1"><tbody><row><entry
  765. align="char">
  766. <para>int ioctl( int fd, int request =
  767. <link linkend="FE_READ_UNCORRECTED_BLOCKS">FE_READ_UNCORRECTED_BLOCKS</link>, uint32_t &#x22C6;ublocks);</para>
  768. </entry>
  769. </row></tbody></tgroup></informaltable>
  770. <para>PARAMETERS
  771. </para>
  772. <informaltable><tgroup cols="2"><tbody><row><entry
  773. align="char">
  774. <para>int fd</para>
  775. </entry><entry
  776. align="char">
  777. <para>File descriptor returned by a previous call to open().</para>
  778. </entry>
  779. </row><row><entry
  780. align="char">
  781. <para>int request</para>
  782. </entry><entry
  783. align="char">
  784. <para>Equals <link linkend="FE_READ_UNCORRECTED_BLOCKS">FE_READ_UNCORRECTED_BLOCKS</link> for this
  785. command.</para>
  786. </entry>
  787. </row><row><entry
  788. align="char">
  789. <para>uint32_t *ublocks</para>
  790. </entry><entry
  791. align="char">
  792. <para>The total number of uncorrected blocks seen by the driver
  793. so far.</para>
  794. </entry>
  795. </row></tbody></tgroup></informaltable>
  796. <para>ERRORS
  797. </para>
  798. <informaltable><tgroup cols="2"><tbody><row><entry
  799. align="char">
  800. <para>EBADF</para>
  801. </entry><entry
  802. align="char">
  803. <para>fd is not a valid open file descriptor.</para>
  804. </entry>
  805. </row><row><entry
  806. align="char">
  807. <para>EFAULT</para>
  808. </entry><entry
  809. align="char">
  810. <para>ublocks points to invalid address.</para>
  811. </entry>
  812. </row><row><entry
  813. align="char">
  814. <para>ENOSYS</para>
  815. </entry><entry
  816. align="char">
  817. <para>Function not available for this device.</para>
  818. </entry>
  819. </row></tbody></tgroup></informaltable>
  820. </section>
  821. <section id="FE_SET_FRONTEND">
  822. <title>FE_SET_FRONTEND</title>
  823. <para>DESCRIPTION
  824. </para>
  825. <informaltable><tgroup cols="1"><tbody><row><entry
  826. align="char">
  827. <para>This ioctl call starts a tuning operation using specified parameters. The result
  828. of this call will be successful if the parameters were valid and the tuning could
  829. be initiated. The result of the tuning operation in itself, however, will arrive
  830. asynchronously as an event (see documentation for <link linkend="FE_GET_EVENT">FE_GET_EVENT</link> and
  831. FrontendEvent.) If a new <link linkend="FE_SET_FRONTEND">FE_SET_FRONTEND</link> operation is initiated before
  832. the previous one was completed, the previous operation will be aborted in favor
  833. of the new one. This command requires read/write access to the device.</para>
  834. </entry>
  835. </row></tbody></tgroup></informaltable>
  836. <para>SYNOPSIS
  837. </para>
  838. <informaltable><tgroup cols="1"><tbody><row><entry
  839. align="char">
  840. <para>int ioctl(int fd, int request = <link linkend="FE_SET_FRONTEND">FE_SET_FRONTEND</link>,
  841. struct dvb_frontend_parameters &#x22C6;p);</para>
  842. </entry>
  843. </row></tbody></tgroup></informaltable>
  844. <para>PARAMETERS
  845. </para>
  846. <informaltable><tgroup cols="2"><tbody><row><entry
  847. align="char">
  848. <para>int fd</para>
  849. </entry><entry
  850. align="char">
  851. <para>File descriptor returned by a previous call to open().</para>
  852. </entry>
  853. </row><row><entry
  854. align="char">
  855. <para>int request</para>
  856. </entry><entry
  857. align="char">
  858. <para>Equals <link linkend="FE_SET_FRONTEND">FE_SET_FRONTEND</link> for this command.</para>
  859. </entry>
  860. </row><row><entry
  861. align="char">
  862. <para>struct
  863. dvb_frontend_parameters
  864. *p</para>
  865. </entry><entry
  866. align="char">
  867. <para>Points to parameters for tuning operation.</para>
  868. </entry>
  869. </row></tbody></tgroup></informaltable>
  870. <para>ERRORS
  871. </para>
  872. <informaltable><tgroup cols="2"><tbody><row><entry
  873. align="char">
  874. <para>EBADF</para>
  875. </entry><entry
  876. align="char">
  877. <para>fd is not a valid open file descriptor.</para>
  878. </entry>
  879. </row><row><entry
  880. align="char">
  881. <para>EFAULT</para>
  882. </entry><entry
  883. align="char">
  884. <para>p points to invalid address.</para>
  885. </entry>
  886. </row><row><entry
  887. align="char">
  888. <para>EINVAL</para>
  889. </entry><entry
  890. align="char">
  891. <para>Maximum supported symbol rate reached.</para>
  892. </entry>
  893. </row></tbody></tgroup></informaltable>
  894. </section>
  895. <section id="FE_GET_FRONTEND">
  896. <title>FE_GET_FRONTEND</title>
  897. <para>DESCRIPTION
  898. </para>
  899. <informaltable><tgroup cols="1"><tbody><row><entry
  900. align="char">
  901. <para>This ioctl call queries the currently effective frontend parameters. For this
  902. command, read-only access to the device is sufficient.</para>
  903. </entry>
  904. </row></tbody></tgroup></informaltable>
  905. <para>SYNOPSIS
  906. </para>
  907. <informaltable><tgroup cols="1"><tbody><row><entry
  908. align="char">
  909. <para>int ioctl(int fd, int request = <link linkend="FE_GET_FRONTEND">FE_GET_FRONTEND</link>,
  910. struct dvb_frontend_parameters &#x22C6;p);</para>
  911. </entry>
  912. </row></tbody></tgroup></informaltable>
  913. <para>PARAMETERS
  914. </para>
  915. <informaltable><tgroup cols="2"><tbody><row><entry
  916. align="char">
  917. <para>int fd</para>
  918. </entry><entry
  919. align="char">
  920. <para>File descriptor returned by a previous call to open().</para>
  921. </entry>
  922. </row><row><entry
  923. align="char">
  924. <para>int request</para>
  925. </entry><entry
  926. align="char">
  927. <para>Equals <link linkend="FE_SET_FRONTEND">FE_SET_FRONTEND</link> for this command.</para>
  928. </entry>
  929. </row><row><entry
  930. align="char">
  931. <para>struct
  932. dvb_frontend_parameters
  933. *p</para>
  934. </entry><entry
  935. align="char">
  936. <para>Points to parameters for tuning operation.</para>
  937. </entry>
  938. </row></tbody></tgroup></informaltable>
  939. <para>ERRORS
  940. </para>
  941. <informaltable><tgroup cols="2"><tbody><row><entry
  942. align="char">
  943. <para>EBADF</para>
  944. </entry><entry
  945. align="char">
  946. <para>fd is not a valid open file descriptor.</para>
  947. </entry>
  948. </row><row><entry
  949. align="char">
  950. <para>EFAULT</para>
  951. </entry><entry
  952. align="char">
  953. <para>p points to invalid address.</para>
  954. </entry>
  955. </row><row><entry
  956. align="char">
  957. <para>EINVAL</para>
  958. </entry><entry
  959. align="char">
  960. <para>Maximum supported symbol rate reached.</para>
  961. </entry>
  962. </row></tbody></tgroup></informaltable>
  963. </section>
  964. <section id="FE_GET_EVENT">
  965. <title>FE_GET_EVENT</title>
  966. <para>DESCRIPTION
  967. </para>
  968. <informaltable><tgroup cols="1"><tbody><row><entry
  969. align="char">
  970. <para>This ioctl call returns a frontend event if available. If an event is not
  971. available, the behavior depends on whether the device is in blocking or
  972. non-blocking mode. In the latter case, the call fails immediately with errno
  973. set to EWOULDBLOCK. In the former case, the call blocks until an event
  974. becomes available.</para>
  975. </entry>
  976. </row><row><entry
  977. align="char">
  978. <para>The standard Linux poll() and/or select() system calls can be used with the
  979. device file descriptor to watch for new events. For select(), the file descriptor
  980. should be included in the exceptfds argument, and for poll(), POLLPRI should
  981. be specified as the wake-up condition. Since the event queue allocated is
  982. rather small (room for 8 events), the queue must be serviced regularly to avoid
  983. overflow. If an overflow happens, the oldest event is discarded from the queue,
  984. and an error (EOVERFLOW) occurs the next time the queue is read. After
  985. reporting the error condition in this fashion, subsequent
  986. <link linkend="FE_GET_EVENT">FE_GET_EVENT</link>
  987. calls will return events from the queue as usual.</para>
  988. </entry>
  989. </row><row><entry
  990. align="char">
  991. <para>For the sake of implementation simplicity, this command requires read/write
  992. access to the device.</para>
  993. </entry>
  994. </row></tbody></tgroup></informaltable>
  995. <para>SYNOPSIS
  996. </para>
  997. <informaltable><tgroup cols="1"><tbody><row><entry
  998. align="char">
  999. <para>int ioctl(int fd, int request = QPSK_GET_EVENT,
  1000. struct dvb_frontend_event &#x22C6;ev);</para>
  1001. </entry>
  1002. </row></tbody></tgroup></informaltable>
  1003. <para>PARAMETERS
  1004. </para>
  1005. <informaltable><tgroup cols="2"><tbody><row><entry
  1006. align="char">
  1007. <para>int fd</para>
  1008. </entry><entry
  1009. align="char">
  1010. <para>File descriptor returned by a previous call to open().</para>
  1011. </entry>
  1012. </row><row><entry
  1013. align="char">
  1014. <para>int request</para>
  1015. </entry><entry
  1016. align="char">
  1017. <para>Equals <link linkend="FE_GET_EVENT">FE_GET_EVENT</link> for this command.</para>
  1018. </entry>
  1019. </row><row><entry
  1020. align="char">
  1021. <para>struct
  1022. dvb_frontend_event
  1023. *ev</para>
  1024. </entry><entry
  1025. align="char">
  1026. <para>Points to the location where the event,</para>
  1027. </entry>
  1028. </row><row><entry
  1029. align="char">
  1030. </entry><entry
  1031. align="char">
  1032. <para>if any, is to be stored.</para>
  1033. </entry>
  1034. </row></tbody></tgroup></informaltable>
  1035. <para>ERRORS
  1036. </para>
  1037. <informaltable><tgroup cols="2"><tbody><row><entry
  1038. align="char">
  1039. <para>EBADF</para>
  1040. </entry><entry
  1041. align="char">
  1042. <para>fd is not a valid open file descriptor.</para>
  1043. </entry>
  1044. </row><row><entry
  1045. align="char">
  1046. <para>EFAULT</para>
  1047. </entry><entry
  1048. align="char">
  1049. <para>ev points to invalid address.</para>
  1050. </entry>
  1051. </row><row><entry
  1052. align="char">
  1053. <para>EWOULDBLOCK</para>
  1054. </entry><entry
  1055. align="char">
  1056. <para>There is no event pending, and the device is in
  1057. non-blocking mode.</para>
  1058. </entry>
  1059. </row><row><entry
  1060. align="char">
  1061. <para>EOVERFLOW</para>
  1062. </entry><entry
  1063. align="char">
  1064. </entry>
  1065. </row><row><entry
  1066. align="char">
  1067. </entry><entry
  1068. align="char">
  1069. <para>Overflow in event queue - one or more events were lost.</para>
  1070. </entry>
  1071. </row></tbody></tgroup></informaltable>
  1072. </section>
  1073. <section id="FE_GET_INFO">
  1074. <title>FE_GET_INFO</title>
  1075. <para>DESCRIPTION
  1076. </para>
  1077. <informaltable><tgroup cols="1"><tbody><row><entry
  1078. align="char">
  1079. <para>This ioctl call returns information about the front-end. This call only requires
  1080. read-only access to the device.</para>
  1081. </entry>
  1082. </row></tbody></tgroup></informaltable>
  1083. <para>SYNOPSIS
  1084. </para>
  1085. <informaltable><tgroup cols="1"><tbody><row><entry
  1086. align="char">
  1087. <para> int ioctl(int fd, int request = <link linkend="FE_GET_INFO">FE_GET_INFO</link>, struct
  1088. dvb_frontend_info &#x22C6;info);</para>
  1089. </entry>
  1090. </row></tbody></tgroup></informaltable>
  1091. <para>PARAMETERS
  1092. </para>
  1093. <informaltable><tgroup cols="2"><tbody><row><entry
  1094. align="char">
  1095. <para>int fd</para>
  1096. </entry><entry
  1097. align="char">
  1098. <para>File descriptor returned by a previous call to open().</para>
  1099. </entry>
  1100. </row><row><entry
  1101. align="char">
  1102. <para>int request</para>
  1103. </entry><entry
  1104. align="char">
  1105. <para>Equals <link linkend="FE_GET_INFO">FE_GET_INFO</link> for this command.</para>
  1106. </entry>
  1107. </row><row><entry
  1108. align="char">
  1109. <para>struct
  1110. dvb_frontend_info
  1111. *info</para>
  1112. </entry><entry
  1113. align="char">
  1114. <para>Points to the location where the front-end information is
  1115. to be stored.</para>
  1116. </entry>
  1117. </row></tbody></tgroup></informaltable>
  1118. <para>ERRORS
  1119. </para>
  1120. <informaltable><tgroup cols="2"><tbody><row><entry
  1121. align="char">
  1122. <para>EBADF</para>
  1123. </entry><entry
  1124. align="char">
  1125. <para>fd is not a valid open file descriptor.</para>
  1126. </entry>
  1127. </row><row><entry
  1128. align="char">
  1129. <para>EFAULT</para>
  1130. </entry><entry
  1131. align="char">
  1132. <para>info points to invalid address.</para>
  1133. </entry>
  1134. </row></tbody></tgroup></informaltable>
  1135. </section>
  1136. <section id="FE_DISEQC_RESET_OVERLOAD">
  1137. <title>FE_DISEQC_RESET_OVERLOAD</title>
  1138. <para>DESCRIPTION
  1139. </para>
  1140. <informaltable><tgroup cols="1"><tbody><row><entry
  1141. align="char">
  1142. <para>If the bus has been automatically powered off due to power overload, this ioctl
  1143. call restores the power to the bus. The call requires read/write access to the
  1144. device. This call has no effect if the device is manually powered off. Not all
  1145. DVB adapters support this ioctl.</para>
  1146. </entry>
  1147. </row></tbody></tgroup></informaltable>
  1148. <para>SYNOPSIS
  1149. </para>
  1150. <informaltable><tgroup cols="1"><tbody><row><entry
  1151. align="char">
  1152. <para>int ioctl(int fd, int request =
  1153. <link linkend="FE_DISEQC_RESET_OVERLOAD">FE_DISEQC_RESET_OVERLOAD</link>);</para>
  1154. </entry>
  1155. </row></tbody></tgroup></informaltable>
  1156. <para>PARAMETERS
  1157. </para>
  1158. <informaltable><tgroup cols="2"><tbody><row><entry
  1159. align="char">
  1160. <para>int fd</para>
  1161. </entry><entry
  1162. align="char">
  1163. <para>File descriptor returned by a previous call to open().</para>
  1164. </entry>
  1165. </row><row><entry
  1166. align="char">
  1167. <para>int request</para>
  1168. </entry><entry
  1169. align="char">
  1170. <para>Equals <link linkend="FE_DISEQC_RESET_OVERLOAD">FE_DISEQC_RESET_OVERLOAD</link> for this
  1171. command.</para>
  1172. </entry>
  1173. </row></tbody></tgroup></informaltable>
  1174. <para>ERRORS
  1175. </para>
  1176. <informaltable><tgroup cols="2"><tbody><row><entry
  1177. align="char">
  1178. <para>EBADF</para>
  1179. </entry><entry
  1180. align="char">
  1181. <para>fd is not a valid file descriptor.</para>
  1182. </entry>
  1183. </row><row><entry
  1184. align="char">
  1185. <para>EPERM</para>
  1186. </entry><entry
  1187. align="char">
  1188. <para>Permission denied (needs read/write access).</para>
  1189. </entry>
  1190. </row><row><entry
  1191. align="char">
  1192. <para>EINTERNAL</para>
  1193. </entry><entry
  1194. align="char">
  1195. <para>Internal error in the device driver.</para>
  1196. </entry>
  1197. </row></tbody></tgroup></informaltable>
  1198. </section>
  1199. <section id="FE_DISEQC_SEND_MASTER_CMD">
  1200. <title>FE_DISEQC_SEND_MASTER_CMD</title>
  1201. <para>DESCRIPTION
  1202. </para>
  1203. <informaltable><tgroup cols="1"><tbody><row><entry
  1204. align="char">
  1205. <para>This ioctl call is used to send a a DiSEqC command.</para>
  1206. </entry>
  1207. </row></tbody></tgroup></informaltable>
  1208. <para>SYNOPSIS
  1209. </para>
  1210. <informaltable><tgroup cols="1"><tbody><row><entry
  1211. align="char">
  1212. <para>int ioctl(int fd, int request =
  1213. <link linkend="FE_DISEQC_SEND_MASTER_CMD">FE_DISEQC_SEND_MASTER_CMD</link>, struct
  1214. dvb_diseqc_master_cmd &#x22C6;cmd);</para>
  1215. </entry>
  1216. </row></tbody></tgroup></informaltable>
  1217. <para>PARAMETERS
  1218. </para>
  1219. <informaltable><tgroup cols="2"><tbody><row><entry
  1220. align="char">
  1221. <para>int fd</para>
  1222. </entry><entry
  1223. align="char">
  1224. <para>File descriptor returned by a previous call to open().</para>
  1225. </entry>
  1226. </row><row><entry
  1227. align="char">
  1228. <para>int request</para>
  1229. </entry><entry
  1230. align="char">
  1231. <para>Equals <link linkend="FE_DISEQC_SEND_MASTER_CMD">FE_DISEQC_SEND_MASTER_CMD</link> for this
  1232. command.</para>
  1233. </entry>
  1234. </row><row><entry
  1235. align="char">
  1236. <para>struct
  1237. dvb_diseqc_master_cmd
  1238. *cmd</para>
  1239. </entry><entry
  1240. align="char">
  1241. <para>Pointer to the command to be transmitted.</para>
  1242. </entry>
  1243. </row></tbody></tgroup></informaltable>
  1244. <para>ERRORS
  1245. </para>
  1246. <informaltable><tgroup cols="2"><tbody><row><entry
  1247. align="char">
  1248. <para>EBADF</para>
  1249. </entry><entry
  1250. align="char">
  1251. <para>fd is not a valid file descriptor.</para>
  1252. </entry>
  1253. </row><row><entry
  1254. align="char">
  1255. <para>EFAULT</para>
  1256. </entry><entry
  1257. align="char">
  1258. <para>Seq points to an invalid address.</para>
  1259. </entry>
  1260. </row><row><entry
  1261. align="char">
  1262. <para>EINVAL</para>
  1263. </entry><entry
  1264. align="char">
  1265. <para>The data structure referred to by seq is invalid in some
  1266. way.</para>
  1267. </entry>
  1268. </row><row><entry
  1269. align="char">
  1270. <para>EPERM</para>
  1271. </entry><entry
  1272. align="char">
  1273. <para>Permission denied (needs read/write access).</para>
  1274. </entry>
  1275. </row><row><entry
  1276. align="char">
  1277. <para>EINTERNAL</para>
  1278. </entry><entry
  1279. align="char">
  1280. <para>Internal error in the device driver.</para>
  1281. </entry>
  1282. </row></tbody></tgroup></informaltable>
  1283. </section>
  1284. <section id="FE_DISEQC_RECV_SLAVE_REPLY">
  1285. <title>FE_DISEQC_RECV_SLAVE_REPLY</title>
  1286. <para>DESCRIPTION
  1287. </para>
  1288. <informaltable><tgroup cols="1"><tbody><row><entry
  1289. align="char">
  1290. <para>This ioctl call is used to receive reply to a DiSEqC 2.0 command.</para>
  1291. </entry>
  1292. </row></tbody></tgroup></informaltable>
  1293. <para>SYNOPSIS
  1294. </para>
  1295. <informaltable><tgroup cols="1"><tbody><row><entry
  1296. align="char">
  1297. <para>int ioctl(int fd, int request =
  1298. <link linkend="FE_DISEQC_RECV_SLAVE_REPLY">FE_DISEQC_RECV_SLAVE_REPLY</link>, struct
  1299. dvb_diseqc_slave_reply &#x22C6;reply);</para>
  1300. </entry>
  1301. </row></tbody></tgroup></informaltable>
  1302. <para>PARAMETERS
  1303. </para>
  1304. <informaltable><tgroup cols="2"><tbody><row><entry
  1305. align="char">
  1306. <para>int fd</para>
  1307. </entry><entry
  1308. align="char">
  1309. <para>File descriptor returned by a previous call to open().</para>
  1310. </entry>
  1311. </row><row><entry
  1312. align="char">
  1313. <para>int request</para>
  1314. </entry><entry
  1315. align="char">
  1316. <para>Equals <link linkend="FE_DISEQC_RECV_SLAVE_REPLY">FE_DISEQC_RECV_SLAVE_REPLY</link> for this
  1317. command.</para>
  1318. </entry>
  1319. </row><row><entry
  1320. align="char">
  1321. <para>struct
  1322. dvb_diseqc_slave_reply
  1323. *reply</para>
  1324. </entry><entry
  1325. align="char">
  1326. <para>Pointer to the command to be received.</para>
  1327. </entry>
  1328. </row></tbody></tgroup></informaltable>
  1329. <para>ERRORS
  1330. </para>
  1331. <informaltable><tgroup cols="2"><tbody><row><entry
  1332. align="char">
  1333. <para>EBADF</para>
  1334. </entry><entry
  1335. align="char">
  1336. <para>fd is not a valid file descriptor.</para>
  1337. </entry>
  1338. </row><row><entry
  1339. align="char">
  1340. <para>EFAULT</para>
  1341. </entry><entry
  1342. align="char">
  1343. <para>Seq points to an invalid address.</para>
  1344. </entry>
  1345. </row><row><entry
  1346. align="char">
  1347. <para>EINVAL</para>
  1348. </entry><entry
  1349. align="char">
  1350. <para>The data structure referred to by seq is invalid in some
  1351. way.</para>
  1352. </entry>
  1353. </row><row><entry
  1354. align="char">
  1355. <para>EPERM</para>
  1356. </entry><entry
  1357. align="char">
  1358. <para>Permission denied (needs read/write access).</para>
  1359. </entry>
  1360. </row><row><entry
  1361. align="char">
  1362. <para>EINTERNAL</para>
  1363. </entry><entry
  1364. align="char">
  1365. <para>Internal error in the device driver.</para>
  1366. </entry>
  1367. </row></tbody></tgroup></informaltable>
  1368. </section>
  1369. <section id="FE_DISEQC_SEND_BURST">
  1370. <title>FE_DISEQC_SEND_BURST</title>
  1371. <para>DESCRIPTION
  1372. </para>
  1373. <informaltable><tgroup cols="1"><tbody><row><entry
  1374. align="char">
  1375. <para>This ioctl call is used to send a 22KHz tone burst.</para>
  1376. </entry>
  1377. </row></tbody></tgroup></informaltable>
  1378. <para>SYNOPSIS
  1379. </para>
  1380. <informaltable><tgroup cols="1"><tbody><row><entry
  1381. align="char">
  1382. <para>int ioctl(int fd, int request =
  1383. <link linkend="FE_DISEQC_SEND_BURST">FE_DISEQC_SEND_BURST</link>, fe_sec_mini_cmd_t burst);</para>
  1384. </entry>
  1385. </row></tbody></tgroup></informaltable>
  1386. <para>PARAMETERS
  1387. </para>
  1388. <informaltable><tgroup cols="2"><tbody><row><entry
  1389. align="char">
  1390. <para>int fd</para>
  1391. </entry><entry
  1392. align="char">
  1393. <para>File descriptor returned by a previous call to open().</para>
  1394. </entry>
  1395. </row><row><entry
  1396. align="char">
  1397. <para>int request</para>
  1398. </entry><entry
  1399. align="char">
  1400. <para>Equals <link linkend="FE_DISEQC_SEND_BURST">FE_DISEQC_SEND_BURST</link> for this command.</para>
  1401. </entry>
  1402. </row><row><entry
  1403. align="char">
  1404. <para>fe_sec_mini_cmd_t
  1405. burst</para>
  1406. </entry><entry
  1407. align="char">
  1408. <para>burst A or B.</para>
  1409. </entry>
  1410. </row></tbody></tgroup></informaltable>
  1411. <para>ERRORS
  1412. </para>
  1413. <informaltable><tgroup cols="2"><tbody><row><entry
  1414. align="char">
  1415. <para>EBADF</para>
  1416. </entry><entry
  1417. align="char">
  1418. <para>fd is not a valid file descriptor.</para>
  1419. </entry>
  1420. </row><row><entry
  1421. align="char">
  1422. <para>EFAULT</para>
  1423. </entry><entry
  1424. align="char">
  1425. <para>Seq points to an invalid address.</para>
  1426. </entry>
  1427. </row><row><entry
  1428. align="char">
  1429. <para>EINVAL</para>
  1430. </entry><entry
  1431. align="char">
  1432. <para>The data structure referred to by seq is invalid in some
  1433. way.</para>
  1434. </entry>
  1435. </row><row><entry
  1436. align="char">
  1437. <para>EPERM</para>
  1438. </entry><entry
  1439. align="char">
  1440. <para>Permission denied (needs read/write access).</para>
  1441. </entry>
  1442. </row><row><entry
  1443. align="char">
  1444. <para>EINTERNAL</para>
  1445. </entry><entry
  1446. align="char">
  1447. <para>Internal error in the device driver.</para>
  1448. </entry>
  1449. </row></tbody></tgroup></informaltable>
  1450. </section>
  1451. <section id="FE_SET_TONE">
  1452. <title>FE_SET_TONE</title>
  1453. <para>DESCRIPTION
  1454. </para>
  1455. <informaltable><tgroup cols="1"><tbody><row><entry
  1456. align="char">
  1457. <para>This call is used to set the generation of the continuous 22kHz tone. This call
  1458. requires read/write permissions.</para>
  1459. </entry>
  1460. </row></tbody></tgroup></informaltable>
  1461. <para>SYNOPSIS
  1462. </para>
  1463. <informaltable><tgroup cols="1"><tbody><row><entry
  1464. align="char">
  1465. <para>int ioctl(int fd, int request = <link linkend="FE_SET_TONE">FE_SET_TONE</link>,
  1466. fe_sec_tone_mode_t tone);</para>
  1467. </entry>
  1468. </row></tbody></tgroup></informaltable>
  1469. <para>PARAMETERS
  1470. </para>
  1471. <informaltable><tgroup cols="2"><tbody><row><entry
  1472. align="char">
  1473. <para>int fd</para>
  1474. </entry><entry
  1475. align="char">
  1476. <para>File descriptor returned by a previous call to open().</para>
  1477. </entry>
  1478. </row><row><entry
  1479. align="char">
  1480. <para>int request</para>
  1481. </entry><entry
  1482. align="char">
  1483. <para>Equals <link linkend="FE_SET_TONE">FE_SET_TONE</link> for this command.</para>
  1484. </entry>
  1485. </row><row><entry
  1486. align="char">
  1487. <para>fe_sec_tone_mode_t
  1488. tone</para>
  1489. </entry><entry
  1490. align="char">
  1491. <para>The requested tone generation mode (on/off).</para>
  1492. </entry>
  1493. </row></tbody></tgroup></informaltable>
  1494. <para>ERRORS
  1495. </para>
  1496. <informaltable><tgroup cols="2"><tbody><row><entry
  1497. align="char">
  1498. <para>ENODEV</para>
  1499. </entry><entry
  1500. align="char">
  1501. <para>Device driver not loaded/available.</para>
  1502. </entry>
  1503. </row><row><entry
  1504. align="char">
  1505. <para>EBUSY</para>
  1506. </entry><entry
  1507. align="char">
  1508. <para>Device or resource busy.</para>
  1509. </entry>
  1510. </row><row><entry
  1511. align="char">
  1512. <para>EINVAL</para>
  1513. </entry><entry
  1514. align="char">
  1515. <para>Invalid argument.</para>
  1516. </entry>
  1517. </row><row><entry
  1518. align="char">
  1519. <para>EPERM</para>
  1520. </entry><entry
  1521. align="char">
  1522. <para>File not opened with read permissions.</para>
  1523. </entry>
  1524. </row><row><entry
  1525. align="char">
  1526. <para>EINTERNAL</para>
  1527. </entry><entry
  1528. align="char">
  1529. <para>Internal error in the device driver.</para>
  1530. </entry>
  1531. </row></tbody></tgroup></informaltable>
  1532. </section>
  1533. <section id="FE_SET_VOLTAGE">
  1534. <title>FE_SET_VOLTAGE</title>
  1535. <para>DESCRIPTION
  1536. </para>
  1537. <informaltable><tgroup cols="1"><tbody><row><entry
  1538. align="char">
  1539. <para>This call is used to set the bus voltage. This call requires read/write
  1540. permissions.</para>
  1541. </entry>
  1542. </row></tbody></tgroup></informaltable>
  1543. <para>SYNOPSIS
  1544. </para>
  1545. <informaltable><tgroup cols="1"><tbody><row><entry
  1546. align="char">
  1547. <para>int ioctl(int fd, int request = <link linkend="FE_SET_VOLTAGE">FE_SET_VOLTAGE</link>,
  1548. fe_sec_voltage_t voltage);</para>
  1549. </entry>
  1550. </row></tbody></tgroup></informaltable>
  1551. <para>PARAMETERS
  1552. </para>
  1553. <informaltable><tgroup cols="2"><tbody><row><entry
  1554. align="char">
  1555. <para>int fd</para>
  1556. </entry><entry
  1557. align="char">
  1558. <para>File descriptor returned by a previous call to open().</para>
  1559. </entry>
  1560. </row><row><entry
  1561. align="char">
  1562. <para>int request</para>
  1563. </entry><entry
  1564. align="char">
  1565. <para>Equals <link linkend="FE_SET_VOLTAGE">FE_SET_VOLTAGE</link> for this command.</para>
  1566. </entry>
  1567. </row><row><entry
  1568. align="char">
  1569. <para>fe_sec_voltage_t
  1570. voltage</para>
  1571. </entry><entry
  1572. align="char">
  1573. <para>The requested bus voltage.</para>
  1574. </entry>
  1575. </row></tbody></tgroup></informaltable>
  1576. <para>ERRORS
  1577. </para>
  1578. <informaltable><tgroup cols="2"><tbody><row><entry
  1579. align="char">
  1580. <para>ENODEV</para>
  1581. </entry><entry
  1582. align="char">
  1583. <para>Device driver not loaded/available.</para>
  1584. </entry>
  1585. </row><row><entry
  1586. align="char">
  1587. <para>EBUSY</para>
  1588. </entry><entry
  1589. align="char">
  1590. <para>Device or resource busy.</para>
  1591. </entry>
  1592. </row><row><entry
  1593. align="char">
  1594. <para>EINVAL</para>
  1595. </entry><entry
  1596. align="char">
  1597. <para>Invalid argument.</para>
  1598. </entry>
  1599. </row><row><entry
  1600. align="char">
  1601. <para>EPERM</para>
  1602. </entry><entry
  1603. align="char">
  1604. <para>File not opened with read permissions.</para>
  1605. </entry>
  1606. </row><row><entry
  1607. align="char">
  1608. <para>EINTERNAL</para>
  1609. </entry><entry
  1610. align="char">
  1611. <para>Internal error in the device driver.</para>
  1612. </entry>
  1613. </row></tbody></tgroup></informaltable>
  1614. </section>
  1615. <section id="FE_ENABLE_HIGH_LNB_VOLTAGE">
  1616. <title>FE_ENABLE_HIGH_LNB_VOLTAGE</title>
  1617. <para>DESCRIPTION
  1618. </para>
  1619. <informaltable><tgroup cols="1"><tbody><row><entry
  1620. align="char">
  1621. <para>If high != 0 enables slightly higher voltages instead of 13/18V (to compensate
  1622. for long cables). This call requires read/write permissions. Not all DVB
  1623. adapters support this ioctl.</para>
  1624. </entry>
  1625. </row></tbody></tgroup></informaltable>
  1626. <para>SYNOPSIS
  1627. </para>
  1628. <informaltable><tgroup cols="1"><tbody><row><entry
  1629. align="char">
  1630. <para>int ioctl(int fd, int request =
  1631. <link linkend="FE_ENABLE_HIGH_LNB_VOLTAGE">FE_ENABLE_HIGH_LNB_VOLTAGE</link>, int high);</para>
  1632. </entry>
  1633. </row></tbody></tgroup></informaltable>
  1634. <para>PARAMETERS
  1635. </para>
  1636. <informaltable><tgroup cols="2"><tbody><row><entry
  1637. align="char">
  1638. <para>int fd</para>
  1639. </entry><entry
  1640. align="char">
  1641. <para>File descriptor returned by a previous call to open().</para>
  1642. </entry>
  1643. </row><row><entry
  1644. align="char">
  1645. <para>int request</para>
  1646. </entry><entry
  1647. align="char">
  1648. <para>Equals <link linkend="FE_SET_VOLTAGE">FE_SET_VOLTAGE</link> for this command.</para>
  1649. </entry>
  1650. </row><row><entry
  1651. align="char">
  1652. <para>int high</para>
  1653. </entry><entry
  1654. align="char">
  1655. <para>The requested bus voltage.</para>
  1656. </entry>
  1657. </row></tbody></tgroup></informaltable>
  1658. <para>ERRORS
  1659. </para>
  1660. <informaltable><tgroup cols="2"><tbody><row><entry
  1661. align="char">
  1662. <para>ENODEV</para>
  1663. </entry><entry
  1664. align="char">
  1665. <para>Device driver not loaded/available.</para>
  1666. </entry>
  1667. </row><row><entry
  1668. align="char">
  1669. <para>EBUSY</para>
  1670. </entry><entry
  1671. align="char">
  1672. <para>Device or resource busy.</para>
  1673. </entry>
  1674. </row><row><entry
  1675. align="char">
  1676. <para>EINVAL</para>
  1677. </entry><entry
  1678. align="char">
  1679. <para>Invalid argument.</para>
  1680. </entry>
  1681. </row><row><entry
  1682. align="char">
  1683. <para>EPERM</para>
  1684. </entry><entry
  1685. align="char">
  1686. <para>File not opened with read permissions.</para>
  1687. </entry>
  1688. </row><row><entry
  1689. align="char">
  1690. <para>EINTERNAL</para>
  1691. </entry><entry
  1692. align="char">
  1693. <para>Internal error in the device driver.</para>
  1694. </entry>
  1695. </row></tbody></tgroup></informaltable>
  1696. </section>
  1697. <section id="FE_SET_FRONTEND_TUNE_MODE">
  1698. <title>FE_SET_FRONTEND_TUNE_MODE</title>
  1699. <para>DESCRIPTION</para>
  1700. <informaltable><tgroup cols="1"><tbody><row>
  1701. <entry align="char">
  1702. <para>Allow setting tuner mode flags to the frontend.</para>
  1703. </entry>
  1704. </row></tbody></tgroup></informaltable>
  1705. <para>SYNOPSIS</para>
  1706. <informaltable><tgroup cols="1"><tbody><row>
  1707. <entry align="char">
  1708. <para>int ioctl(int fd, int request =
  1709. <link linkend="FE_SET_FRONTEND_TUNE_MODE">FE_SET_FRONTEND_TUNE_MODE</link>, unsigned int flags);</para>
  1710. </entry>
  1711. </row></tbody></tgroup></informaltable>
  1712. <para>PARAMETERS</para>
  1713. <informaltable><tgroup cols="2"><tbody><row>
  1714. <entry align="char">
  1715. <para>unsigned int flags</para>
  1716. </entry>
  1717. <entry align="char">
  1718. <para>
  1719. FE_TUNE_MODE_ONESHOT When set, this flag will disable any zigzagging or other "normal" tuning behaviour. Additionally, there will be no automatic monitoring of the lock status, and hence no frontend events will be generated. If a frontend device is closed, this flag will be automatically turned off when the device is reopened read-write.
  1720. </para>
  1721. </entry>
  1722. </row></tbody></tgroup></informaltable>
  1723. <para>ERRORS</para>
  1724. <informaltable><tgroup cols="2"><tbody><row>
  1725. <entry align="char"><para>EINVAL</para></entry>
  1726. <entry align="char"><para>Invalid argument.</para></entry>
  1727. </row></tbody></tgroup></informaltable>
  1728. </section>
  1729. <section id="FE_DISHNETWORK_SEND_LEGACY_CMD">
  1730. <title>FE_DISHNETWORK_SEND_LEGACY_CMD</title>
  1731. <para>DESCRIPTION</para>
  1732. <informaltable><tgroup cols="1"><tbody><row>
  1733. <entry align="char">
  1734. <para>WARNING: This is a very obscure legacy command, used only at stv0299 driver. Should not be used on newer drivers.</para>
  1735. <para>It provides a non-standard method for selecting Diseqc voltage on the frontend, for Dish Network legacy switches.</para>
  1736. <para>As support for this ioctl were added in 2004, this means that such dishes were already legacy in 2004.</para>
  1737. </entry>
  1738. </row></tbody></tgroup></informaltable>
  1739. <para>SYNOPSIS</para>
  1740. <informaltable><tgroup cols="1"><tbody><row>
  1741. <entry align="char">
  1742. <para>int ioctl(int fd, int request =
  1743. <link linkend="FE_DISHNETWORK_SEND_LEGACY_CMD">FE_DISHNETWORK_SEND_LEGACY_CMD</link>, unsigned long cmd);</para>
  1744. </entry>
  1745. </row></tbody></tgroup></informaltable>
  1746. <para>PARAMETERS</para>
  1747. <informaltable><tgroup cols="2"><tbody><row>
  1748. <entry align="char">
  1749. <para>unsigned long cmd</para>
  1750. </entry>
  1751. <entry align="char">
  1752. <para>
  1753. sends the specified raw cmd to the dish via DISEqC.
  1754. </para>
  1755. </entry>
  1756. </row></tbody></tgroup></informaltable>
  1757. <para>ERRORS</para>
  1758. <informaltable><tgroup cols="1"><tbody><row>
  1759. <entry align="char">
  1760. <para>There are no errors in use for this call</para>
  1761. </entry>
  1762. </row></tbody></tgroup></informaltable>
  1763. </section>
  1764. </section>
  1765. &sub-dvbproperty;