| 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.44 2004/12/02 13:02:18 swift Exp $ --> |
2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/alsa-guide.xml,v 1.45 2004/12/02 20:27:35 dertobi123 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> |
| 36 | This guide will show you how to set up the Advanced Linux Sound Architecture |
36 | This 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 |
| 38 | Guide, this guide is supposed to give you more information on this subject. |
38 | Guide, 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.6</version> |
43 | <version>1.5.7</version> |
| 44 | <date>2004-12-02</date> |
44 | <date>2004-12-02</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> |
| 53 | ALSA is the <e>Advanced Linux Sound Architecture</e>, a project dedicated to the |
53 | ALSA is the <e>Advanced Linux Sound Architecture</e>, a project dedicated to the |
| 54 | development of a high-quality Linux sound subsystem. It has replaced OSS |
54 | development 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> |
| … | |
… | |
| 78 | compile with OSS backward compatibility. |
78 | compile with OSS backward compatibility. |
| 79 | </p> |
79 | </p> |
| 80 | |
80 | |
| 81 | </body> |
81 | </body> |
| 82 | </section> |
82 | </section> |
| 83 | <section> |
83 | <section> |
| 84 | <title>Kernel Modules</title> |
84 | <title>Kernel Modules</title> |
| 85 | <body> |
85 | <body> |
| 86 | |
86 | |
| 87 | <p> |
87 | <p> |
| 88 | First of all, before continuing, make sure your kernel has <e>Sound Card |
88 | First of all, before continuing, make sure your kernel has <e>Sound Card |
| 89 | Support</e> enabled. If you used <c>genkernel</c> to build your kernel, then |
89 | Support</e> enabled. If you used <c>genkernel</c> to build your kernel, then |
| 90 | this is automatically true. Otherwise reconfigure your kernel. |
90 | this is automatically true. Otherwise reconfigure your kernel. |
| 91 | </p> |
91 | </p> |
| 92 | |
92 | |
| 93 | <p> |
93 | <warn> |
| 94 | If you use a 2.6 kernel you can skip the rest of this section and continue with |
94 | If 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 |
| 96 | necessary ALSA drivers in it. Of course, don't forget to enable support for the |
96 | necessary ALSA drivers in it. Of course, don't forget to enable support for the |
| 97 | sound card you have when configuring your kernel. |
97 | sound card you have when configuring your kernel. |
| 98 | </p> |
98 | </warn> |
| 99 | |
99 | |
| 100 | <p> |
100 | <p> |
| 101 | Users of 2.4 kernel sources will have to install the necessary ALSA drivers for |
101 | Users of 2.4 kernel sources will have to install the necessary ALSA drivers for |
| 102 | their soundcard. First find out what soundcard you have. An easy trick is to |
102 | their soundcard. First find out what soundcard you have. An easy trick is to |
| 103 | search for "audio" in the output of the <c>lspci</c> command. You can install |
103 | search for "audio" in the output of the <c>lspci</c> command. You can install |
| 104 | it with <c>emerge pciutils</c>. |
104 | it with <c>emerge pciutils</c>. |
| 105 | </p> |
105 | </p> |
| 106 | |
106 | |
| 107 | <pre caption="Finding out the soundcard type"> |
107 | <pre caption="Finding out the soundcard type"> |
| 108 | # <i>lspci | grep -i audio</i> |
108 | # <i>lspci | grep -i audio</i> |
| 109 | Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97 Audio Controller (rev 64). |
109 | Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97 Audio Controller (rev 64). |
| 110 | </pre> |
110 | </pre> |
| 111 | |
111 | |
| 112 | <p> |
112 | <p> |
| 113 | Now go to the <uri link="http://www.alsa-project.org/alsa-doc">ALSA Soundcard |
113 | Now go to the <uri link="http://www.alsa-project.org/alsa-doc">ALSA Soundcard |