1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY alsa-utils-download-http "&alsa-download-http;/utils/alsa-utils-&alsa-utils-version;.tar.bz2">
|
---|
8 | <!ENTITY alsa-utils-download-ftp "&alsa-download-ftp;/utils/alsa-utils-&alsa-utils-version;.tar.bz2">
|
---|
9 | <!ENTITY alsa-utils-md5sum "6b289bf874c4c9a63f4b3973093dd404">
|
---|
10 | <!ENTITY alsa-utils-size "1.1 MB">
|
---|
11 | <!ENTITY alsa-utils-buildsize "12 MB">
|
---|
12 | <!ENTITY alsa-utils-time "0.1 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="alsa-utils" xreflabel="alsa-utils-&alsa-utils-version;">
|
---|
16 | <?dbhtml filename="alsa-utils.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>alsa-utils-&alsa-utils-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="alsa-utils">
|
---|
26 | <primary sortas="a-alsa-utils">alsa-utils</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to ALSA Utilities</title>
|
---|
31 |
|
---|
32 | <para>
|
---|
33 | The <application>ALSA Utilities</application> package contains
|
---|
34 | various utilities which are useful for controlling your sound
|
---|
35 | card.
|
---|
36 | </para>
|
---|
37 |
|
---|
38 | &lfs77_checked;
|
---|
39 |
|
---|
40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
41 | <itemizedlist spacing="compact">
|
---|
42 | <listitem>
|
---|
43 | <para>
|
---|
44 | Download (HTTP): <ulink url="&alsa-utils-download-http;"/>
|
---|
45 | </para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>
|
---|
49 | Download (FTP): <ulink url="&alsa-utils-download-ftp;"/>
|
---|
50 | </para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>
|
---|
54 | Download MD5 sum: &alsa-utils-md5sum;
|
---|
55 | </para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>
|
---|
59 | Download size: &alsa-utils-size;
|
---|
60 | </para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>
|
---|
64 | Estimated disk space required: &alsa-utils-buildsize;
|
---|
65 | </para>
|
---|
66 | </listitem>
|
---|
67 | <listitem>
|
---|
68 | <para>
|
---|
69 | Estimated build time: &alsa-utils-time;
|
---|
70 | </para>
|
---|
71 | </listitem>
|
---|
72 | </itemizedlist>
|
---|
73 |
|
---|
74 | <bridgehead renderas="sect3">ALSA Utilities Dependencies</bridgehead>
|
---|
75 |
|
---|
76 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
77 | <para role="required">
|
---|
78 | <xref linkend="alsa-lib"/>
|
---|
79 | </para>
|
---|
80 |
|
---|
81 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
82 | <para role="optional">
|
---|
83 | <xref linkend="libsamplerate"/>,
|
---|
84 | <xref linkend="xmlto"/> and
|
---|
85 | <ulink url="http://hightek.org/dialog/">Dialog</ulink>
|
---|
86 | </para>
|
---|
87 |
|
---|
88 | <para condition="html" role="usernotes">User Notes:
|
---|
89 | <ulink url="&blfs-wiki;/alsa-utils"/>
|
---|
90 | </para>
|
---|
91 | </sect2>
|
---|
92 |
|
---|
93 | <sect2 role="installation">
|
---|
94 | <title>Installation of ALSA Utilities</title>
|
---|
95 |
|
---|
96 | <para>
|
---|
97 | Install <application>ALSA Utilities</application> by
|
---|
98 | running the following commands:
|
---|
99 | </para>
|
---|
100 |
|
---|
101 | <screen><userinput>./configure --disable-alsaconf --disable-xmlto &&
|
---|
102 | make</userinput></screen>
|
---|
103 |
|
---|
104 | <para>
|
---|
105 | This package does not come with a test suite.
|
---|
106 | </para>
|
---|
107 |
|
---|
108 | <para>
|
---|
109 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
110 | </para>
|
---|
111 |
|
---|
112 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
113 |
|
---|
114 | </sect2>
|
---|
115 |
|
---|
116 | <sect2 role="commands">
|
---|
117 | <title>Command Explanations</title>
|
---|
118 |
|
---|
119 | <para>
|
---|
120 | <option>--disable-alsaconf</option>: This switch disables building the
|
---|
121 | <command>alsaconf</command> configuration tool which is incompatible with
|
---|
122 | <application>Udev</application>.
|
---|
123 | </para>
|
---|
124 |
|
---|
125 | <para>
|
---|
126 | <option>--disable-xmlto</option>: Omit this switch if you have installed
|
---|
127 | <xref linkend="xmlto"/> and don't wish to install pregenerated man pages.
|
---|
128 | </para>
|
---|
129 |
|
---|
130 | </sect2>
|
---|
131 |
|
---|
132 | <sect2 role="configuration">
|
---|
133 | <title>Configuring ALSA Utilities</title>
|
---|
134 |
|
---|
135 | <sect3 id="alsa-utils-config">
|
---|
136 | <title>Config Files</title>
|
---|
137 |
|
---|
138 | <para>
|
---|
139 | <filename>/var/lib/alsa/asound.state</filename>
|
---|
140 | </para>
|
---|
141 |
|
---|
142 | <indexterm zone="alsa-utils alsa-utils-config">
|
---|
143 | <primary sortas="e-var-lib-alsa-asound.state">/var/lib/alsa/asound.state</primary>
|
---|
144 | </indexterm>
|
---|
145 |
|
---|
146 | </sect3>
|
---|
147 |
|
---|
148 | <sect3>
|
---|
149 | <title>Configuration Information</title>
|
---|
150 |
|
---|
151 | <para>
|
---|
152 | Note that all channels of your sound card are muted by default.
|
---|
153 | You can use the <command>alsamixer</command> program to change
|
---|
154 | this. Use <command>speaker-test</command> to check that your
|
---|
155 | settings have been applied correctly. You should hear
|
---|
156 | <quote>pink noise</quote> on your speakers.
|
---|
157 | </para>
|
---|
158 |
|
---|
159 | <para>
|
---|
160 | The <filename>alsactl</filename> program is normally run from a
|
---|
161 | standard <application>udev</application> rule. The first time it
|
---|
162 | is run, it will complain that there is no state in
|
---|
163 | <filename>/var/lib/alsa/asound.state</filename>. You can prevent
|
---|
164 | this by running the following commands as the
|
---|
165 | <systemitem class="username">root</systemitem> user:
|
---|
166 | </para>
|
---|
167 |
|
---|
168 | <screen role="root"><userinput>alsactl -L store</userinput></screen>
|
---|
169 |
|
---|
170 | <para>
|
---|
171 | The volume settings should be restored from the saved state by
|
---|
172 | <application>Udev</application> when the device is detected
|
---|
173 | (during boot or when plugged in for USB devices).
|
---|
174 | </para>
|
---|
175 |
|
---|
176 | <para>
|
---|
177 | All sound devices are not accessible for any user except
|
---|
178 | <systemitem class="username">root</systemitem> and members of the
|
---|
179 | <systemitem class="groupname">audio</systemitem> group. Add any
|
---|
180 | users that might use the sound devices to that group:
|
---|
181 | </para>
|
---|
182 |
|
---|
183 | <screen role="root"><userinput>usermod -a -G audio <replaceable><username></replaceable></userinput></screen>
|
---|
184 |
|
---|
185 | <note>
|
---|
186 | <para>
|
---|
187 | You may need to log out and back in again to refresh your group
|
---|
188 | memberships. '<command>su <replaceable><username></replaceable></command>'
|
---|
189 | should work as well.
|
---|
190 | </para>
|
---|
191 | </note>
|
---|
192 |
|
---|
193 | </sect3>
|
---|
194 |
|
---|
195 | <sect3 id="alsa-utils-init">
|
---|
196 | <title>Boot Script</title>
|
---|
197 |
|
---|
198 | <indexterm zone="alsa-utils alsa-utils-init">
|
---|
199 | <primary sortas="f-alsa">alsa</primary>
|
---|
200 | </indexterm>
|
---|
201 |
|
---|
202 | <para>
|
---|
203 | To automatically store and restore volume settings (if udev rule doesn't
|
---|
204 | work for you) when the system is rebooted, install the
|
---|
205 | <filename>/etc/rc.d/init.d/alsa</filename> boot script from the <xref
|
---|
206 | linkend="bootscripts"/> package.
|
---|
207 | </para>
|
---|
208 |
|
---|
209 | <screen role="root"><userinput>make install-alsa</userinput></screen>
|
---|
210 |
|
---|
211 | </sect3>
|
---|
212 |
|
---|
213 | </sect2>
|
---|
214 |
|
---|
215 | <sect2 role="content">
|
---|
216 | <title>Contents</title>
|
---|
217 |
|
---|
218 | <segmentedlist>
|
---|
219 | <segtitle>Installed Programs</segtitle>
|
---|
220 | <segtitle>Installed Libraries</segtitle>
|
---|
221 | <segtitle>Installed Directories</segtitle>
|
---|
222 |
|
---|
223 | <seglistitem>
|
---|
224 | <seg>
|
---|
225 | aconnect, alsa-info.sh, alsactl, alsaloop, alsamixer,
|
---|
226 | alsaucm, amidi, amixer, aplay, aplaymidi, arecord (symlink),
|
---|
227 | arecordmidi, aseqdump, aseqnet, iecset and
|
---|
228 | speaker-test
|
---|
229 | </seg>
|
---|
230 | <seg>
|
---|
231 | None
|
---|
232 | </seg>
|
---|
233 | <seg>
|
---|
234 | /usr/share/sounds/alsa and /var/lib/alsa
|
---|
235 | </seg>
|
---|
236 | </seglistitem>
|
---|
237 | </segmentedlist>
|
---|
238 |
|
---|
239 | <variablelist>
|
---|
240 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
241 | <?dbfo list-presentation="list"?>
|
---|
242 | <?dbhtml list-presentation="table"?>
|
---|
243 |
|
---|
244 | <varlistentry id="aconnect">
|
---|
245 | <term><command>aconnect</command></term>
|
---|
246 | <listitem>
|
---|
247 | <para>
|
---|
248 | is a utility for connecting and disconnecting two
|
---|
249 | existing ports in the ALSA sequencer system.
|
---|
250 | </para>
|
---|
251 | <indexterm zone="alsa-utils aconnect">
|
---|
252 | <primary sortas="b-aconnect">aconnect</primary>
|
---|
253 | </indexterm>
|
---|
254 | </listitem>
|
---|
255 | </varlistentry>
|
---|
256 |
|
---|
257 | <varlistentry id="alsactl">
|
---|
258 | <term><command>alsactl</command></term>
|
---|
259 | <listitem>
|
---|
260 | <para>
|
---|
261 | is used to control advanced settings for the
|
---|
262 | ALSA sound card drivers.
|
---|
263 | </para>
|
---|
264 | <indexterm zone="alsa-utils alsactl">
|
---|
265 | <primary sortas="b-alsactl">alsactl</primary>
|
---|
266 | </indexterm>
|
---|
267 | </listitem>
|
---|
268 | </varlistentry>
|
---|
269 |
|
---|
270 | <varlistentry id="alsaloop">
|
---|
271 | <term><command>alsaloop</command></term>
|
---|
272 | <listitem>
|
---|
273 | <para>
|
---|
274 | allows creation of a PCM loopback between a PCM capture
|
---|
275 | device and a PCM playback device.
|
---|
276 | </para>
|
---|
277 | <indexterm zone="alsa-utils alsaloop">
|
---|
278 | <primary sortas="b-alsaloop">alsaloop</primary>
|
---|
279 | </indexterm>
|
---|
280 | </listitem>
|
---|
281 | </varlistentry>
|
---|
282 |
|
---|
283 | <varlistentry id="alsamixer">
|
---|
284 | <term><command>alsamixer</command></term>
|
---|
285 | <listitem>
|
---|
286 | <para>
|
---|
287 | is an Ncurses based mixer program for use with
|
---|
288 | the ALSA sound card drivers.
|
---|
289 | </para>
|
---|
290 | <indexterm zone="alsa-utils alsamixer">
|
---|
291 | <primary sortas="b-alsamixer">alsamixer</primary>
|
---|
292 | </indexterm>
|
---|
293 | </listitem>
|
---|
294 | </varlistentry>
|
---|
295 |
|
---|
296 | <varlistentry id="alsaucm">
|
---|
297 | <term><command>alsaucm</command></term>
|
---|
298 | <listitem>
|
---|
299 | <para>
|
---|
300 | allows applications to access the hardware in an abstracted manner
|
---|
301 | </para>
|
---|
302 | <indexterm zone="alsa-utils alsaucm">
|
---|
303 | <primary sortas="b-alsaucm">alsaucm</primary>
|
---|
304 | </indexterm>
|
---|
305 | </listitem>
|
---|
306 | </varlistentry>
|
---|
307 |
|
---|
308 | <varlistentry id="amidi">
|
---|
309 | <term><command>amidi</command></term>
|
---|
310 | <listitem>
|
---|
311 | <para>
|
---|
312 | is used to read from and write to ALSA
|
---|
313 | RawMIDI ports.
|
---|
314 | </para>
|
---|
315 | <indexterm zone="alsa-utils amidi">
|
---|
316 | <primary sortas="b-amidi">amidi</primary>
|
---|
317 | </indexterm>
|
---|
318 | </listitem>
|
---|
319 | </varlistentry>
|
---|
320 |
|
---|
321 | <varlistentry id="amixer">
|
---|
322 | <term><command>amixer</command></term>
|
---|
323 | <listitem>
|
---|
324 | <para> allows command-line control of the mixers for the
|
---|
325 | ALSA sound card drivers.</para>
|
---|
326 | <indexterm zone="alsa-utils amixer">
|
---|
327 | <primary sortas="b-amixer">amixer</primary>
|
---|
328 | </indexterm>
|
---|
329 | </listitem>
|
---|
330 | </varlistentry>
|
---|
331 |
|
---|
332 | <varlistentry id="aplay">
|
---|
333 | <term><command>aplay</command></term>
|
---|
334 | <listitem>
|
---|
335 | <para>
|
---|
336 | is a command-line soundfile player for the
|
---|
337 | ALSA sound card drivers.
|
---|
338 | </para>
|
---|
339 | <indexterm zone="alsa-utils aplay">
|
---|
340 | <primary sortas="b-aplay">aplay</primary>
|
---|
341 | </indexterm>
|
---|
342 | </listitem>
|
---|
343 | </varlistentry>
|
---|
344 |
|
---|
345 | <varlistentry id="aplaymidi">
|
---|
346 | <term><command>aplaymidi</command></term>
|
---|
347 | <listitem>
|
---|
348 | <para>
|
---|
349 | is a command-line utility that plays the specified
|
---|
350 | MIDI file(s) to one or more ALSA sequencer ports.
|
---|
351 | </para>
|
---|
352 | <indexterm zone="alsa-utils aplaymidi">
|
---|
353 | <primary sortas="b-aplaymidi">aplaymidi</primary>
|
---|
354 | </indexterm>
|
---|
355 | </listitem>
|
---|
356 | </varlistentry>
|
---|
357 |
|
---|
358 | <varlistentry id="arecord">
|
---|
359 | <term><command>arecord</command></term>
|
---|
360 | <listitem>
|
---|
361 | <para>
|
---|
362 | is a command-line soundfile recorder for the
|
---|
363 | ALSA sound card drivers.
|
---|
364 | </para>
|
---|
365 | <indexterm zone="alsa-utils arecord">
|
---|
366 | <primary sortas="b-arecord">arecord</primary>
|
---|
367 | </indexterm>
|
---|
368 | </listitem>
|
---|
369 | </varlistentry>
|
---|
370 |
|
---|
371 | <varlistentry id="arecordmidi">
|
---|
372 | <term><command>arecordmidi</command></term>
|
---|
373 | <listitem>
|
---|
374 | <para>
|
---|
375 | is a command-line utility that records a standard
|
---|
376 | MIDI file from one or more ALSA sequencer ports.
|
---|
377 | </para>
|
---|
378 | <indexterm zone="alsa-utils arecordmidi">
|
---|
379 | <primary sortas="b-arecordmidi">arecordmidi</primary>
|
---|
380 | </indexterm>
|
---|
381 | </listitem>
|
---|
382 | </varlistentry>
|
---|
383 |
|
---|
384 | <varlistentry id="aseqdump">
|
---|
385 | <term><command>aseqdump</command></term>
|
---|
386 | <listitem>
|
---|
387 | <para>
|
---|
388 | is a command-line utility that prints the sequencer events it
|
---|
389 | receives as text.
|
---|
390 | </para>
|
---|
391 | <indexterm zone="alsa-utils aseqdump">
|
---|
392 | <primary sortas="b-aseqdump">aseqdump</primary>
|
---|
393 | </indexterm>
|
---|
394 | </listitem>
|
---|
395 | </varlistentry>
|
---|
396 |
|
---|
397 | <varlistentry id="aseqnet">
|
---|
398 | <term><command>aseqnet</command></term>
|
---|
399 | <listitem>
|
---|
400 | <para>
|
---|
401 | is an ALSA sequencer client which sends and
|
---|
402 | receives event packets over a network.
|
---|
403 | </para>
|
---|
404 | <indexterm zone="alsa-utils aseqnet">
|
---|
405 | <primary sortas="b-aseqnet">aseqnet</primary>
|
---|
406 | </indexterm>
|
---|
407 | </listitem>
|
---|
408 | </varlistentry>
|
---|
409 |
|
---|
410 | <varlistentry id="iecset">
|
---|
411 | <term><command>iecset</command></term>
|
---|
412 | <listitem>
|
---|
413 | <para>
|
---|
414 | is a small utility to set or dump the IEC958 (or so-called
|
---|
415 | <quote>S/PDIF</quote>) status bits of the specified sound
|
---|
416 | card via the ALSA control API.
|
---|
417 | </para>
|
---|
418 | <indexterm zone="alsa-utils iecset">
|
---|
419 | <primary sortas="b-iecset">iecset</primary>
|
---|
420 | </indexterm>
|
---|
421 | </listitem>
|
---|
422 | </varlistentry>
|
---|
423 |
|
---|
424 | <varlistentry id="speaker-test">
|
---|
425 | <term><command>speaker-test</command></term>
|
---|
426 | <listitem>
|
---|
427 | <para>
|
---|
428 | is a command-line speaker test tone generator for ALSA.
|
---|
429 | </para>
|
---|
430 | <indexterm zone="alsa-utils speaker-test">
|
---|
431 | <primary sortas="b-speaker-test">speaker-test</primary>
|
---|
432 | </indexterm>
|
---|
433 | </listitem>
|
---|
434 | </varlistentry>
|
---|
435 |
|
---|
436 | </variablelist>
|
---|
437 |
|
---|
438 | </sect2>
|
---|
439 |
|
---|
440 | </sect1>
|
---|