source: multimedia/libdriv/alsa-utils.xml@ 48de78d

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 48de78d was c0135e8c, checked in by Krejzi <krejzi@…>, 12 years ago

Mark some packages as 7.2 checked. Part 6 - Multimedia.

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

  • Property mode set to 100644
File size: 12.5 KB
RevLine 
[1d13710]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[48b7295]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
[da13524]6
[48b7295]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">
[55681b7]9 <!ENTITY alsa-utils-md5sum "f81f9dcb9a014fd32cb3a70066a5b9a9">
[22fadd16]10 <!ENTITY alsa-utils-size "1.1 MB">
11 <!ENTITY alsa-utils-buildsize "11 MB">
[bdf22d74]12 <!ENTITY alsa-utils-time "0.1 SBU">
[22fadd16]13 <!ENTITY alsa-utils-patch "alsa-utils-&alsa-utils-version;-no_xmlto-1.patch">
[48b7295]14]>
[43ef043b]15
[a027d7d3]16<sect1 id="alsa-utils" xreflabel="alsa-utils-&alsa-utils-version;">
[1d13710]17 <?dbhtml filename="alsa-utils.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
[a027d7d3]24 <title>alsa-utils-&alsa-utils-version;</title>
[1d13710]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
[9df3b847]33 <para>The <application>ALSA Utilities</application> package contains
[1d13710]34 various utilities which are useful for controlling your sound card.</para>
35
[c0135e8c]36 &lfs72_checked;
[831c11e4]37
[1d13710]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>
[a41f643]61
[1d13710]62 <bridgehead renderas="sect4">Required</bridgehead>
[6a513a4]63 <para role="required">
[22fadd16]64 <xref linkend="alsa-lib"/>
65 </para>
66
67 <bridgehead renderas="sect4">Optional</bridgehead>
68 <para role="optional">
[55681b7]69 <xref linkend="xmlto"/>,
70 <ulink url="http://hightek.org/dialog/">dialog</ulink> (for alsaconf)
[22fadd16]71 </para>
[1d13710]72
[7711710]73 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
74 <itemizedlist spacing="compact">
75 <listitem>
[22fadd16]76 <para>Optional patch: <ulink
77 url="&patch-root;/&alsa-utils-patch;"/></para>
[7711710]78 </listitem>
79 </itemizedlist>
80
81
[0e2aa08]82 <para condition="html" role="usernotes">User Notes:
83 <ulink url="&blfs-wiki;/alsa-utils"/></para>
84
[1d13710]85 </sect2>
86
87 <sect2 role="installation">
88 <title>Installation of ALSA Utilities</title>
89
[22fadd16]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
[9df3b847]95 <para>Install <application>ALSA Utilities</application> by
[1d13710]96 running the following commands:</para>
97
[2ba0c1a]98<screen><userinput>./configure --without-systemdsystemunitdir &amp;&amp;
[1d13710]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
[55681b7]109 <sect2 role="commands">
110 <title>Command Explanations</title>
111
[2ba0c1a]112 <para><option>--without-systemdsystemunitdir</option>:
[55681b7]113 Do not install systemd units.</para>
114
115 </sect2>
116
[1d13710]117 <sect2 role="configuration">
118 <title>Configuring ALSA Utilities</title>
119
120 <sect3 id="alsa-utils-config">
121 <title>Config Files</title>
122
[22fadd16]123 <para><filename>/var/lib/alsa/asound.state</filename></para>
[1d13710]124
125 <indexterm zone="alsa-utils alsa-utils-config">
[22fadd16]126 <primary sortas="e-var-lib-alsa-asound.state">/var/lib/alsa/asound.state</primary>
[1d13710]127 </indexterm>
128
129 </sect3>
130
131 <sect3 id="alsa-utils-init">
132 <title>Configuration Information</title>
133
[5e82411c]134 <para> Use a bootscript to store the values at shutdown.</para>
[1d13710]135
136 <indexterm zone="alsa-utils alsa-utils-init">
137 <primary sortas="f-alsa">alsa</primary>
138 </indexterm>
139
[9df3b847]140 <para>As the <systemitem class="username">root</systemitem> user,
141 install the init script <filename>/etc/rc.d/init.d/alsa</filename> included
[5254d12]142 in the <xref linkend="bootscripts"/> package.</para>
[1d13710]143
144<screen role="root"><userinput>make install-alsa</userinput></screen>
145
[9df3b847]146 <para>Note that all channels of your sound card are muted by default.
[656725d]147 You can use the <command>alsamixer</command> program from the
[22f39f2]148 <application>ALSA Utilities</application> to change this. Use
149 <command>speaker-test</command> to check that your settings have
[831c11e4]150 been applied correctly. You should hear <quote>pink noise</quote> on your
151 speakers.</para>
[1d13710]152
[512577a9]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
[04be25f]158 class="username">root</systemitem> user:</para>
[1d13710]159
[55681b7]160<screen role="root"><userinput>touch /var/lib/alsa/asound.state &amp;&amp;
[1d13710]161alsactl store</userinput></screen>
162
[7ffd4d7]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>
[2ba0c1a]166
[410e228b]167 <para>All sound devices are not accessible for any user except
[3a79861]168 <systemitem class="username">root</systemitem> and members of the
169 <systemitem class="groupname">audio</systemitem> group. Add any users
170 that might use the sound devices to that group:</para>
[c5923846]171
[3a79861]172<screen role="root"><userinput>usermod -a -G audio <replaceable>&lt;username&gt;</replaceable></userinput></screen>
173
174 <note>
175 <para>You may need to log out and back in again to refresh your group
176 memberships. '<command>su <replaceable>&lt;username&gt;</replaceable></command>'
[c5923846]177 should work as well.</para>
[3a79861]178 </note>
179
[1d13710]180 </sect3>
181
182 </sect2>
183
184 <sect2 role="content">
185 <title>Contents</title>
186
187 <segmentedlist>
188 <segtitle>Installed Programs</segtitle>
[831c11e4]189 <segtitle>Installed Directory</segtitle>
[1d13710]190
191 <seglistitem>
[9f12e36]192 <seg>aconnect, alsaconf, alsactl, alsamixer, amidi,
[831c11e4]193 amixer, aplay, aplaymidi, arecord, arecordmidi, aseqdump,
194 aseqnet, iecset, and speaker-test</seg>
[22fadd16]195 <seg>/var/lib/alsa and /usr/share/sounds/alsa</seg>
[1d13710]196 </seglistitem>
197 </segmentedlist>
198
199 <variablelist>
200 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
201 <?dbfo list-presentation="list"?>
202 <?dbhtml list-presentation="table"?>
203
204 <varlistentry id="aconnect">
205 <term><command>aconnect</command></term>
206 <listitem>
[9df3b847]207 <para>is a utility for connecting and disconnecting two existing
[1d13710]208 ports in the ALSA sequencer system.</para>
209 <indexterm zone="alsa-utils aconnect">
210 <primary sortas="b-aconnect">aconnect</primary>
211 </indexterm>
212 </listitem>
213 </varlistentry>
214
215 <varlistentry id="alsaconf">
216 <term><command>alsaconf</command></term>
217 <listitem>
[9df3b847]218 <para>is a configuration tool which tries to detect the sound cards
[fd288e7]219 on your system and write a suitable configuration file for ALSA.
220 This program is incompatible with udev and hotplug.</para>
[1d13710]221 <indexterm zone="alsa-utils alsaconf">
222 <primary sortas="b-alsaconf">alsaconf</primary>
223 </indexterm>
224 </listitem>
225 </varlistentry>
226
227 <varlistentry id="alsactl">
228 <term><command>alsactl</command></term>
229 <listitem>
[9df3b847]230 <para>is used to control advanced settings for the
[1d13710]231 ALSA sound card drivers.</para>
232 <indexterm zone="alsa-utils alsactl">
233 <primary sortas="b-alsactl">alsactl</primary>
234 </indexterm>
235 </listitem>
236 </varlistentry>
237
238 <varlistentry id="alsamixer">
239 <term><command>alsamixer</command></term>
240 <listitem>
[9df3b847]241 <para>is an ncurses-based mixer program for use with the
[1d13710]242 ALSA sound card drivers.</para>
243 <indexterm zone="alsa-utils alsamixer">
244 <primary sortas="b-alsamixer">alsamixer</primary>
245 </indexterm>
246 </listitem>
247 </varlistentry>
248
249 <varlistentry id="amidi">
250 <term><command>amidi</command></term>
251 <listitem>
[9df3b847]252 <para>is used to read from and write to ALSA
[1d13710]253 RawMIDI ports.</para>
254 <indexterm zone="alsa-utils amidi">
255 <primary sortas="b-amidi">amidi</primary>
256 </indexterm>
257 </listitem>
258 </varlistentry>
259
260 <varlistentry id="amixer">
261 <term><command>amixer</command></term>
262 <listitem>
[9df3b847]263 <para> allows command-line control of the mixers for the
[1d13710]264 ALSA sound card drivers.</para>
265 <indexterm zone="alsa-utils amixer">
266 <primary sortas="b-amixer">amixer</primary>
267 </indexterm>
268 </listitem>
269 </varlistentry>
270
271 <varlistentry id="aplay">
272 <term><command>aplay</command></term>
273 <listitem>
[9df3b847]274 <para>is a command-line soundfile player for the
[1d13710]275 ALSA sound card drivers.</para>
276 <indexterm zone="alsa-utils aplay">
277 <primary sortas="b-aplay">aplay</primary>
278 </indexterm>
279 </listitem>
280 </varlistentry>
281
282 <varlistentry id="aplaymidi">
283 <term><command>aplaymidi</command></term>
284 <listitem>
[9df3b847]285 <para>is a command-line utility that plays the specified
[1d13710]286 MIDI file(s) to one or more ALSA sequencer ports.</para>
287 <indexterm zone="alsa-utils aplaymidi">
288 <primary sortas="b-aplaymidi">aplaymidi</primary>
289 </indexterm>
290 </listitem>
291 </varlistentry>
292
293 <varlistentry id="arecord">
294 <term><command>arecord</command></term>
295 <listitem>
[9df3b847]296 <para>is a command-line soundfile recorder for the
[1d13710]297 ALSA sound card drivers.</para>
298 <indexterm zone="alsa-utils arecord">
299 <primary sortas="b-arecord">arecord</primary>
300 </indexterm>
301 </listitem>
302 </varlistentry>
303
304 <varlistentry id="arecordmidi">
305 <term><command>arecordmidi</command></term>
306 <listitem>
[9df3b847]307 <para>is a command-line utility that records a standard
[1d13710]308 MIDI file from one or more ALSA sequencer ports.</para>
309 <indexterm zone="alsa-utils arecordmidi">
310 <primary sortas="b-arecordmidi">arecordmidi</primary>
311 </indexterm>
312 </listitem>
313 </varlistentry>
314
[bdf22d74]315 <varlistentry id="aseqdump">
316 <term><command>aseqdump</command></term>
317 <listitem>
318 <para>is a command-line utility that prints the sequencer events it
319 receives as text.</para>
320 <indexterm zone="alsa-utils aseqdump">
321 <primary sortas="b-aseqdump">aseqdump</primary>
322 </indexterm>
323 </listitem>
324 </varlistentry>
325
[1d13710]326 <varlistentry id="aseqnet">
327 <term><command>aseqnet</command></term>
328 <listitem>
[9df3b847]329 <para>is an ALSA sequencer client which sends
[1d13710]330 and receives event packets over a network.</para>
331 <indexterm zone="alsa-utils aseqnet">
332 <primary sortas="b-aseqnet">aseqnet</primary>
333 </indexterm>
334 </listitem>
335 </varlistentry>
336
337 <varlistentry id="iecset">
338 <term><command>iecset</command></term>
339 <listitem>
[9df3b847]340 <para>is a small utility to set or dump the IEC958 (or so-called
341 <quote>S/PDIF</quote>) status bits of the specified sound
[1d13710]342 card via the ALSA control API.</para>
343 <indexterm zone="alsa-utils iecset">
344 <primary sortas="b-iecset">iecset</primary>
345 </indexterm>
346 </listitem>
347 </varlistentry>
348
349 <varlistentry id="speaker-test">
350 <term><command>speaker-test</command></term>
351 <listitem>
352 <para>is a command-line speaker test tone generator for ALSA.</para>
353 <indexterm zone="alsa-utils speaker-test">
354 <primary sortas="b-speaker-test">speaker-test</primary>
355 </indexterm>
356 </listitem>
357 </varlistentry>
358
359 </variablelist>
360
361 </sect2>
[48b7295]362
363</sect1>
Note: See TracBrowser for help on using the repository browser.