source: multimedia/libdriv/alsa-utils.xml@ 55b07cb

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

Update tags

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10228 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-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-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 &lfs71_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 <filename>alsactl</filename> program is normally run from a
154 standard <application>udev</application> rule. The first time it is
155 run, it will complain that there is no state in
156 <filename>/var/lib/alsa/asound.state</filename>. You can prevent this by
157 running the following commands as the <systemitem
158 class="username">root</systemitem> user:</para>
159
160<screen role="root"><userinput>touch /var/lib/alsa/asound.state &amp;&amp;
161alsactl store</userinput></screen>
162
163 <para>The volume settings will be restored from the saved state by
164 <application>Udev</application> when the device is detected (during boot
165 or when plugged in for USB devices).</para>
166<!--
167 <para>As the <systemitem class="username">root</systemitem> user, install
168 a new <application>Udev</application> rules file to create the audio
169 device nodes and run the restore script:</para>
170
171<screen role="root"><userinput>cat &gt; /etc/udev/rules.d/40-alsa.rules &lt;&lt; "EOF"
172# /etc/udev/rules.d/40-alsa.rules
173
174# When a sound device is detected, restore the volume settings
175KERNEL=="controlC[0-9]*", ACTION=="add", RUN+="/usr/sbin/alsactl restore %n"
176EOF
177chmod -v 644 /etc/udev/rules.d/40-alsa.rules</userinput></screen>
178-->
179 <para>All sound devices are not accessible for any user except
180 <systemitem class="username">root</systemitem> and members of the
181 <systemitem class="groupname">audio</systemitem> group. Add any users
182 that might use the sound devices to that group:</para>
183
184<screen role="root"><userinput>usermod -a -G audio <replaceable>&lt;username&gt;</replaceable></userinput></screen>
185
186 <note>
187 <para>You may need to log out and back in again to refresh your group
188 memberships. '<command>su <replaceable>&lt;username&gt;</replaceable></command>'
189 should work as well.</para>
190 </note>
191
192 </sect3>
193
194 </sect2>
195
196 <sect2 role="content">
197 <title>Contents</title>
198
199 <segmentedlist>
200 <segtitle>Installed Programs</segtitle>
201 <segtitle>Installed Libraries</segtitle>
202 <segtitle>Installed Directory</segtitle>
203
204 <seglistitem>
205 <seg>aconnect, alsaconf, alsactl, alsamixer, amidi,
206 amixer, aplay, aplaymidi, arecord, arecordmidi, aseqdump,
207 aseqnet, iecset, and speaker-test</seg>
208 <seg>None</seg>
209 <seg>/var/lib/alsa and /usr/share/sounds/alsa</seg>
210 </seglistitem>
211 </segmentedlist>
212
213 <variablelist>
214 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
215 <?dbfo list-presentation="list"?>
216 <?dbhtml list-presentation="table"?>
217
218 <varlistentry id="aconnect">
219 <term><command>aconnect</command></term>
220 <listitem>
221 <para>is a utility for connecting and disconnecting two existing
222 ports in the ALSA sequencer system.</para>
223 <indexterm zone="alsa-utils aconnect">
224 <primary sortas="b-aconnect">aconnect</primary>
225 </indexterm>
226 </listitem>
227 </varlistentry>
228
229 <varlistentry id="alsaconf">
230 <term><command>alsaconf</command></term>
231 <listitem>
232 <para>is a configuration tool which tries to detect the sound cards
233 on your system and write a suitable configuration file for ALSA.
234 This program is incompatible with udev and hotplug.</para>
235 <indexterm zone="alsa-utils alsaconf">
236 <primary sortas="b-alsaconf">alsaconf</primary>
237 </indexterm>
238 </listitem>
239 </varlistentry>
240
241 <varlistentry id="alsactl">
242 <term><command>alsactl</command></term>
243 <listitem>
244 <para>is used to control advanced settings for the
245 ALSA sound card drivers.</para>
246 <indexterm zone="alsa-utils alsactl">
247 <primary sortas="b-alsactl">alsactl</primary>
248 </indexterm>
249 </listitem>
250 </varlistentry>
251
252 <varlistentry id="alsamixer">
253 <term><command>alsamixer</command></term>
254 <listitem>
255 <para>is an ncurses-based mixer program for use with the
256 ALSA sound card drivers.</para>
257 <indexterm zone="alsa-utils alsamixer">
258 <primary sortas="b-alsamixer">alsamixer</primary>
259 </indexterm>
260 </listitem>
261 </varlistentry>
262
263 <varlistentry id="amidi">
264 <term><command>amidi</command></term>
265 <listitem>
266 <para>is used to read from and write to ALSA
267 RawMIDI ports.</para>
268 <indexterm zone="alsa-utils amidi">
269 <primary sortas="b-amidi">amidi</primary>
270 </indexterm>
271 </listitem>
272 </varlistentry>
273
274 <varlistentry id="amixer">
275 <term><command>amixer</command></term>
276 <listitem>
277 <para> allows command-line control of the mixers for the
278 ALSA sound card drivers.</para>
279 <indexterm zone="alsa-utils amixer">
280 <primary sortas="b-amixer">amixer</primary>
281 </indexterm>
282 </listitem>
283 </varlistentry>
284
285 <varlistentry id="aplay">
286 <term><command>aplay</command></term>
287 <listitem>
288 <para>is a command-line soundfile player for the
289 ALSA sound card drivers.</para>
290 <indexterm zone="alsa-utils aplay">
291 <primary sortas="b-aplay">aplay</primary>
292 </indexterm>
293 </listitem>
294 </varlistentry>
295
296 <varlistentry id="aplaymidi">
297 <term><command>aplaymidi</command></term>
298 <listitem>
299 <para>is a command-line utility that plays the specified
300 MIDI file(s) to one or more ALSA sequencer ports.</para>
301 <indexterm zone="alsa-utils aplaymidi">
302 <primary sortas="b-aplaymidi">aplaymidi</primary>
303 </indexterm>
304 </listitem>
305 </varlistentry>
306
307 <varlistentry id="arecord">
308 <term><command>arecord</command></term>
309 <listitem>
310 <para>is a command-line soundfile recorder for the
311 ALSA sound card drivers.</para>
312 <indexterm zone="alsa-utils arecord">
313 <primary sortas="b-arecord">arecord</primary>
314 </indexterm>
315 </listitem>
316 </varlistentry>
317
318 <varlistentry id="arecordmidi">
319 <term><command>arecordmidi</command></term>
320 <listitem>
321 <para>is a command-line utility that records a standard
322 MIDI file from one or more ALSA sequencer ports.</para>
323 <indexterm zone="alsa-utils arecordmidi">
324 <primary sortas="b-arecordmidi">arecordmidi</primary>
325 </indexterm>
326 </listitem>
327 </varlistentry>
328
329 <varlistentry id="aseqdump">
330 <term><command>aseqdump</command></term>
331 <listitem>
332 <para>is a command-line utility that prints the sequencer events it
333 receives as text.</para>
334 <indexterm zone="alsa-utils aseqdump">
335 <primary sortas="b-aseqdump">aseqdump</primary>
336 </indexterm>
337 </listitem>
338 </varlistentry>
339
340 <varlistentry id="aseqnet">
341 <term><command>aseqnet</command></term>
342 <listitem>
343 <para>is an ALSA sequencer client which sends
344 and receives event packets over a network.</para>
345 <indexterm zone="alsa-utils aseqnet">
346 <primary sortas="b-aseqnet">aseqnet</primary>
347 </indexterm>
348 </listitem>
349 </varlistentry>
350
351 <varlistentry id="iecset">
352 <term><command>iecset</command></term>
353 <listitem>
354 <para>is a small utility to set or dump the IEC958 (or so-called
355 <quote>S/PDIF</quote>) status bits of the specified sound
356 card via the ALSA control API.</para>
357 <indexterm zone="alsa-utils iecset">
358 <primary sortas="b-iecset">iecset</primary>
359 </indexterm>
360 </listitem>
361 </varlistentry>
362
363 <varlistentry id="speaker-test">
364 <term><command>speaker-test</command></term>
365 <listitem>
366 <para>is a command-line speaker test tone generator for ALSA.</para>
367 <indexterm zone="alsa-utils speaker-test">
368 <primary sortas="b-speaker-test">speaker-test</primary>
369 </indexterm>
370 </listitem>
371 </varlistentry>
372
373 </variablelist>
374
375 </sect2>
376
377</sect1>
Note: See TracBrowser for help on using the repository browser.