source: multimedia/libdriv/alsa/utils/alsa-utils-config.xml@ fe88f584

10.0 10.1 11.0 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 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 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk v5_1 v5_1-pre1 xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since fe88f584 was fe88f584, checked in by Tushar Teredesai <tushar@…>, 18 years ago

Completed lfs-bootscripts changes

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

  • Property mode set to 100644
File size: 2.2 KB
Line 
1<sect2>
2<title>Configuring <application><acronym>ALSA</acronym> Utilities</application></title>
3
4<sect3><title>Config files</title>
5
6<para><filename>/etc/asound.state</filename></para>
7
8</sect3>
9
10<sect3><title>Configuration Information</title>
11
12<para>Probably the easiest way to store mixer levels is to set and retrieve
13them using a bootscript. It is possible to do this with a
14<userinput>post-install</userinput> line in
15<filename>/etc/modules.conf</filename> but this is left as an exercise for
16those readers who wish to do this.</para>
17
18<para>The <application><acronym>ALSA</acronym> Driver</application> package
19installs a script as <filename>/etc/rc.d/init.d/alsasound</filename>. While it
20is possible to use this script, it contains a lot of extraneous detail which
21isn't needed on an <acronym>LFS</acronym> system and so we install the init
22script <filename>/etc/rc.d/init.d/alsa</filename> included in the
23<xref linkend="intro-important-bootscripts"/> package.</para>
24
25<screen><userinput><command>make install-alsa</command></userinput></screen>
26
27<para>Note that all channels of your soundcard are muted by default. You can
28use the <command>alsamixer</command> program from
29<application><acronym>ALSA</acronym> Utilities</application> (or any other
30<acronym>OSS</acronym> mixer) to change this.</para>
31
32<para>Also, the first time the above script is run, it will complain that
33there is no state in <filename>/etc/asound.state</filename>. You can
34prevent this by running the following commands after installing
35<application><acronym>ALSA</acronym> Utilities</application>:</para>
36<screen><userinput><command>touch /etc/asound.state &amp;&amp;
37alsactl store</command></userinput></screen>
38
39<para>A final note is that the lines loading <filename>sfxload</filename>
40are commented out. They are there as an example of other things you may
41wish to do in the startup script. <filename>sfxload</filename> is a
42separate package of interest to SoundBlaster AWE and Live!
43users. It is designed for loading "sound-fonts" (which are used for
44<acronym>MIDI</acronym> output). You may wish to delete these lines and add
45your own or, if you have the relevant soundcard, install <filename>sfxload
46</filename> and uncomment them.</para>
47
48</sect3>
49
50</sect2>
Note: See TracBrowser for help on using the repository browser.