source: multimedia/libdriv/alsa-utils.xml@ 7e16699b

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 7e16699b was 9faa3b74, checked in by Ken Moffat <ken@…>, 10 years ago

more tags, remove libexecdir from evince

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

  • Property mode set to 100644
File size: 13.0 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 "b65e9a04181bd7c9db7667a4566f8dc3">
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 &lfs75_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 <ulink url="http://hightek.org/dialog/">Dialog</ulink> and
85 <xref linkend="xmlto"/>
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 &amp;&amp;
102make</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>touch /var/lib/alsa/asound.state &amp;&amp;
169alsactl store</userinput></screen>
170
171 <para>
172 The volume settings should be restored from the saved state by
173 <application>Udev</application> when the device is detected
174 (during boot or when plugged in for USB devices).
175 </para>
176
177 <para>
178 All sound devices are not accessible for any user except
179 <systemitem class="username">root</systemitem> and members of the
180 <systemitem class="groupname">audio</systemitem> group. Add any
181 users that might use the sound devices to that group:
182 </para>
183
184<screen role="root"><userinput>usermod -a -G audio <replaceable>&lt;username&gt;</replaceable></userinput></screen>
185
186 <note>
187 <para>
188 You may need to log out and back in again to refresh your group
189 memberships. '<command>su <replaceable>&lt;username&gt;</replaceable></command>'
190 should work as well.
191 </para>
192 </note>
193
194 </sect3>
195
196 <sect3 id="alsa-utils-init">
197 <title>Boot Script</title>
198
199 <indexterm zone="alsa-utils alsa-utils-init">
200 <primary sortas="f-alsa">alsa</primary>
201 </indexterm>
202
203 <para>
204 To automatically store and restore volume settings (if udev rule doesn't
205 work for you) when the system is rebooted, install the
206 <filename>/etc/rc.d/init.d/alsa</filename> boot script from the <xref
207 linkend="bootscripts"/> package.
208 </para>
209
210<screen role="root"><userinput>make install-alsa</userinput></screen>
211
212 </sect3>
213
214 </sect2>
215
216 <sect2 role="content">
217 <title>Contents</title>
218
219 <segmentedlist>
220 <segtitle>Installed Programs</segtitle>
221 <segtitle>Installed Libraries</segtitle>
222 <segtitle>Installed Directories</segtitle>
223
224 <seglistitem>
225 <seg>
226 aconnect, alsactl, alsaloop, alsamixer,
227 alsaucm, amidi, amixer, aplay, aplaymidi, arecord,
228 arecordmidi, aseqdump, aseqnet, iecset and
229 speaker-test
230 </seg>
231 <seg>
232 None
233 </seg>
234 <seg>
235 /usr/share/sounds/alsa and /var/lib/alsa
236 </seg>
237 </seglistitem>
238 </segmentedlist>
239
240 <variablelist>
241 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
242 <?dbfo list-presentation="list"?>
243 <?dbhtml list-presentation="table"?>
244
245 <varlistentry id="aconnect">
246 <term><command>aconnect</command></term>
247 <listitem>
248 <para>
249 is a utility for connecting and disconnecting two
250 existing ports in the ALSA sequencer system.
251 </para>
252 <indexterm zone="alsa-utils aconnect">
253 <primary sortas="b-aconnect">aconnect</primary>
254 </indexterm>
255 </listitem>
256 </varlistentry>
257
258 <varlistentry id="alsactl">
259 <term><command>alsactl</command></term>
260 <listitem>
261 <para>
262 is used to control advanced settings for the
263 ALSA sound card drivers.
264 </para>
265 <indexterm zone="alsa-utils alsactl">
266 <primary sortas="b-alsactl">alsactl</primary>
267 </indexterm>
268 </listitem>
269 </varlistentry>
270
271 <varlistentry id="alsaloop">
272 <term><command>alsaloop</command></term>
273 <listitem>
274 <para>
275 allows creation of a PCM loopback between a PCM capture
276 device and a PCM playback device.
277 </para>
278 <indexterm zone="alsa-utils alsaloop">
279 <primary sortas="b-alsaloop">alsaloop</primary>
280 </indexterm>
281 </listitem>
282 </varlistentry>
283
284 <varlistentry id="alsamixer">
285 <term><command>alsamixer</command></term>
286 <listitem>
287 <para>
288 is an Ncurses based mixer program for use with
289 the ALSA sound card drivers.
290 </para>
291 <indexterm zone="alsa-utils alsamixer">
292 <primary sortas="b-alsamixer">alsamixer</primary>
293 </indexterm>
294 </listitem>
295 </varlistentry>
296
297 <varlistentry id="amidi">
298 <term><command>amidi</command></term>
299 <listitem>
300 <para>
301 is used to read from and write to ALSA
302 RawMIDI ports.
303 </para>
304 <indexterm zone="alsa-utils amidi">
305 <primary sortas="b-amidi">amidi</primary>
306 </indexterm>
307 </listitem>
308 </varlistentry>
309
310 <varlistentry id="amixer">
311 <term><command>amixer</command></term>
312 <listitem>
313 <para> allows command-line control of the mixers for the
314 ALSA sound card drivers.</para>
315 <indexterm zone="alsa-utils amixer">
316 <primary sortas="b-amixer">amixer</primary>
317 </indexterm>
318 </listitem>
319 </varlistentry>
320
321 <varlistentry id="aplay">
322 <term><command>aplay</command></term>
323 <listitem>
324 <para>
325 is a command-line soundfile player for the
326 ALSA sound card drivers.
327 </para>
328 <indexterm zone="alsa-utils aplay">
329 <primary sortas="b-aplay">aplay</primary>
330 </indexterm>
331 </listitem>
332 </varlistentry>
333
334 <varlistentry id="aplaymidi">
335 <term><command>aplaymidi</command></term>
336 <listitem>
337 <para>
338 is a command-line utility that plays the specified
339 MIDI file(s) to one or more ALSA sequencer ports.
340 </para>
341 <indexterm zone="alsa-utils aplaymidi">
342 <primary sortas="b-aplaymidi">aplaymidi</primary>
343 </indexterm>
344 </listitem>
345 </varlistentry>
346
347 <varlistentry id="arecord">
348 <term><command>arecord</command></term>
349 <listitem>
350 <para>
351 is a command-line soundfile recorder for the
352 ALSA sound card drivers.
353 </para>
354 <indexterm zone="alsa-utils arecord">
355 <primary sortas="b-arecord">arecord</primary>
356 </indexterm>
357 </listitem>
358 </varlistentry>
359
360 <varlistentry id="arecordmidi">
361 <term><command>arecordmidi</command></term>
362 <listitem>
363 <para>
364 is a command-line utility that records a standard
365 MIDI file from one or more ALSA sequencer ports.
366 </para>
367 <indexterm zone="alsa-utils arecordmidi">
368 <primary sortas="b-arecordmidi">arecordmidi</primary>
369 </indexterm>
370 </listitem>
371 </varlistentry>
372
373 <varlistentry id="aseqdump">
374 <term><command>aseqdump</command></term>
375 <listitem>
376 <para>
377 is a command-line utility that prints the sequencer events it
378 receives as text.
379 </para>
380 <indexterm zone="alsa-utils aseqdump">
381 <primary sortas="b-aseqdump">aseqdump</primary>
382 </indexterm>
383 </listitem>
384 </varlistentry>
385
386 <varlistentry id="aseqnet">
387 <term><command>aseqnet</command></term>
388 <listitem>
389 <para>
390 is an ALSA sequencer client which sends and
391 receives event packets over a network.
392 </para>
393 <indexterm zone="alsa-utils aseqnet">
394 <primary sortas="b-aseqnet">aseqnet</primary>
395 </indexterm>
396 </listitem>
397 </varlistentry>
398
399 <varlistentry id="iecset">
400 <term><command>iecset</command></term>
401 <listitem>
402 <para>
403 is a small utility to set or dump the IEC958 (or so-called
404 <quote>S/PDIF</quote>) status bits of the specified sound
405 card via the ALSA control API.
406 </para>
407 <indexterm zone="alsa-utils iecset">
408 <primary sortas="b-iecset">iecset</primary>
409 </indexterm>
410 </listitem>
411 </varlistentry>
412
413 <varlistentry id="speaker-test">
414 <term><command>speaker-test</command></term>
415 <listitem>
416 <para>
417 is a command-line speaker test tone generator for ALSA.
418 </para>
419 <indexterm zone="alsa-utils speaker-test">
420 <primary sortas="b-speaker-test">speaker-test</primary>
421 </indexterm>
422 </listitem>
423 </varlistentry>
424
425 </variablelist>
426
427 </sect2>
428
429</sect1>
Note: See TracBrowser for help on using the repository browser.