r2790 - in trunk/BOOK: . introduction/welcome multimedia/libdriv

igor at linuxfromscratch.org igor at linuxfromscratch.org
Mon Oct 11 17:44:08 PDT 2004


Author: igor
Date: 2004-10-11 18:44:06 -0600 (Mon, 11 Oct 2004)
New Revision: 2790

Removed:
   trunk/BOOK/multimedia/libdriv/alsa-driver.xml
Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/multimedia/libdriv/alsa-lib.xml
   trunk/BOOK/multimedia/libdriv/alsa-utils.xml
   trunk/BOOK/multimedia/libdriv/alsa.xml
   trunk/BOOK/multimedia/libdriv/libdriv.xml
Log:
Reverted to ALSA-1.0.4 to match the LFS-testing kernel drivers. Removed ALSA Driver page.

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2004-10-11 13:08:57 UTC (rev 2789)
+++ trunk/BOOK/general.ent	2004-10-12 00:44:06 UTC (rev 2790)
@@ -1,4 +1,4 @@
-<!ENTITY day          "10">
+<!ENTITY day          "11">
 <!ENTITY month        "10">
 <!ENTITY year         "2004">
 <!ENTITY version      "svn-&year;&month;&day;">
@@ -375,12 +375,11 @@
 
 <!-- Part XII -->
 <!-- Chapter 37 --> 
-<!ENTITY alsa-version                 "1.0.5"> 
-<!ENTITY alsa-driver-version          "&alsa-version;a">    
+<!ENTITY alsa-version                 "1.0.4"> 
 <!ENTITY alsa-lib-version             "&alsa-version;"> 
 <!ENTITY alsa-utils-version           "&alsa-version;">  
 <!ENTITY alsa-tools-version           "&alsa-version;">  
-<!ENTITY alsa-firmware-version        "1.0.4">  
+<!ENTITY alsa-firmware-version        "&alsa-version;">  
 <!ENTITY alsa-oss-version             "&alsa-version;">  
 <!ENTITY alsa-download-http           "http://gd.tuwien.ac.at/opsys/linux/alsa">
 <!ENTITY alsa-download-ftp            "ftp://ftp.alsa-project.org/pub"> 

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2004-10-11 13:08:57 UTC (rev 2789)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2004-10-12 00:44:06 UTC (rev 2790)
@@ -22,6 +22,10 @@
 
 <itemizedlist>
 
+<listitem><para>October 11th, 2004 [igor]: Reverted to ALSA-1.0.4 to
+match the LFS-testing kernel drivers. Removed ALSA Driver
+page.</para></listitem>
+
 <listitem><para>October 10th, 2004 [igor]: Added download locations for
 TrueType fonts and a note about editing font.alias file for i18n users,
 contributed by Alexander E. Patrakov.</para></listitem>

Deleted: trunk/BOOK/multimedia/libdriv/alsa-driver.xml
===================================================================
--- trunk/BOOK/multimedia/libdriv/alsa-driver.xml	2004-10-11 13:08:57 UTC (rev 2789)
+++ trunk/BOOK/multimedia/libdriv/alsa-driver.xml	2004-10-12 00:44:06 UTC (rev 2790)
@@ -1,179 +0,0 @@
-<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
-   "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
-  <!ENTITY % general-entities SYSTEM "../../general.ent">
-  %general-entities;
- 
-  <!ENTITY alsa-driver-download-http "&alsa-download-http;/driver/alsa-driver-&alsa-driver-version;.tar.bz2">
-  <!ENTITY alsa-driver-download-ftp  "&alsa-download-ftp;/driver/alsa-driver-&alsa-driver-version;.tar.bz2">
-  <!ENTITY alsa-driver-size          "1.7 MB">
-  <!ENTITY alsa-driver-buildsize     "32 MB (for all drivers)">
-  <!ENTITY alsa-driver-time          "1.26 SBU (for all drivers)">
-]>
-
-<sect1 id="alsa-driver" xreflabel="ALSA Driver-&alsa-driver-version;">
-<sect1info>
-<othername>$LastChangedBy$</othername>
-<date>$Date$</date>
-</sect1info>
-<?dbhtml filename="alsa-driver.html"?>
-<title>ALSA Driver-&alsa-driver-version;</title>
-
-<sect2>
-<title>Introduction to <application><acronym>ALSA</acronym> Driver</application>
-</title>
-
-<para>The <application><acronym>ALSA</acronym> Driver</application> package 
-contains the <acronym>ALSA</acronym> sound drivers. These are
-the next generation of sound drivers for Linux.</para>
-
-<sect3><title>Package information</title>
-<itemizedlist spacing='compact'>
-<listitem><para>Download (HTTP): <ulink url="&alsa-driver-download-http;"/></para></listitem>
-<listitem><para>Download (FTP): <ulink url="&alsa-driver-download-ftp;"/></para></listitem>
-<listitem><para>Download size: &alsa-driver-size;</para></listitem>
-<listitem><para>Estimated Disk space required: &alsa-driver-buildsize;</para></listitem>
-<listitem><para>Estimated build time: &alsa-driver-time;</para></listitem></itemizedlist>
-</sect3>
-
-</sect2>
-
-<sect2>
-<title>Installation of <application><acronym>ALSA</acronym> Driver</application></title>
-
-<para>Before installing the <application><acronym>ALSA</acronym></application> 
-drivers, note that in your 
-kernel configuration you should have <userinput>Sound Card Support
-(CONFIG_SOUND)</userinput> enabled but <emphasis>nothing</emphasis> else in
-the Sound menu (with the possible exception of TV Card Mixer support.)  In
-particular, you should <emphasis>not</emphasis> have <userinput>OSS Sound
-Modules</userinput> enabled as this will cause problems when loading the
-<application><acronym>ALSA</acronym></application> driver modules.</para>
-
-<note><para>Because <application><acronym>ALSA</acronym></application> drivers 
-are kernel modules, they must be compiled with the same compiler used to 
-compile the kernel.</para></note>
-
-<para>Install <application><acronym>ALSA</acronym> Driver</application> using 
-the following commands:</para>
-
-<screen><userinput><command>CC=/opt/gcc-2.95.3/bin/gcc ./configure \
-    --with-moddir=/lib/modules/`uname -r`/kernel/drivers/sound \
-    --with-kernel=/lib/modules/`uname -r`/build \
-    --with-sequencer=yes \
-    --with-oss=yes \
-    --with-isapnp=no \
-    --with-cards=all &&
-make &&
-make install</command></userinput></screen>
-
-<para>If this is the first time you have installed the
-<application><acronym>ALSA</acronym></application> drivers, you
-will need to create the <filename class="directory">/dev</filename> entries
-using the script provided in the
-<application><acronym>ALSA</acronym> Driver</application> source
-tree:</para>
-<screen><userinput><command>./snddevices</command></userinput></screen>
-
-</sect2>
-
-<sect2>
-<title>Command explanations</title>
-
-<para><parameter>--with-sequencer=yes</parameter>: This tells the <application>
-<acronym>ALSA</acronym> Driver</application> package to build the sequencer 
-modules. Most people want 
-them so you will usually want to leave it set to yes.</para>
-
-<para><parameter>--with-oss=yes</parameter>: This tells the package to
-build the <acronym>OSS</acronym>/Free emulation modules. Again, most people 
-want this so it's probably best to stick with yes.</para>
-
-<para><parameter>--with-isapnp=no</parameter>: Most sound cards these days
-are <acronym>PCI</acronym> and <acronym>ISA</acronym> Plug and Play 
-support isn't needed. If you are using an <acronym>ISA</acronym> PnP sound card, 
-it's best to say yes here. If your card is <acronym>ISA</acronym>, but
-not PnP, it is safer to stay with 'no'.</para>
-
-<para><parameter>--with-cards=all</parameter>: You can tell the script just
-to build the drivers for your particular sound card here. For full information
-on which drivers are available, see <command>./configure
---help</command>. If you aren't sure which chipset your sound card uses,
-look at the file <filename>CARDS-STATUS</filename> in the
-<application><acronym>ALSA</acronym> Driver</application> source
-tree. The default specified here will build all drivers.</para>
-
-</sect2>
-
-<sect2>
-<title>Configuring <application><acronym>ALSA</acronym> Driver</application></title>
-
-<sect3><title>Config files</title>
-
-<para><filename>/etc/modules.conf</filename></para>
-
-</sect3>
-
-<sect3><title>Configuration Information</title>
-
-<para>To configure the <acronym>ALSA</acronym> drivers, you need to add some 
-lines to <filename>/etc/modules.conf</filename>:</para>
-
-<screen><userinput><command>cat >> /etc/modules.conf << "EOF"
-alias char-major-14 soundcore
-alias char-major-116 snd
-
-alias snd-card-0 snd-<replaceable>[soundcard-name]</replaceable>
-
-alias sound-slot-0 snd-card-0
-
-alias sound-service-0-0 snd-mixer-oss
-alias sound-service-0-1 snd-seq-oss
-alias sound-service-0-3 snd-pcm-oss
-alias sound-service-0-8 snd-seq-midi
-EOF</command></userinput></screen>
-
-<para><replaceable>[soundcard-name]</replaceable> needs to be replaced with the 
-driver relevant to your sound card.  If you have more than one sound card, you 
-can add additional sections by repeating the above, changing the first 0 to 
-1 and so on.</para>
-
-<para>After editing <filename>/etc/modules.conf</filename> you need to run
-<command>depmod</command>.  If the drivers you have compiled are for the
-version of the kernel you are currently running, simply run:</para>
-
-<screen><userinput><command>depmod</command></userinput></screen>  
-
-<para>If you are compiling  drivers for a different kernel version than those 
-you are running, you will need to use a line similar to:</para>
-
-<screen><userinput><command>depmod -a 2.4.22 -F /boot/System.map-2.4.22</command></userinput></screen>
-
-</sect3>
-
-</sect2>
-
-<sect2>
-<title>Contents</title>
-
-<para>The <application><acronym>ALSA</acronym> Driver</application> package 
-contains the <acronym>ALSA</acronym> sound card drivers and include files.
-</para>
-
-</sect2>
-
-<sect2><title>Description</title>
-
-<sect3><title><acronym>ALSA</acronym> sound card drivers</title>
-<para>These are kernel modules which provide audio and <acronym>MIDI</acronym> 
-functionality to the operating system.</para></sect3>
-
-<sect3><title>include files</title>
-<para>These are installed in <filename class="directory">/usr/include/sound
-</filename> and are required to compile certain packages such as
-<application><acronym>ALSA</acronym> Libraries</application>.
-</para></sect3>
-
-</sect2>
-
-</sect1>
-

Modified: trunk/BOOK/multimedia/libdriv/alsa-lib.xml
===================================================================
--- trunk/BOOK/multimedia/libdriv/alsa-lib.xml	2004-10-11 13:08:57 UTC (rev 2789)
+++ trunk/BOOK/multimedia/libdriv/alsa-lib.xml	2004-10-12 00:44:06 UTC (rev 2790)
@@ -34,18 +34,17 @@
 <listitem><para>Estimated build time: &alsa-lib-time;</para></listitem></itemizedlist>
 </sect3>
 
-<sect3><title><application><acronym>ALSA</acronym> Library</application> dependencies</title>
-<sect4><title>Required</title>
-<para><xref linkend="alsa-driver"/>
-</para></sect4>
-</sect3>
-
 </sect2>
 
 <sect2>
 <title>Installation of <application><acronym>ALSA</acronym> Library</application>
 </title>
 
+<para>In the "Sound" section of the kernel configuration, edit <userinput>Advanced Linux
+Sound Architecture</userinput> options to match your audio hardware and
+disable deprecated <userinput>Open Sound System</userinput>.
+Recompile and install your new kernel.</para>
+
 <para>Install <application><acronym>ALSA</acronym> Library</application> by running 
 the following commands:</para>
 

Modified: trunk/BOOK/multimedia/libdriv/alsa-utils.xml
===================================================================
--- trunk/BOOK/multimedia/libdriv/alsa-utils.xml	2004-10-11 13:08:57 UTC (rev 2789)
+++ trunk/BOOK/multimedia/libdriv/alsa-utils.xml	2004-10-12 00:44:06 UTC (rev 2790)
@@ -34,14 +34,6 @@
 <listitem><para>Estimated build time: &alsa-utils-time;</para></listitem></itemizedlist>
 </sect3>
 
-<!--
-<sect3><title>Additional downloads</title>
-<itemizedlist spacing='compact'>
-<listitem><para>Required Patch: <ulink
-url="&patch-root;/alsa-utils-&alsa-utils-version;-arecord-1.patch"/></para></listitem>
-</itemizedlist></sect3>
--->
-
 <sect3><title><application><acronym>ALSA</acronym> Utilities</application> dependencies</title>
 <sect4><title>Required</title>
 <para><xref linkend="alsa-lib"/>
@@ -54,9 +46,6 @@
 <title>Installation of <application><acronym>ALSA</acronym> Utilities</application></title>
 
 <para>Install <application><acronym>ALSA</acronym> Utilities</application> by running the following commands:</para>
-<!--
-<screen><userinput><command>patch -Np1 -i ../alsa-utils-&alsa-utils-version;-arecord-1.patch &&
--->
 
 <screen><userinput><command>./configure &&
 make &&
@@ -81,10 +70,7 @@
 <filename>/etc/modules.conf</filename> but this is left as an exercise for
 those readers who wish to do this.</para>
 
-<para>The <application><acronym>ALSA</acronym> Driver</application> package 
-installs a script as <filename>/etc/rc.d/init.d/alsasound</filename>.  While it 
-is possible to use this script, it contains a lot of extraneous detail which 
-isn't needed on an <acronym>LFS</acronym> system. Instead, install the init
+<para>Install the init
 script <filename>/etc/rc.d/init.d/alsa</filename> included in the 
 <xref linkend="intro-important-bootscripts"/> package.</para>
 

Modified: trunk/BOOK/multimedia/libdriv/alsa.xml
===================================================================
--- trunk/BOOK/multimedia/libdriv/alsa.xml	2004-10-11 13:08:57 UTC (rev 2789)
+++ trunk/BOOK/multimedia/libdriv/alsa.xml	2004-10-12 00:44:06 UTC (rev 2790)
@@ -27,13 +27,9 @@
 drivers were included into the main Linux kernel during the 2.5 development series,
 and they are now the "standard" sound drivers in the 2.6 stable kernel.</para>
 
-<para>The following six sections of the book deal with the six separate
-components of <acronym>ALSA</acronym>: the drivers, the libraries, the 
+<para>The following five sections of the book deal with the five separate
+components of <acronym>ALSA</acronym>: the libraries, the 
 utilities, the tools, the firmware  and the <acronym>OSS</acronym> compatibility libraries.
 </para>
 
 </sect1>
-
-
-
-

Modified: trunk/BOOK/multimedia/libdriv/libdriv.xml
===================================================================
--- trunk/BOOK/multimedia/libdriv/libdriv.xml	2004-10-11 13:08:57 UTC (rev 2789)
+++ trunk/BOOK/multimedia/libdriv/libdriv.xml	2004-10-12 00:44:06 UTC (rev 2790)
@@ -16,7 +16,6 @@
 enable it to support certain functionality.</para>
 
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="alsa.xml"/> 
-<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="alsa-driver.xml"/>  
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="alsa-lib.xml"/>  
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="alsa-utils.xml"/>  
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="alsa-tools.xml"/>  




More information about the blfs-book mailing list