/[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.78 Revision 1.79
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.78 2007/05/06 23:27:46 nightmorph Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/alsa-guide.xml,v 1.79 2007/05/07 07:08:24 nightmorph Exp $ -->
3 3
4<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 4<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
5 5
6<guide link="/doc/en/alsa-guide.xml"> 6<guide link="/doc/en/alsa-guide.xml">
7<title>Gentoo Linux ALSA Guide</title> 7<title>Gentoo Linux ALSA Guide</title>
22 22
23<!-- The content of this document is licensed under the CC-BY-SA license --> 23<!-- The content of this document is licensed under the CC-BY-SA license -->
24<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 24<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
25<license/> 25<license/>
26 26
27<version>2.21</version> 27<version>2.22</version>
28<date>2007-05-06</date> 28<date>2007-05-07</date>
29 29
30<chapter> 30<chapter>
31<title>Introduction</title> 31<title>Introduction</title>
32<section> 32<section>
33<title>What is ALSA?</title> 33<title>What is ALSA?</title>
76The methods shown below are mutually exclusive. You cannot have ALSA compiled 76The methods shown below are mutually exclusive. You cannot have ALSA compiled
77in your kernel and use <c>media-sound/alsa-driver</c>. It <e>will</e> fail. 77in your kernel and use <c>media-sound/alsa-driver</c>. It <e>will</e> fail.
78</warn> 78</warn>
79 79
80<p> 80<p>
81The two options are : 81The two options are:
82</p> 82</p>
83 83
84<ol> 84<ol>
85 <li> 85 <li>
86 Use ALSA provided by your kernel. This is the preferred/recommended method. 86 Use ALSA provided by your kernel. This is the preferred/recommended method.
98before finally deciding on one. 98before finally deciding on one.
99</p> 99</p>
100 100
101<p> 101<p>
102If you were to use ALSA provided by the kernel, the following are the pros and 102If you were to use ALSA provided by the kernel, the following are the pros and
103cons : 103cons:
104</p> 104</p>
105 105
106<table> 106<table>
107<tr> 107<tr>
108 <th>Kernel ALSA</th> 108 <th>Kernel ALSA</th>
235<section id="kernel"> 235<section id="kernel">
236<title>Using ALSA provided by your Kernel</title> 236<title>Using ALSA provided by your Kernel</title>
237<body> 237<body>
238 238
239<p> 239<p>
240If you're a person who likes to keep things simple like I do, then this is 240If you're a person who likes to keep things simple, then this is the way to go.
241the way to go.
242</p> 241</p>
243 242
244<note> 243<note>
245Since the 2005.0 release, Gentoo Linux uses 2.6 as the default kernel. Unless 244Since the 2005.0 release, Gentoo Linux uses 2.6 as the default kernel. Please
246you are specifically using the 2.4 profile, <c>gentoo-sources</c> will be a 245check that your kernel is a 2.6 series kernel. This method will <e>not</e> work
2472.6 kernel on <e>most</e> architectures. Please check that your kernel is a 246on a 2.4 kernel.
2482.6 series kernel. This method will <e>not</e> work on a 2.4 kernel.
249</note> 247</note>
250 248
251<p> 249<p>
252Let us now configure the kernel to enable ALSA. 250Let us now configure the kernel to enable ALSA.
253</p> 251</p>
519<title>Audio Group</title> 517<title>Audio Group</title>
520<body> 518<body>
521 519
522<p> 520<p>
523Before we move on to testing, there's one last <e>important</e> thing that needs 521Before we move on to testing, there's one last <e>important</e> thing that needs
524to be setup. Rule of thumb in a *nix OS : Do not run as root unless needed. 522to be setup. Rule of thumb in a *nix OS: Do not run as root unless needed.
525This applies here as well ;) How? Well, most of the times you should be logged 523This applies here as well ;) How? Well, most of the times you should be logged
526in as a user and would like to listen to music or access your soundcard. For 524in as a user and would like to listen to music or access your soundcard. For
527that to happen, you need to be in the "audio" group. At this point, we'll add 525that to happen, you need to be in the "audio" group. At this point, we'll add
528users to the audio group, so that they won't have any issues when they want to 526users to the audio group, so that they won't have any issues when they want to
529access sound devices. We'll use <c>gpasswd</c> here and you need to be logged in 527access sound devices. We'll use <c>gpasswd</c> here and you need to be logged in
705picked up your sound card fine.)</comment> 703picked up your sound card fine.)</comment>
706# <i>cat /proc/asound/cards</i> 704# <i>cat /proc/asound/cards</i>
7070 [Live ]: EMU10K1 - Sound Blaster Live! 7050 [Live ]: EMU10K1 - Sound Blaster Live!
708 Sound Blaster Live! (rev.6, serial:0x80271102) at 0xb800, irq 11 706 Sound Blaster Live! (rev.6, serial:0x80271102) at 0xb800, irq 11
709 707
710<comment>(If you run ALSA off the kernel like I do and wonder how far behind
711you are from alsa-driver, this displays current running ALSA version)</comment> 708<comment>(This displays the current running ALSA version)</comment>
712# <i>cat /proc/asound/version</i> 709# <i>cat /proc/asound/version</i>
713Advanced Linux Sound Architecture Driver Version 1.0.8 (Thu Jan 13 09:39:32 2005 UTC). 710Advanced Linux Sound Architecture Driver Version 1.0.8 (Thu Jan 13 09:39:32 2005 UTC).
714 711
715<comment>(ALSA OSS emulation details)</comment> 712<comment>(ALSA OSS emulation details)</comment>
716# <i>cat /proc/asound/oss/sndstat</i> 713# <i>cat /proc/asound/oss/sndstat</i>

Legend:
Removed from v.1.78  
changed lines
  Added in v.1.79

  ViewVC Help
Powered by ViewVC 1.1.20