source: multimedia/libdriv/alsa-utils.xml@ 0c7d410

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 0c7d410 was 0c7d410, checked in by Krejzi <krejzi@…>, 11 years ago

Package updates.

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

  • Property mode set to 100644
File size: 13.5 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 "cbfb21a24f63fb052b3392195639ce48">
10 <!ENTITY alsa-utils-size "1.1 MB">
11 <!ENTITY alsa-utils-buildsize "13 MB">
12 <!ENTITY alsa-utils-time "0.2 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 &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="configuration">
134 <title>Configuring ALSA Utilities</title>
135
136 <sect3 id="alsa-utils-config">
137 <title>Config Files</title>
138
139 <para>
140 <filename>/var/lib/alsa/asound.state</filename>
141 </para>
142
143 <indexterm zone="alsa-utils alsa-utils-config">
144 <primary sortas="e-var-lib-alsa-asound.state">/var/lib/alsa/asound.state</primary>
145 </indexterm>
146
147 </sect3>
148
149 <sect3 id="alsa-utils-init">
150 <title>Configuration Information</title>
151
152 <para>
153 Use a bootscript to store the values at shutdown.
154 </para>
155
156 <indexterm zone="alsa-utils alsa-utils-init">
157 <primary sortas="f-alsa">alsa</primary>
158 </indexterm>
159
160 <para>
161 As the <systemitem class="username">root</systemitem> user,
162 install the init script <filename>/etc/rc.d/init.d/alsa</filename> included
163 in the <xref linkend="bootscripts"/> package.
164 </para>
165
166<screen role="root"><userinput>make install-alsa</userinput></screen>
167
168 <para>
169 Note that all channels of your sound card are muted by default.
170 You can use the <command>alsamixer</command> program to change
171 this. Use <command>speaker-test</command> to check that your
172 settings have been applied correctly. You should hear
173 <quote>pink noise</quote> on your speakers.
174 </para>
175
176 <para>
177 The <filename>alsactl</filename> program is normally run from a
178 standard <application>udev</application> rule. The first time it
179 is run, it will complain that there is no state in
180 <filename>/var/lib/alsa/asound.state</filename>. You can prevent
181 this by running the following commands as the
182 <systemitem class="username">root</systemitem> user:
183 </para>
184
185<screen role="root"><userinput>touch /var/lib/alsa/asound.state &amp;&amp;
186alsactl store</userinput></screen>
187
188 <para>
189 The volume settings will be restored from the saved state by
190 <application>Udev</application> when the device is detected
191 (during boot or when plugged in for USB devices).
192 </para>
193
194 <para>
195 All sound devices are not accessible for any user except
196 <systemitem class="username">root</systemitem> and members of the
197 <systemitem class="groupname">audio</systemitem> group. Add any
198 users that might use the sound devices to that group:
199 </para>
200
201<screen role="root"><userinput>usermod -a -G audio <replaceable>&lt;username&gt;</replaceable></userinput></screen>
202
203 <note>
204 <para>
205 You may need to log out and back in again to refresh your group
206 memberships. '<command>su <replaceable>&lt;username&gt;</replaceable></command>'
207 should work as well.
208 </para>
209 </note>
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, alsaconf, alsactl, alsaloop, alsamixer,
226 alsaucm, amidi, amixer, aplay, aplaymidi, arecord,
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="alsaconf">
258 <term><command>alsaconf</command></term>
259 <listitem>
260 <para>
261 is a configuration tool which tries to detect the sound cards
262 on your system and write a suitable configuration file for ALSA.
263 This program is incompatible with Udev.
264 </para>
265 <indexterm zone="alsa-utils alsaconf">
266 <primary sortas="b-alsaconf">alsaconf</primary>
267 </indexterm>
268 </listitem>
269 </varlistentry>
270
271 <varlistentry id="alsactl">
272 <term><command>alsactl</command></term>
273 <listitem>
274 <para>
275 is used to control advanced settings for the
276 ALSA sound card drivers.
277 </para>
278 <indexterm zone="alsa-utils alsactl">
279 <primary sortas="b-alsactl">alsactl</primary>
280 </indexterm>
281 </listitem>
282 </varlistentry>
283
284 <varlistentry id="alsaloop">
285 <term><command>alsaloop</command></term>
286 <listitem>
287 <para>
288 allows creation of a PCM loopback between a PCM capture
289 device and a PCM playback device.
290 </para>
291 <indexterm zone="alsa-utils alsaloop">
292 <primary sortas="b-alsaloop">alsaloop</primary>
293 </indexterm>
294 </listitem>
295 </varlistentry>
296
297 <varlistentry id="alsamixer">
298 <term><command>alsamixer</command></term>
299 <listitem>
300 <para>
301 is an Ncurses based mixer program for use with
302 the ALSA sound card drivers.
303 </para>
304 <indexterm zone="alsa-utils alsamixer">
305 <primary sortas="b-alsamixer">alsamixer</primary>
306 </indexterm>
307 </listitem>
308 </varlistentry>
309
310 <varlistentry id="amidi">
311 <term><command>amidi</command></term>
312 <listitem>
313 <para>
314 is used to read from and write to ALSA
315 RawMIDI ports.
316 </para>
317 <indexterm zone="alsa-utils amidi">
318 <primary sortas="b-amidi">amidi</primary>
319 </indexterm>
320 </listitem>
321 </varlistentry>
322
323 <varlistentry id="amixer">
324 <term><command>amixer</command></term>
325 <listitem>
326 <para> allows command-line control of the mixers for the
327 ALSA sound card drivers.</para>
328 <indexterm zone="alsa-utils amixer">
329 <primary sortas="b-amixer">amixer</primary>
330 </indexterm>
331 </listitem>
332 </varlistentry>
333
334 <varlistentry id="aplay">
335 <term><command>aplay</command></term>
336 <listitem>
337 <para>
338 is a command-line soundfile player for the
339 ALSA sound card drivers.
340 </para>
341 <indexterm zone="alsa-utils aplay">
342 <primary sortas="b-aplay">aplay</primary>
343 </indexterm>
344 </listitem>
345 </varlistentry>
346
347 <varlistentry id="aplaymidi">
348 <term><command>aplaymidi</command></term>
349 <listitem>
350 <para>
351 is a command-line utility that plays the specified
352 MIDI file(s) to one or more ALSA sequencer ports.
353 </para>
354 <indexterm zone="alsa-utils aplaymidi">
355 <primary sortas="b-aplaymidi">aplaymidi</primary>
356 </indexterm>
357 </listitem>
358 </varlistentry>
359
360 <varlistentry id="arecord">
361 <term><command>arecord</command></term>
362 <listitem>
363 <para>
364 is a command-line soundfile recorder for the
365 ALSA sound card drivers.
366 </para>
367 <indexterm zone="alsa-utils arecord">
368 <primary sortas="b-arecord">arecord</primary>
369 </indexterm>
370 </listitem>
371 </varlistentry>
372
373 <varlistentry id="arecordmidi">
374 <term><command>arecordmidi</command></term>
375 <listitem>
376 <para>
377 is a command-line utility that records a standard
378 MIDI file from one or more ALSA sequencer ports.
379 </para>
380 <indexterm zone="alsa-utils arecordmidi">
381 <primary sortas="b-arecordmidi">arecordmidi</primary>
382 </indexterm>
383 </listitem>
384 </varlistentry>
385
386 <varlistentry id="aseqdump">
387 <term><command>aseqdump</command></term>
388 <listitem>
389 <para>
390 is a command-line utility that prints the sequencer events it
391 receives as text.
392 </para>
393 <indexterm zone="alsa-utils aseqdump">
394 <primary sortas="b-aseqdump">aseqdump</primary>
395 </indexterm>
396 </listitem>
397 </varlistentry>
398
399 <varlistentry id="aseqnet">
400 <term><command>aseqnet</command></term>
401 <listitem>
402 <para>
403 is an ALSA sequencer client which sends and
404 receives event packets over a network.
405 </para>
406 <indexterm zone="alsa-utils aseqnet">
407 <primary sortas="b-aseqnet">aseqnet</primary>
408 </indexterm>
409 </listitem>
410 </varlistentry>
411
412 <varlistentry id="iecset">
413 <term><command>iecset</command></term>
414 <listitem>
415 <para>
416 is a small utility to set or dump the IEC958 (or so-called
417 <quote>S/PDIF</quote>) status bits of the specified sound
418 card via the ALSA control API.
419 </para>
420 <indexterm zone="alsa-utils iecset">
421 <primary sortas="b-iecset">iecset</primary>
422 </indexterm>
423 </listitem>
424 </varlistentry>
425
426 <varlistentry id="speaker-test">
427 <term><command>speaker-test</command></term>
428 <listitem>
429 <para>
430 is a command-line speaker test tone generator for ALSA.
431 </para>
432 <indexterm zone="alsa-utils speaker-test">
433 <primary sortas="b-speaker-test">speaker-test</primary>
434 </indexterm>
435 </listitem>
436 </varlistentry>
437
438 </variablelist>
439
440 </sect2>
441
442</sect1>
Note: See TracBrowser for help on using the repository browser.