| 1 | <?xml version='1.0'?> |
1 | <?xml version='1.0'?> |
| 2 | <?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?> |
2 | <?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?> |
| 3 | |
3 | |
| 4 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
4 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
| 5 | |
5 | |
| 6 | <guide> |
6 | <guide link = "/doc/en/alsa-guide.xml"> |
| 7 | <title>Gentoo Linux ALSA Guide</title> |
7 | <title>Gentoo Linux ALSA Guide</title> |
| 8 | <author title="Author"><mail link="zu@pandora.be"> |
8 | <author title="Author"><mail link="zu@pandora.be"> |
| 9 | Vincent Verleye</mail> |
9 | Vincent Verleye</mail> |
| 10 | </author> |
10 | </author> |
| 11 | |
11 | |
| 12 | <author title="Editor"><mail link="zhen@gentoo.org"> |
12 | <author title="Editor"><mail link="zhen@gentoo.org"> |
| 13 | John P. Davis</mail> |
13 | John P. Davis</mail> |
| 14 | </author> |
14 | </author> |
| 15 | |
15 | |
| 16 | <abstract> |
16 | <abstract> |
| 17 | This guide will show you how to set up the Advanced Linux Sound Architecture (ALSA) on Gentoo Linux. |
17 | This guide will show you how to set up the Advanced Linux Sound Architecture (ALSA) on Gentoo Linux. |
| 18 | In addition to the Gentoo Linux Desktop Configuration Guide, this guide is supposed to give you more information on this subject. </abstract> |
18 | In addition to the Gentoo Linux Desktop Configuration Guide, this guide is supposed to give you more information on this subject. </abstract> |
| 19 | |
19 | |
| 20 | <version>1.0</version> |
20 | <version>1.0</version> |
| 21 | <date>30 Oct 2002</date> |
21 | <date>30 Oct 2002</date> |
| … | |
… | |
| 188 | We'll need to edit some files, to let our system know about the freshly installed ALSA modules. |
188 | We'll need to edit some files, to let our system know about the freshly installed ALSA modules. |
| 189 | </p> |
189 | </p> |
| 190 | <p> |
190 | <p> |
| 191 | First file to edit is <path>/etc/modules.d/alsa</path>. |
191 | First file to edit is <path>/etc/modules.d/alsa</path>. |
| 192 | </p> |
192 | </p> |
| 193 | <warn> |
193 | <warn> |
| 194 | There is no need to edit <path>/etc/modules.conf</path>. Instead, always edit files in <path>/etc/modules.d</path>. |
194 | There is no need to edit <path>/etc/modules.conf</path>. Instead, always edit files in <path>/etc/modules.d</path>. |
| 195 | </warn> |
195 | </warn> |
| 196 | <p> |
196 | <p> |
| 197 | Check the ALSA portion <e>at the top of the file</e>. |
197 | Check the ALSA portion <e>at the top of the file</e>. |
| 198 | By adding this line you can specify the max number of soundcards you have (generally, just one). |
198 | By adding this line you can specify the max number of soundcards you have (generally, just one). |
| 199 | </p> |
199 | </p> |
| 200 | <p> |
200 | <p> |
| 201 | <pre caption="At the top of /etc/modules.d/alsa"> |
201 | <pre caption="At the top of /etc/modules.d/alsa"> |
| 202 | # Alsa 0.9.X kernel modules' configuration file. |
202 | # Alsa 0.9.X kernel modules' configuration file. |
| 203 | # $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/alsa-guide.xml,v 1.1 2002/11/09 18:47:44 drobbins Exp $ |
203 | # $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/alsa-guide.xml,v 1.2 2002/11/15 18:39:34 zhen Exp $ |
| 204 | |
204 | |
| 205 | # ALSA portion |
205 | # ALSA portion |
| 206 | alias char-major-116 snd |
206 | alias char-major-116 snd |
| 207 | <c>options snd snd_major=116 snd_cards_limit=1</c> |
207 | <c>options snd snd_major=116 snd_cards_limit=1</c> |
| 208 | # OSS/Free portion |
208 | # OSS/Free portion |
| 209 | alias char-major-14 soundcore |
209 | alias char-major-14 soundcore |
| 210 | |
210 | |
| 211 | ## |
211 | ## |
| 212 | ## IMPORTANT: |
212 | ## IMPORTANT: |
| 213 | </pre> |
213 | </pre> |
| 214 | </p> |
214 | </p> |
| 215 | <p> |
215 | <p> |
| 216 | Now we'll specify the sounddriver(s) ALSA should use. In the same file, edit like this: |
216 | Now we'll specify the sounddriver(s) ALSA should use. In the same file, edit like this: |
| 217 | <pre caption="A bit lower in /etc/modules.d/alsa"> |
217 | <pre caption="A bit lower in /etc/modules.d/alsa"> |
| 218 | ## and then run `update-modules' command. |
218 | ## and then run `update-modules' command. |