/[gentoo]/xml/htdocs/doc/en/alsa-guide.xml
Gentoo

Diff of /xml/htdocs/doc/en/alsa-guide.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.39 Revision 1.40
1<?xml version='1.0' encoding="UTF-8"?> 1<?xml version='1.0' encoding="UTF-8"?>
2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/alsa-guide.xml,v 1.39 2004/08/13 18:01:14 cam Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/alsa-guide.xml,v 1.40 2004/08/22 15:43:28 neysx Exp $ -->
3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
4 4
5<guide link = "/doc/en/alsa-guide.xml"> 5<guide link = "/doc/en/alsa-guide.xml">
6<title>Gentoo Linux ALSA Guide</title> 6<title>Gentoo Linux ALSA Guide</title>
7<author title="Author"> 7<author title="Author">
8 <mail link="zu@pandora.be">Vincent Verleye</mail> 8 <mail link="zu@pandora.be">Vincent Verleye</mail>
9</author> 9</author>
10<author title="Author"> 10<author title="Author">
11 <mail link="g2boojum@gentoo.org">Grant Goodyear</mail> 11 <mail link="g2boojum@gentoo.org">Grant Goodyear</mail>
12</author> 12</author>
13<author title="Author"> 13<author title="Author">
14 <mail link="agenkin@gentoo.org">Arcady Genkin</mail> 14 <mail link="agenkin@gentoo.org">Arcady Genkin</mail>
15</author> 15</author>
16<author title="Author"> 16<author title="Author">
17 <mail link="eradicator@gentoo.org">Jeremy Huddleston</mail> 17 <mail link="eradicator@gentoo.org">Jeremy Huddleston</mail>
28<author title="Editor"> 28<author title="Editor">
29 <mail link="blubber@gentoo.org">Tiemo Kieft</mail> 29 <mail link="blubber@gentoo.org">Tiemo Kieft</mail>
30</author> 30</author>
31<author title="Editor"> 31<author title="Editor">
32 <mail link="erwin@gentoo.org">Erwin</mail> 32 <mail link="erwin@gentoo.org">Erwin</mail>
33</author> 33</author>
34 34
35<abstract> 35<abstract>
36This guide will show you how to set up the Advanced Linux Sound Architecture 36This guide will show you how to set up the Advanced Linux Sound Architecture
37(ALSA) on Gentoo Linux. In addition to the Gentoo Linux Desktop Configuration 37(ALSA) on Gentoo Linux. In addition to the Gentoo Linux Desktop Configuration
38Guide, this guide is supposed to give you more information on this subject. 38Guide, this guide is supposed to give you more information on this subject.
39</abstract> 39</abstract>
40 40
41<license/> 41<license/>
42 42
43<version>1.5.2</version> 43<version>1.5.3</version>
44<date>August 13, 2004</date> 44<date>August 22, 2004</date>
45 45
46<chapter> 46<chapter>
47<title>The Advanced Linux Sound Architecture</title> 47<title>The Advanced Linux Sound Architecture</title>
48<section> 48<section>
49<title>What is ALSA?</title> 49<title>What is ALSA?</title>
50<body> 50<body>
51 51
52<p> 52<p>
53ALSA is the <e>Advanced Linux Sound Architecture</e>, a project dedicated to the 53ALSA is the <e>Advanced Linux Sound Architecture</e>, a project dedicated to the
54development of a high-quality Linux sound subsystem. It has replaced OSS 54development of a high-quality Linux sound subsystem. It has replaced OSS
55(<e>Open Sound System</e>) as default sound subsystem in the 2.6 kernel series. 55(<e>Open Sound System</e>) as default sound subsystem in the 2.6 kernel series.
56</p> 56</p>
57 57
58<p> 58<p>
59ALSA provides efficient support for all types of audio interfaces, is fully 59ALSA provides efficient support for all types of audio interfaces, is fully
88First of all, before continuing, make sure your kernel has <e>Sound Card 88First of all, before continuing, make sure your kernel has <e>Sound Card
89Support</e> enabled. If you used <c>genkernel</c> to build your kernel, then 89Support</e> enabled. If you used <c>genkernel</c> to build your kernel, then
90this is automatically true. Otherwise reconfigure your kernel. 90this is automatically true. Otherwise reconfigure your kernel.
91</p> 91</p>
92 92
93<p> 93<p>
94If you use a 2.6 kernel you can skip the rest of this section and continue with 94If you use a 2.6 kernel you can skip the rest of this section and continue with
95<uri link="#alsa-utils">Installing the ALSA Utils</uri> as 2.6 already has the 95<uri link="#alsa-utils">Installing the ALSA Utils</uri> as 2.6 already has the
96necessary ALSA drivers in it. Of course, don't forget to enable support for the 96necessary ALSA drivers in it. Of course, don't forget to enable support for the
97sound card you have when configuring your kernel. 97sound card you have when configuring your kernel.
98</p> 98</p>
99 99
100<p> 100<p>
101Users of 2.4 kernel sources will have to install the necessary ALSA drivers for 101Users of 2.4 kernel sources will have to install the necessary ALSA drivers for
102their soundcard. First find out what soundcard you have. An easy trick is to 102their soundcard. First find out what soundcard you have. An easy trick is to
103search for "audio" in <path>/proc/pci</path>: 103search for "audio" in the output of the <c>lspci</c> command. You can install
104it with <c>emerge pciutils</c>.
104</p> 105</p>
105 106
106<pre caption="Finding out the soundcard type"> 107<pre caption="Finding out the soundcard type">
107# <i>grep -i audio /proc/pci</i> 108# <i>lspci | grep -i audio</i>
108Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97 Audio 109Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97 Audio Controller (rev 64).
109Controller (rev 64).
110</pre> 110</pre>
111 111
112<p> 112<p>
113Now go to the <uri link="http://www.alsa-project.org/alsa-doc">ALSA Soundcard 113Now go to the <uri link="http://www.alsa-project.org/alsa-doc">ALSA Soundcard
114Matrix</uri> and search for your soundcard. In the above example you should go 114Matrix</uri> and search for your soundcard. In the above example you should go
115to the "VIA" manufacturer. You will receive a table with the known chipsets of 115to the "VIA" manufacturer. You will receive a table with the known chipsets of
116that vendor. The chipset in the above example is "via82c686"; the "Details" link 116that vendor. The chipset in the above example is "via82c686"; the "Details" link
117then informs me that the driver is called <path>via82xx</path>. 117then informs me that the driver is called <path>via82xx</path>.
118</p> 118</p>
119 119
120<p> 120<p>
121Based on this information we can now install the <c>alsa-driver</c> for our 121Based on this information we can now install the <c>alsa-driver</c> for our
122soundcard. First edit <path>/etc/make.conf</path> and <e>add</e> a new option 122soundcard. First edit <path>/etc/make.conf</path> and <e>add</e> a new option
123called ALSA_CARDS to it. Inside this variable you declare the soundcard driver 123called ALSA_CARDS to it. Inside this variable you declare the soundcard driver
124you want to use: 124you want to use:

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.40

  ViewVC Help
Powered by ViewVC 1.1.20