/[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.2 Revision 1.7
1<?xml version='1.0'?> 1<?xml version='1.0' encoding="UTF-8"?>
2<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
3
4<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
5 3
6<guide link = "/doc/en/alsa-guide.xml"> 4<guide link = "/doc/en/alsa-guide.xml">
7<title>Gentoo Linux ALSA Guide</title> 5<title>Gentoo Linux ALSA Guide</title>
8<author title="Author"><mail link="zu@pandora.be"> 6<author title="Author"><mail link="zu@pandora.be">
15 13
16<abstract> 14<abstract>
17This 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.
18In 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>
19 17
20<version>1.0</version> 18<version>1.2</version>
21<date>30 Oct 2002</date> 19<date>09 February 2003</date>
22 20
23<chapter> 21<chapter>
24<title>Introduction</title> 22<title>Introduction</title>
25<section> 23<section>
26 <title>What is ALSA?</title> 24 <title>What is ALSA?</title>
100<p>If you already have a working kernel configuration, make sure you remove all sound drivers (except for Sound Card Support). 98<p>If you already have a working kernel configuration, make sure you remove all sound drivers (except for Sound Card Support).
101If you wish to do this without having to reboot, you could do like this: 99If you wish to do this without having to reboot, you could do like this:
102</p> 100</p>
103<pre> 101<pre>
104# <c>cd /usr/src/linux</c> 102# <c>cd /usr/src/linux</c>
105# <c>cp .config ~</c> 103# <c>cp .config ~/</c>
106# <c>make mrproper</c> 104# <c>make mrproper</c>
107# <c>cp ~/.config .</c> 105# <c>cp ~/.config .</c>
108# <c>make menuconfig</c> 106# <c>make menuconfig</c>
109</pre> 107</pre>
110<p> 108<p>
138<body> 136<body>
139 137
140<p> 138<p>
141Now it's time to install the ALSA drivers for your soundcard(s). If your soundcard is PCI, you can find out the name 139Now it's time to install the ALSA drivers for your soundcard(s). If your soundcard is PCI, you can find out the name
142and type of your soundcard by looking at the output of /proc/pci 140and type of your soundcard by looking at the output of /proc/pci
143<pre>#<c>cat /proc/pci | grep audio</c></pre> 141<pre>#<c>grep audio /proc/pci</c></pre>
144</p> 142</p>
145 143
146<p> 144<p>
147<warn> 145<warn>
148If you had a previous sound setup and there are still non-ALSA sound modules loaded, unload them <e>now</e>. 146If you had a previous sound setup and there are still non-ALSA sound modules loaded, unload them <e>now</e>.
192</p> 190</p>
193<warn> 191<warn>
194There 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>.
195</warn> 193</warn>
196<p> 194<p>
197Check the ALSA portion <e>at the top of the file</e>. 195Check the ALSA portion <e>at the bottom of the file</e>.
198By 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).
199</p> 197</p>
200<p> 198<p>
201<pre caption="At the top of /etc/modules.d/alsa"> 199<pre caption="At the top of /etc/modules.d/alsa">
202# Alsa 0.9.X kernel modules' configuration file. 200# Alsa 0.9.X kernel modules' configuration file.
203# $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/alsa-guide.xml,v 1.2 2002/11/15 18:39:34 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 $
204 202
205# ALSA portion 203# ALSA portion
206alias char-major-116 snd 204alias char-major-116 snd
207<c>options snd snd_major=116 snd_cards_limit=1</c> 205<c>options snd major=116 cards_limit=1</c>
208# OSS/Free portion 206# OSS/Free portion
209alias char-major-14 soundcore 207alias char-major-14 soundcore
210 208
211## 209##
212## IMPORTANT: 210## IMPORTANT:
229## 227##
230</pre> 228</pre>
231</p> 229</p>
232<p> 230<p>
233<note> 231<note>
234If you have more than one soundcard, adjust the <c>snd_cards_limit</c> value and add more snd-card aliases to the file. 232If you have more than one soundcard, adjust the <c>cards_limit</c> value and add more snd-card aliases to the file.
235I don't have experience with this, but you can find examples for configurations with two or more soundcards in 233I don't have experience with this, but you can find examples for configurations with two or more soundcards in
236<uri link="http://www.alsa-project.org/alsa-doc/alsa-howto/c1660.htm">Chapter 6</uri> 234<uri link="http://www.alsa-project.org/alsa-doc/alsa-howto/c1660.htm">Chapter 6</uri>
237of the <uri link="http://www.alsa-project.org/alsa-doc/alsa-howto/alsa-howto.html">ALSA Howto</uri>. 235of the <uri link="http://www.alsa-project.org/alsa-doc/alsa-howto/alsa-howto.html">ALSA Howto</uri>.
238</note> 236</note>
239</p> 237</p>

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

  ViewVC Help
Powered by ViewVC 1.1.20