source: multimedia/libdriv/alsa-utils.xml@ 09bed9e5

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 09bed9e5 was 09bed9e5, checked in by Igor Živković <igor@…>, 11 years ago

alsa-lib-1.0.27.2 and alsa-utils-1.0.27.1

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

  • Property mode set to 100644
File size: 13.4 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 "3d81357b997744a139881ef72bc6921a">
10 <!ENTITY alsa-utils-size "1.1 MB">
11 <!ENTITY alsa-utils-buildsize "7 MB">
12 <!ENTITY alsa-utils-time "0.2 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 &lfs73_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">Additional Downloads</bridgehead>
75 <itemizedlist spacing='compact'>
76 <listitem>
77 <para>Required patch: <ulink
78 url="&patch-root;/alsa-utils-&alsa-utils-version;-udev_rules-1.patch"/></para>
79 </listitem>
80 </itemizedlist>
81
82 <bridgehead renderas="sect3">ALSA Utilities Dependencies</bridgehead>
83
84 <bridgehead renderas="sect4">Required</bridgehead>
85 <para role="required">
86 <xref linkend="alsa-lib"/>
87 </para>
88
89 <bridgehead renderas="sect4">Optional</bridgehead>
90 <para role="optional">
91 <xref linkend="libsamplerate"/>,
92 <ulink url="http://hightek.org/dialog/">Dialog</ulink> and
93 <xref linkend="xmlto"/>
94 </para>
95
96 <para condition="html" role="usernotes">User Notes:
97 <ulink url="&blfs-wiki;/alsa-utils"/>
98 </para>
99 </sect2>
100
101 <sect2 role="installation">
102 <title>Installation of ALSA Utilities</title>
103
104 <para>
105 Install <application>ALSA Utilities</application> by
106 running the following commands:
107 </para>
108
109<screen><userinput>patch -Np1 -i ../alsa-utils-&alsa-utils-version;-udev_rules-1.patch &amp;&amp;
110./configure --disable-alsaconf --disable-xmlto &amp;&amp;
111make &amp;&amp;
112pushd alsactl &amp;&amp;
113make 90-alsa-restore.rules
114popd</userinput></screen>
115
116 <para>
117 This package does not come with a test suite.
118 </para>
119
120 <para>
121 Now, as the <systemitem class="username">root</systemitem> user:
122 </para>
123
124<screen role="root"><userinput>make install &amp;&amp;
125install -v -m644 alsactl/90-alsa-restore.rules /lib/udev/rules.d</userinput></screen>
126
127 </sect2>
128
129 <sect2 role="commands">
130 <title>Command Explanations</title>
131
132 <para>
133 <option>--disable-alsaconf</option>: This switch disables building the
134 <command>alsaconf</command> configuration tool which is incompatible with
135 <application>Udev</application>.
136 </para>
137
138 <para>
139 <option>--disable-xmlto</option>: Omit this switch if you have installed
140 <xref linkend="xmlto"/> and don't wish to install pregenerated man pages.
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, 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="alsactl">
270 <term><command>alsactl</command></term>
271 <listitem>
272 <para>
273 is used to control advanced settings for the
274 ALSA sound card drivers.
275 </para>
276 <indexterm zone="alsa-utils alsactl">
277 <primary sortas="b-alsactl">alsactl</primary>
278 </indexterm>
279 </listitem>
280 </varlistentry>
281
282 <varlistentry id="alsaloop">
283 <term><command>alsaloop</command></term>
284 <listitem>
285 <para>
286 allows creation of a PCM loopback between a PCM capture
287 device and a PCM playback device.
288 </para>
289 <indexterm zone="alsa-utils alsaloop">
290 <primary sortas="b-alsaloop">alsaloop</primary>
291 </indexterm>
292 </listitem>
293 </varlistentry>
294
295 <varlistentry id="alsamixer">
296 <term><command>alsamixer</command></term>
297 <listitem>
298 <para>
299 is an Ncurses based mixer program for use with
300 the ALSA sound card drivers.
301 </para>
302 <indexterm zone="alsa-utils alsamixer">
303 <primary sortas="b-alsamixer">alsamixer</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>
Note: See TracBrowser for help on using the repository browser.