mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 06:27:16 +08:00
Finish updating alsa
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9111 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
cf3ddc0c57
commit
22fadd1640
16
general.ent
16
general.ent
@ -3,13 +3,13 @@ $LastChangedBy$
|
||||
$Date$
|
||||
-->
|
||||
|
||||
<!ENTITY day "12"> <!-- Always 2 digits -->
|
||||
<!ENTITY day "13"> <!-- Always 2 digits -->
|
||||
<!ENTITY month "12"> <!-- Always 2 digits -->
|
||||
<!ENTITY year "2011">
|
||||
<!ENTITY copyrightdate "2001-&year;">
|
||||
<!ENTITY copyholder "The BLFS Development Team">
|
||||
<!ENTITY version "&year;-&month;-&day;">
|
||||
<!ENTITY releasedate "December 12th, &year;">
|
||||
<!ENTITY releasedate "December 13th, &year;">
|
||||
<!-- <!ENTITY releasedate "November &day;st, &year;"> -->
|
||||
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
|
||||
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
|
||||
@ -56,7 +56,7 @@ $Date$
|
||||
<!ENTITY lfs-vim-version "7.3">
|
||||
<!-- End LFS versions -->
|
||||
|
||||
<!ENTITY blfs-bootscripts-version "20111212">
|
||||
<!ENTITY blfs-bootscripts-version "20111213">
|
||||
<!ENTITY blfs-bootscripts-download "&downloads-root;/blfs-bootscripts-&blfs-bootscripts-version;.tar.bz2">
|
||||
|
||||
<!ENTITY blfs-wiki "http://wiki.&lfs-domainname;/blfs/wiki">
|
||||
@ -802,11 +802,11 @@ $Date$
|
||||
<!-- Part XII -->
|
||||
<!-- Chapter 38 -->
|
||||
<!ENTITY alsa-version "1.0.24.1">
|
||||
<!ENTITY alsa-lib-version "&alsa-version;">
|
||||
<!ENTITY alsa-plugins-version "&alsa-version;">
|
||||
<!ENTITY alsa-utils-version "&alsa-version;">
|
||||
<!ENTITY alsa-tools-version "&alsa-version;">
|
||||
<!ENTITY alsa-firmware-version "1.0.20">
|
||||
<!ENTITY alsa-lib-version "1.0.24.1">
|
||||
<!ENTITY alsa-plugins-version "1.0.24">
|
||||
<!ENTITY alsa-utils-version "1.0.24.2">
|
||||
<!ENTITY alsa-tools-version "1.0.24.1">
|
||||
<!ENTITY alsa-firmware-version "1.0.24.1">
|
||||
<!ENTITY alsa-oss-version "1.0.17">
|
||||
<!ENTITY alsa-download-http "http://gd.tuwien.ac.at/opsys/linux/alsa">
|
||||
<!ENTITY alsa-download-ftp "ftp://ftp.alsa-project.org/pub">
|
||||
|
@ -33,7 +33,7 @@
|
||||
contains libraries for Interface Definition Language files. This is a
|
||||
specification for defining portable interfaces.</para>
|
||||
|
||||
&lfs65_checked;
|
||||
&lfs70_checked;
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
|
@ -80,11 +80,11 @@
|
||||
<para>Install <application>libgnome</application> by running the following
|
||||
commands:</para>
|
||||
|
||||
<screen><userinput>./configure --prefix=$(pkg-config --variable=prefix ORBit-2.0) \
|
||||
--sysconfdir=&gnome-etc-dir; \
|
||||
--localstatedir=/var/lib \
|
||||
--mandir=$(pkg-config \
|
||||
--variable=prefix ORBit-2.0)/share/man &&
|
||||
<screen><userinput>
|
||||
./configure --prefix=$(pkg-config --variable=prefix ORBit-2.0) \
|
||||
--sysconfdir=&gnome-etc-dir; \
|
||||
--localstatedir=/var/lib \
|
||||
--mandir=$(pkg-config --variable=prefix ORBit-2.0)/share/man &&
|
||||
make</userinput></screen>
|
||||
|
||||
<para>This package does not come with a test suite.</para>
|
||||
|
@ -41,6 +41,24 @@
|
||||
</listitem>
|
||||
|
||||
-->
|
||||
<listitem>
|
||||
<para>December 13th, 2011</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Updated to alsa-firmware-1.0.24.1</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Updated to alsa-tools-1.0.24.1</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Updated to alsa-utils-1.0.24.2</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Updated to alsa-plugins-1.0.24.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>December 12th, 2011</para>
|
||||
<itemizedlist>
|
||||
|
@ -6,8 +6,8 @@
|
||||
|
||||
<!ENTITY alsa-firmware-download-http "&alsa-download-http;/firmware/alsa-firmware-&alsa-firmware-version;.tar.bz2">
|
||||
<!ENTITY alsa-firmware-download-ftp "&alsa-download-ftp;/firmware/alsa-firmware-&alsa-firmware-version;.tar.bz2">
|
||||
<!ENTITY alsa-firmware-md5sum "75fe079c35c091cac49f3a60876bc26a">
|
||||
<!ENTITY alsa-firmware-size "3.6 MB">
|
||||
<!ENTITY alsa-firmware-md5sum "d37434dfcfececd8581d2f0bbe2fcf1b">
|
||||
<!ENTITY alsa-firmware-size "3.7 MB">
|
||||
<!ENTITY alsa-firmware-buildsize "32 MB">
|
||||
<!ENTITY alsa-firmware-time "less than 0.1 SBU">
|
||||
]>
|
||||
@ -31,7 +31,8 @@
|
||||
<para>The <application>ALSA Firmware</application> package
|
||||
contains firmware for certain sound cards.</para>
|
||||
|
||||
&lfs65_built;
|
||||
<para>This package is known to build using an LFS 7.0 platform but has not
|
||||
been tested.</para>
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
|
@ -33,7 +33,8 @@
|
||||
the ALSA OSS compatibility library. This is used by programs which
|
||||
wish to use the ALSA OSS sound interface.</para>
|
||||
|
||||
&lfs65_built;
|
||||
<para>This package is known to build using an LFS 7.0 platform but has not
|
||||
been tested.</para>
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
|
@ -6,8 +6,8 @@
|
||||
|
||||
<!ENTITY alsa-plugins-download-http "&alsa-download-http;/plugins/alsa-plugins-&alsa-plugins-version;.tar.bz2">
|
||||
<!ENTITY alsa-plugins-download-ftp "&alsa-download-ftp;/plugins/alsa-plugins-&alsa-plugins-version;.tar.bz2">
|
||||
<!ENTITY alsa-plugins-md5sum "392d016c0948c54978c0505f24271e01">
|
||||
<!ENTITY alsa-plugins-size "231 KB">
|
||||
<!ENTITY alsa-plugins-md5sum "e4d4c90e11ab9d1a117afbbc1edd2b16">
|
||||
<!ENTITY alsa-plugins-size "328 KB">
|
||||
<!ENTITY alsa-plugins-buildsize "4 MB">
|
||||
<!ENTITY alsa-plugins-time "less than 0.1 SBU">
|
||||
]>
|
||||
|
@ -6,8 +6,8 @@
|
||||
|
||||
<!ENTITY alsa-tools-download-http "&alsa-download-http;/tools/alsa-tools-&alsa-tools-version;.tar.bz2">
|
||||
<!ENTITY alsa-tools-download-ftp "&alsa-download-ftp;/tools/alsa-tools-&alsa-tools-version;.tar.bz2">
|
||||
<!ENTITY alsa-tools-md5sum "35b1373e7d4509549b96e6fdecc357da">
|
||||
<!ENTITY alsa-tools-size "1.5 MB">
|
||||
<!ENTITY alsa-tools-md5sum "08fe93a12006093e590d7ecc02b119dd">
|
||||
<!ENTITY alsa-tools-size "1.7 MB">
|
||||
<!ENTITY alsa-tools-buildsize "14-17 MB depending on the tool being built">
|
||||
<!ENTITY alsa-tools-time "0.1-0.5 SBU depending on the tool being built">
|
||||
]>
|
||||
@ -32,7 +32,8 @@
|
||||
<para>The <application>ALSA Tools</application> package
|
||||
contains advanced tools for certain sound cards.</para>
|
||||
|
||||
&lfs65_built;
|
||||
<para>This package is known to build using an LFS 7.0 platform but has not
|
||||
been tested.</para>
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
@ -62,13 +63,16 @@
|
||||
<para role="required"><xref linkend="alsa-lib"/></para>
|
||||
|
||||
<bridgehead renderas="sect4">Optional</bridgehead>
|
||||
<para role="optional"><!-- <xref linkend="pkgconfig"/> and -->
|
||||
<xref linkend="gtk2"/> <!-- or <xref linkend="GTK"/> -->
|
||||
(to build <command>echomixer</command>,
|
||||
<command>envy24control</command> and <command>rmedigicontrol</command>),
|
||||
<ulink url="http://www.fltk.org/">FLTK</ulink> (to build
|
||||
<command>hdspconf</command> and <command>hdspmixer</command>), and
|
||||
<xref linkend="qt"/> (to build <command>qlo10k1</command>).</para>
|
||||
<para role="optional">
|
||||
<!-- <xref linkend="pkgconfig"/> and -->
|
||||
<ulink url="ftp://ftp.gtk.org/pub/gtk/v1.2/">GTK+1</ulink>
|
||||
(to build <command>echomixer</command>,
|
||||
<command>envy24control</command> and
|
||||
<command>rmedigicontrol</command>),
|
||||
<ulink url="http://www.fltk.org/">FLTK</ulink>
|
||||
(to build <command>hdspconf</command> and <command>hdspmixer</command>), and
|
||||
<xref linkend="qt"/> (to build <command>qlo10k1</command>).
|
||||
</para>
|
||||
|
||||
<para condition="html" role="usernotes">User Notes:
|
||||
<ulink url="&blfs-wiki;/alsa-tools"/></para>
|
||||
|
@ -6,10 +6,11 @@
|
||||
|
||||
<!ENTITY alsa-utils-download-http "&alsa-download-http;/utils/alsa-utils-&alsa-utils-version;.tar.bz2">
|
||||
<!ENTITY alsa-utils-download-ftp "&alsa-download-ftp;/utils/alsa-utils-&alsa-utils-version;.tar.bz2">
|
||||
<!ENTITY alsa-utils-md5sum "3672287c2608040d111ce45495ba7602">
|
||||
<!ENTITY alsa-utils-size "1.0 MB">
|
||||
<!ENTITY alsa-utils-buildsize "8 MB">
|
||||
<!ENTITY alsa-utils-md5sum "8238cd57cb301d1c36bcf0ecb59ce6b2">
|
||||
<!ENTITY alsa-utils-size "1.1 MB">
|
||||
<!ENTITY alsa-utils-buildsize "11 MB">
|
||||
<!ENTITY alsa-utils-time "0.1 SBU">
|
||||
<!ENTITY alsa-utils-patch "alsa-utils-&alsa-utils-version;-no_xmlto-1.patch">
|
||||
]>
|
||||
|
||||
<sect1 id="alsa-utils" xreflabel="ALSA Utilities-&alsa-utils-version;">
|
||||
@ -32,7 +33,7 @@
|
||||
<para>The <application>ALSA Utilities</application> package contains
|
||||
various utilities which are useful for controlling your sound card.</para>
|
||||
|
||||
&lfs65_checked;
|
||||
&lfs70_checked;
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
@ -59,13 +60,20 @@
|
||||
<bridgehead renderas="sect3">ALSA Utilities Dependencies</bridgehead>
|
||||
|
||||
<bridgehead renderas="sect4">Required</bridgehead>
|
||||
<para role="required"><xref linkend="alsa-lib"/></para>
|
||||
<para role="required">i
|
||||
<xref linkend="alsa-lib"/>
|
||||
</para>
|
||||
|
||||
<bridgehead renderas="sect4">Optional</bridgehead>
|
||||
<para role="optional">
|
||||
<xref linkend="xmlto"/>
|
||||
</para>
|
||||
|
||||
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>Required patch: <ulink
|
||||
url="&patch-root;/alsa-utils-&alsa-utils-version;-no_xmlto-1.patch"/></para>
|
||||
<para>Optional patch: <ulink
|
||||
url="&patch-root;/&alsa-utils-patch;"/></para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
@ -78,11 +86,15 @@
|
||||
<sect2 role="installation">
|
||||
<title>Installation of ALSA Utilities</title>
|
||||
|
||||
<para>If you have not installed the optional dependency <xref linkend='xmlto'/>,
|
||||
apply the following patch:</para>
|
||||
|
||||
<screen><userinput>patch -Np1 -i ../&alsa-utils-patch;</userinput></screen>
|
||||
|
||||
<para>Install <application>ALSA Utilities</application> by
|
||||
running the following commands:</para>
|
||||
|
||||
<screen><userinput>patch -Np1 -i ../alsa-utils-&alsa-utils-version;-no_xmlto-1.patch &&
|
||||
./configure &&
|
||||
<screen><userinput>./configure &&
|
||||
make</userinput></screen>
|
||||
|
||||
<para>This package does not come with a test suite.</para>
|
||||
@ -99,10 +111,10 @@ make</userinput></screen>
|
||||
<sect3 id="alsa-utils-config">
|
||||
<title>Config Files</title>
|
||||
|
||||
<para><filename>/etc/asound.state</filename></para>
|
||||
<para><filename>/var/lib/alsa/asound.state</filename></para>
|
||||
|
||||
<indexterm zone="alsa-utils alsa-utils-config">
|
||||
<primary sortas="e-etc-asound.state">/etc/asound.state</primary>
|
||||
<primary sortas="e-var-lib-alsa-asound.state">/var/lib/alsa/asound.state</primary>
|
||||
</indexterm>
|
||||
|
||||
</sect3>
|
||||
@ -135,39 +147,14 @@ make</userinput></screen>
|
||||
prevent this by running the following commands as the <systemitem
|
||||
class="username">root</systemitem> user:</para>
|
||||
|
||||
<screen role="root"><userinput>touch /etc/asound.state &&
|
||||
<screen role="root"><userinput>mkdir -p /var/lib/alsa &&
|
||||
touch /var/lib/alsa/asound.state &&
|
||||
alsactl store</userinput></screen>
|
||||
|
||||
<para>The volume settings will be restored from the saved state by
|
||||
<application>Udev</application> when the device is detected (during boot
|
||||
or when plugged in for USB devices).</para>
|
||||
|
||||
<!--
|
||||
<para> While still the
|
||||
<systemitem class="username">root</systemitem> user, create the
|
||||
<filename>/etc/udev/scripts/alsa-restore</filename> script with
|
||||
the following commands:</para>
|
||||
|
||||
<screen role="root"><userinput>install -v -d -m754 /etc/udev/scripts &&
|
||||
cat > /etc/udev/scripts/alsa-restore << "EOF"
|
||||
#!/bin/sh -e
|
||||
# Begin /etc/udev/scripts/alsa-restore
|
||||
# $1 is (the numbered device "%n") passed in by udev/kernel.
|
||||
|
||||
rc=1
|
||||
|
||||
if [ -f /usr/sbin/alsactl ]; then
|
||||
/usr/sbin/alsactl restore "${1}"
|
||||
rc=$?
|
||||
fi
|
||||
|
||||
exit $rc
|
||||
|
||||
# End /etc/udev/scripts/alsa-restore
|
||||
EOF
|
||||
chmod -v 754 /etc/udev/scripts/alsa-restore</userinput></screen>
|
||||
-->
|
||||
|
||||
<para>As the <systemitem class="username">root</systemitem> user, install
|
||||
a new <application>Udev</application> rules file to create the audio
|
||||
device nodes and run the restore script:</para>
|
||||
@ -210,7 +197,7 @@ chmod -v 644 /etc/udev/rules.d/40-alsa.rules</userinput></screen>
|
||||
amixer, aplay, aplaymidi, arecord, arecordmidi, aseqdump,
|
||||
aseqnet, iecset, and speaker-test</seg>
|
||||
<seg>None</seg>
|
||||
<seg>/usr/share/sounds/alsa</seg>
|
||||
<seg>/var/lib/alsa and /usr/share/sounds/alsa</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user