source: multimedia/libdriv/alsa-utils.xml@ 80c8e88

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 80c8e88 was 80c8e88, checked in by Bruce Dubbs <bdubbs@…>, 11 years ago

Remove links to dead server

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11090 af4574ff-66df-0310-9fd7-8a98e5e911e0

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