/[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.20 Revision 1.21
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.20 2003/11/17 15:39:31 swift Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/alsa-guide.xml,v 1.21 2003/11/23 16:30:50 swift 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="Editor"><!-- zhen@gentoo.org --> 16<author title="Editor"><!-- zhen@gentoo.org -->
17 John P. Davis 17 John P. Davis
22<author title="Editor"> 22<author title="Editor">
23 <mail link="bennyc@gentoo.org">Benny Chuang</mail> 23 <mail link="bennyc@gentoo.org">Benny Chuang</mail>
24</author> 24</author>
25<author title="Editor"> 25<author title="Editor">
26 <mail link="blubber@gentoo.org">Tiemo Kieft</mail> 26 <mail link="blubber@gentoo.org">Tiemo Kieft</mail>
27</author> 27</author>
28 28
29<license/> 29<license/>
30 30
31<abstract> 31<abstract>
32This guide will show you how to set up the Advanced Linux Sound Architecture 32This guide will show you how to set up the Advanced Linux Sound Architecture
33(ALSA) on Gentoo Linux. In addition to the Gentoo Linux Desktop Configuration 33(ALSA) on Gentoo Linux. In addition to the Gentoo Linux Desktop Configuration
34Guide, this guide is supposed to give you more information on this subject. 34Guide, this guide is supposed to give you more information on this subject.
35</abstract> 35</abstract>
36 36
37<version>1.3.3</version> 37<version>1.3.4</version>
38<date>October 9, 2003</date> 38<date>November 23, 2003</date>
39 39
40<chapter> 40<chapter>
41<title>Introduction</title> 41<title>Introduction</title>
42<section> 42<section>
43<title>What is ALSA?</title> 43<title>What is ALSA?</title>
44<body> 44<body>
45 45
46<p> 46<p>
47The Advanced Linux Sound Architecture (ALSA) is a project to improve the Linux 47The Advanced Linux Sound Architecture (ALSA) is a project to improve the Linux
48sound subsystem by rewriting large chunks of it. It is anticipated that ALSA 48sound subsystem by rewriting large chunks of it. It is anticipated that ALSA
49will make it into Linux kernel 2.6.x (or 3.x.x -- whichever comes first) as it 49will make it into Linux kernel 2.6.x (or 3.x.x -- whichever comes first) as it
50becomes ready. 50becomes ready.
51</p> 51</p>
52 52
53<p> 53<p>
526<note> 526<note>
527This guide lags behind on the alsa-development. Chances are these bugs 527This guide lags behind on the alsa-development. Chances are these bugs
528are already fixed when you read this. 528are already fixed when you read this.
529</note> 529</note>
530 530
531<ul> 531<ul>
532 <li> 532 <li>
533 If you have <b>lots of noise</b> when using <b>oss</b> emulation, add 533 If you have <b>lots of noise</b> when using <b>oss</b> emulation, add
534 <e>options snd-pcm-oss dsp_map=1</e> to <path>/etc/modules.d/alsa</path> 534 <e>options snd-pcm-oss dsp_map=1</e> to <path>/etc/modules.d/alsa</path>
535 </li> 535 </li>
536</ul> 536</ul>
537 537
538</body> 538</body>
539</section> 539</section>
540<section> 540<section>
541<title>Activating Joystick Support</title>
542<body>
543
544<p>
545If your soundcard has a joystick plug, you might be interested in activating
546joystick support for your soundcard. If so, start by verifying if your soundcard
547driver has a joystick parameter. You can verify this by running <c>modinfo</c>
548against your <path>snd-&lt;your chipset&gt;</path>. For instance, for the
549<c>snd-via82xx</c>:
550</p>
551
552<pre caption="Running modinfo">
553# <i>modinfo snd-via82xx</i>
554filename: /lib/modules/2.4.22-ck2/snd-via82xx.o
555description: "VIA VT82xx audio"
556author: "Jaroslav Kysela &lt;perex@suse.cz&gt;"
557license: "GPL"
558parm: index int array (min = 1, max = 8), description "Index value for VIA 82xx bridge."
559parm: id string array (min = 1, max = 8), description "ID string for VIA 82xx bridge."
560parm: enable int array (min = 1, max = 8), description "Enable audio part of VIA 82xx bridge."
561parm: mpu_port long array (min = 1, max = 8), description "MPU-401 port. (VT82C686x only)"
562<i>parm: joystick int array (min = 1, max = 8), description "Enable joystick. (VT82C686x only)"</i>
563parm: ac97_clock int array (min = 1, max = 8), description "AC'97 codec clock (default 48000Hz)."
564parm: dxs_support int array (min = 1, max = 8), description "Support for DXS channels
565 (0 = auto, 1 = enable, 2 = disable, 3 = 48k only, 4 = no VRA)"
566</pre>
567
568<p>
569If it has the <c>joystick</c> parameter, then append <c>joystick=1</c> to your
570<c>options</c> line in <path>/etc/modules.d/alsa</path>. For instance, for the
571<c>snd-via82xx</c>:
572</p>
573
574<pre caption="Adding the joystick parameter">
575alias snd-card-0 snd-via82xx
576options snd-via82xx joystick=1
577</pre>
578
579</body>
580</section>
581<section>
541<title>More links..</title> 582<title>More links..</title>
542<body> 583<body>
543 584
544<p> 585<p>
545You could check these for additional info: 586You could check these for additional info:
546</p> 587</p>
547 588
548<ul> 589<ul>
549 <li> 590 <li>
550 <uri link="http://www.gentoo.org/doc/en/desktop.xml">The Gentoo Linux 591 <uri link="http://www.gentoo.org/doc/en/desktop.xml">The Gentoo Linux
551 Desktop Configuration Guide</uri> 592 Desktop Configuration Guide</uri>
552 </li> 593 </li>
553 <li> 594 <li>
554 <uri link="http://www.alsa-project.org">ALSA Project Homepage</uri> 595 <uri link="http://www.alsa-project.org">ALSA Project Homepage</uri>
555 </li> 596 </li>

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

  ViewVC Help
Powered by ViewVC 1.1.20