source: multimedia/libdriv/alsa-utils.xml@ 55681b7

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 55681b7 was 55681b7, checked in by Bruce Dubbs <bdubbs@…>, 12 years ago

Update to alsa-1.0.25

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

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