1 <refentry id="FE_SET_TONE">
3 <refentrytitle>ioctl FE_SET_TONE</refentrytitle>
8 <refname>FE_SET_TONE</refname>
9 <refpurpose>Sets/resets the generation of the continuous 22kHz tone.</refpurpose>
15 <funcdef>int <function>ioctl</function></funcdef>
16 <paramdef>int <parameter>fd</parameter></paramdef>
17 <paramdef>int <parameter>request</parameter></paramdef>
18 <paramdef>&fe-sec-tone-mode; *<parameter>tone</parameter></paramdef>
24 <title>Arguments</title>
27 <term><parameter>fd</parameter></term>
33 <term><parameter>request</parameter></term>
35 <para>FE_SET_TONE</para>
39 <term><parameter>pointer to &fe-sec-tone-mode;</parameter></term>
45 <title>Description</title>
47 <para>This ioctl is used to set the generation of the continuous 22kHz tone.
48 This call requires read/write permissions.</para>
49 <para>Usually, satellital antenna subsystems require that the digital TV
50 device to send a 22kHz tone in order to select between high/low band on
51 some dual-band LNBf. It is also used to send signals to DiSEqC equipment,
52 but this is done using the DiSEqC ioctls.</para>
53 <para>NOTE: if more than one device is connected to the same antenna,
54 setting a tone may interfere on other devices, as they may lose
55 the capability of selecting the band. So, it is recommended that
56 applications would change to SEC_TONE_OFF when the device is not used.</para>
61 <section id="fe-sec-tone-mode-t">
62 <title>enum fe_sec_voltage</title>
64 <table pgwide="1" frame="none" id="fe-sec-tone-mode">
65 <title>enum fe_sec_tone_mode</title>
71 <entry>Description</entry>
76 <entry align="char">SEC_TONE_ON</entry>
77 <entry align="char">Sends a 22kHz tone burst to the antenna</entry>
79 <entry align="char">SEC_TONE_OFF</entry>
80 <entry align="char">Don't send a 22kHz tone to the antenna
81 (except if the FE_DISEQC_* ioctls are called)</entry>