/[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.6 Revision 1.7
3 3
4<guide link = "/doc/en/alsa-guide.xml"> 4<guide link = "/doc/en/alsa-guide.xml">
5<title>Gentoo Linux ALSA Guide</title> 5<title>Gentoo Linux ALSA Guide</title>
6<author title="Author"><mail link="zu@pandora.be"> 6<author title="Author"><mail link="zu@pandora.be">
7 Vincent Verleye</mail> 7 Vincent Verleye</mail>
8</author> 8</author>
9 9
10<author title="Editor"><mail link="zhen@gentoo.org"> 10<author title="Editor"><mail link="zhen@gentoo.org">
11 John P. Davis</mail> 11 John P. Davis</mail>
12</author> 12</author>
13 13
14<abstract> 14<abstract>
15This guide will show you how to set up the Advanced Linux Sound Architecture (ALSA) on Gentoo Linux. 15This guide will show you how to set up the Advanced Linux Sound Architecture (ALSA) on Gentoo Linux.
16In addition to the Gentoo Linux Desktop Configuration Guide, this guide is supposed to give you more information on this subject. </abstract> 16In addition to the Gentoo Linux Desktop Configuration Guide, this guide is supposed to give you more information on this subject. </abstract>
17 17
18<version>1.1</version> 18<version>1.2</version>
19<date>12 January 2002</date> 19<date>09 February 2003</date>
20 20
21<chapter> 21<chapter>
22<title>Introduction</title> 22<title>Introduction</title>
23<section> 23<section>
24 <title>What is ALSA?</title> 24 <title>What is ALSA?</title>
25<body> 25<body>
26<p> 26<p>
27The Advanced Linux Sound Architecture (ALSA) is a project to improve the Linux sound subsystem by rewriting 27The Advanced Linux Sound Architecture (ALSA) is a project to improve the Linux sound subsystem by rewriting
28large chunks of it. 28large chunks of it.
29It is anticipated that ALSA will make it into Linux kernel 2.6.x (or 3.x.x -- whichever comes first) as it becomes ready. 29It is anticipated that ALSA will make it into Linux kernel 2.6.x (or 3.x.x -- whichever comes first) as it becomes ready.
30</p> 30</p>
31 31
32<p> 32<p>
33ALSA provides audio and MIDI functionality for Linux. 33ALSA provides audio and MIDI functionality for Linux.
34</p> 34</p>
180</section> 180</section>
181<section> 181<section>
182 <title>Configuration of ALSA</title> 182 <title>Configuration of ALSA</title>
183<body> 183<body>
184<p> 184<p>
185Let's start configuring now to get ALSA working properly. 185Let's start configuring now to get ALSA working properly.
186We'll need to edit some files, to let our system know about the freshly installed ALSA modules. 186We'll need to edit some files, to let our system know about the freshly installed ALSA modules.
187</p> 187</p>
188<p> 188<p>
189First file to edit is <path>/etc/modules.d/alsa</path>. 189First file to edit is <path>/etc/modules.d/alsa</path>.
190</p> 190</p>
191<warn> 191<warn>
192There is no need to edit <path>/etc/modules.conf</path>. Instead, always edit files in <path>/etc/modules.d</path>. 192There is no need to edit <path>/etc/modules.conf</path>. Instead, always edit files in <path>/etc/modules.d</path>.
193</warn> 193</warn>
194<p> 194<p>
195Check the ALSA portion <e>at the top of the file</e>. 195Check the ALSA portion <e>at the bottom of the file</e>.
196By adding this line you can specify the max number of soundcards you have (generally, just one). 196By tweaking this line you can specify the max number of soundcards you have (generally, just one).
197</p> 197</p>
198<p> 198<p>
199<pre caption="At the top of /etc/modules.d/alsa"> 199<pre caption="At the top of /etc/modules.d/alsa">
200# Alsa 0.9.X kernel modules' configuration file. 200# Alsa 0.9.X kernel modules' configuration file.
201# $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/alsa-guide.xml,v 1.6 2003/01/28 20:23:38 zhen Exp $ 201# $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/alsa-guide.xml,v 1.7 2003/02/09 23:27:14 zhen Exp $
202 202
203# ALSA portion 203# ALSA portion
204alias char-major-116 snd 204alias char-major-116 snd
205<c>options snd major=116 cards_limit=1</c> 205<c>options snd major=116 cards_limit=1</c>
206# OSS/Free portion 206# OSS/Free portion
207alias char-major-14 soundcore 207alias char-major-14 soundcore
208 208
209## 209##
210## IMPORTANT: 210## IMPORTANT:
211</pre> 211</pre>
212</p> 212</p>
213<p> 213<p>
214Now we'll specify the sounddriver(s) ALSA should use. In the same file, edit like this: 214Now we'll specify the sounddriver(s) ALSA should use. In the same file, edit like this:
215<pre caption="A bit lower in /etc/modules.d/alsa"> 215<pre caption="A bit lower in /etc/modules.d/alsa">
216## and then run `update-modules' command. 216## and then run `update-modules' command.

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20