[48b7295] | 1 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
| 2 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 3 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 4 | %general-entities;
|
---|
| 5 |
|
---|
| 6 | <!ENTITY alsa-utils-download-http "&alsa-download-http;/utils/alsa-utils-&alsa-utils-version;.tar.bz2">
|
---|
| 7 | <!ENTITY alsa-utils-download-ftp "&alsa-download-ftp;/utils/alsa-utils-&alsa-utils-version;.tar.bz2">
|
---|
| 8 | <!ENTITY alsa-utils-size "140 KB">
|
---|
| 9 | <!ENTITY alsa-utils-buildsize "3.2 MB">
|
---|
| 10 | <!ENTITY alsa-utils-time "0.08 SBU">
|
---|
| 11 | ]>
|
---|
[43ef043b] | 12 |
|
---|
[48b7295] | 13 | <sect1 id="alsa-utils" xreflabel="ALSA Utilities-&alsa-utils-version;">
|
---|
| 14 | <?dbhtml filename="alsa-utils.html"?>
|
---|
| 15 | <title>ALSA Utilities-&alsa-utils-version;</title>
|
---|
| 16 |
|
---|
| 17 | <sect2>
|
---|
| 18 | <title>Introduction to <application><acronym>ALSA</acronym> Utilities</application></title>
|
---|
| 19 |
|
---|
| 20 | <para>The <application><acronym>ALSA</acronym> Utilities</application> package
|
---|
| 21 | contains various utilities which are useful for controlling your sound card.
|
---|
| 22 | </para>
|
---|
| 23 |
|
---|
| 24 | <sect3><title>Package information</title>
|
---|
| 25 | <itemizedlist spacing='compact'>
|
---|
| 26 | <listitem><para>Download (HTTP): <ulink url="&alsa-utils-download-http;"/></para></listitem>
|
---|
| 27 | <listitem><para>Download (FTP): <ulink url="&alsa-utils-download-ftp;"/></para></listitem>
|
---|
| 28 | <listitem><para>Download size: &alsa-utils-size;</para></listitem>
|
---|
| 29 | <listitem><para>Estimated Disk space required: &alsa-utils-buildsize;</para></listitem>
|
---|
| 30 | <listitem><para>Estimated build time: &alsa-utils-time;</para></listitem></itemizedlist>
|
---|
| 31 | </sect3>
|
---|
| 32 |
|
---|
[43ef043b] | 33 | <!--
|
---|
[48b7295] | 34 | <sect3><title>Additional downloads</title>
|
---|
| 35 | <itemizedlist spacing='compact'>
|
---|
| 36 | <listitem><para>Required Patch: <ulink
|
---|
| 37 | url="&patch-root;/alsa-utils-&alsa-utils-version;-arecord-1.patch"/></para></listitem>
|
---|
| 38 | </itemizedlist></sect3>
|
---|
[43ef043b] | 39 | -->
|
---|
[48b7295] | 40 |
|
---|
| 41 | <sect3><title><application><acronym>ALSA</acronym> Utilities</application> dependencies</title>
|
---|
| 42 | <sect4><title>Required</title>
|
---|
| 43 | <para><xref linkend="alsa-lib"/>
|
---|
| 44 | </para></sect4>
|
---|
| 45 | </sect3>
|
---|
| 46 |
|
---|
| 47 | </sect2>
|
---|
| 48 |
|
---|
| 49 | <sect2>
|
---|
| 50 | <title>Installation of <application><acronym>ALSA</acronym> Utilities</application></title>
|
---|
| 51 |
|
---|
| 52 | <para>Install <application><acronym>ALSA</acronym> Utilities</application> by running the following commands:</para>
|
---|
[43ef043b] | 53 | <!--
|
---|
[48b7295] | 54 | <screen><userinput><command>patch -Np1 -i ../alsa-utils-&alsa-utils-version;-arecord-1.patch &&
|
---|
[43ef043b] | 55 | -->
|
---|
| 56 |
|
---|
| 57 | <screen><userinput><command>./configure &&
|
---|
[48b7295] | 58 | make &&
|
---|
| 59 | make install</command></userinput></screen>
|
---|
| 60 |
|
---|
| 61 | </sect2>
|
---|
| 62 |
|
---|
| 63 | <sect2>
|
---|
| 64 | <title>Configuring <application><acronym>ALSA</acronym> Utilities</application></title>
|
---|
| 65 |
|
---|
| 66 | <sect3><title>Config files</title>
|
---|
| 67 |
|
---|
| 68 | <para><filename>/etc/asound.state</filename></para>
|
---|
| 69 |
|
---|
| 70 | </sect3>
|
---|
| 71 |
|
---|
| 72 | <sect3><title>Configuration Information</title>
|
---|
| 73 |
|
---|
| 74 | <para>Probably the easiest way to store mixer levels is to set and retrieve
|
---|
| 75 | them using a bootscript. It is possible to do this with a
|
---|
| 76 | <userinput>post-install</userinput> line in
|
---|
| 77 | <filename>/etc/modules.conf</filename> but this is left as an exercise for
|
---|
| 78 | those readers who wish to do this.</para>
|
---|
| 79 |
|
---|
| 80 | <para>The <application><acronym>ALSA</acronym> Driver</application> package
|
---|
| 81 | installs a script as <filename>/etc/rc.d/init.d/alsasound</filename>. While it
|
---|
| 82 | is possible to use this script, it contains a lot of extraneous detail which
|
---|
| 83 | isn't needed on an <acronym>LFS</acronym> system. Instead, install the init
|
---|
| 84 | script <filename>/etc/rc.d/init.d/alsa</filename> included in the
|
---|
| 85 | <xref linkend="intro-important-bootscripts"/> package.</para>
|
---|
| 86 |
|
---|
| 87 | <screen><userinput><command>make install-alsa</command></userinput></screen>
|
---|
| 88 |
|
---|
| 89 | <para>Note that all channels of your sound card are muted by default. You can
|
---|
| 90 | use the <command>alsamixer</command> program from
|
---|
| 91 | <application><acronym>ALSA</acronym> Utilities</application> (or any other
|
---|
| 92 | <acronym>OSS</acronym> mixer) to change this.</para>
|
---|
| 93 |
|
---|
| 94 | <para>The first time the above script is run, it will complain that
|
---|
| 95 | there is no state in <filename>/etc/asound.state</filename>. You can
|
---|
| 96 | prevent this by running the following commands after installing
|
---|
| 97 | <application><acronym>ALSA</acronym> Utilities</application>:</para>
|
---|
| 98 | <screen><userinput><command>touch /etc/asound.state &&
|
---|
| 99 | alsactl store</command></userinput></screen>
|
---|
| 100 |
|
---|
| 101 | <para>A final note is that the lines loading <filename>sfxload</filename>
|
---|
| 102 | are commented out. They are there as an example of other things you may
|
---|
| 103 | wish to do in the startup script. <filename>sfxload</filename> is a
|
---|
| 104 | separate package of interest to SoundBlaster AWE and Live!
|
---|
| 105 | users. It is designed for loading "sound-fonts" (which are used for
|
---|
| 106 | <acronym>MIDI</acronym> output). You may wish to delete these lines and add
|
---|
| 107 | your own or, if you have the relevant sound card, install <filename>sfxload
|
---|
| 108 | </filename> and uncomment them.</para>
|
---|
| 109 |
|
---|
| 110 | </sect3>
|
---|
| 111 |
|
---|
| 112 | </sect2>
|
---|
| 113 |
|
---|
| 114 | <sect2>
|
---|
| 115 | <title>Contents</title>
|
---|
| 116 |
|
---|
| 117 | <para>The <application><acronym>ALSA</acronym> Utilities</application> package
|
---|
| 118 | contains <command>aconnect</command>,
|
---|
| 119 | <command>alsactl</command>, <command>alsamixer</command>,
|
---|
| 120 | <command>amixer</command>, <command>aplay</command>,
|
---|
| 121 | <command>arecord</command> and <command>aseqnet</command>.</para>
|
---|
| 122 |
|
---|
| 123 | </sect2>
|
---|
| 124 |
|
---|
| 125 | <sect2><title>Description</title>
|
---|
| 126 |
|
---|
| 127 | <sect3><title>aconnect</title>
|
---|
| 128 | <para><command>aconnect</command> is a utility for connecting and disconnecting two existing ports in the <acronym>ALSA</acronym> sequencer system.</para>
|
---|
| 129 | </sect3>
|
---|
| 130 |
|
---|
| 131 | <sect3><title>alsactl</title>
|
---|
| 132 | <para><command>alsactl</command> is used to control advanced settings
|
---|
| 133 | for the <acronym>ALSA</acronym> sound card drivers.</para></sect3>
|
---|
| 134 |
|
---|
| 135 | <sect3><title>alsamixer</title>
|
---|
| 136 | <para><command>alsamixer</command> is an ncurses-based mixer program for
|
---|
| 137 | use with the <acronym>ALSA</acronym> sound card drivers.</para></sect3>
|
---|
| 138 |
|
---|
| 139 | <sect3><title>amixer</title>
|
---|
| 140 | <para><command>amixer</command> allows command-line control of the
|
---|
| 141 | mixers for the <acronym>ALSA</acronym> sound card drivers.</para></sect3>
|
---|
| 142 |
|
---|
| 143 | <sect3><title>aplay</title>
|
---|
| 144 | <para><command>aplay</command> is a command-line soundfile player for
|
---|
| 145 | the <acronym>ALSA</acronym> sound card drivers.</para></sect3>
|
---|
| 146 |
|
---|
| 147 | <sect3><title>arecord</title>
|
---|
| 148 | <para><command>arecord</command> is a command-line soundfile recorder
|
---|
| 149 | for the <acronym>ALSA</acronym> sound card drivers.</para></sect3>
|
---|
| 150 |
|
---|
| 151 | <sect3><title>aseqnet</title>
|
---|
| 152 | <para><command>aseqnet</command> is an <acronym>ALSA</acronym> sequencer
|
---|
| 153 | client which sends and receives event packets over a network.</para></sect3>
|
---|
| 154 |
|
---|
| 155 | </sect2>
|
---|
| 156 |
|
---|
| 157 | </sect1>
|
---|
| 158 |
|
---|