| 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"> |
| … | |
… | |
| 32 | This guide will show you how to set up the Advanced Linux Sound Architecture |
32 | This 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 |
| 34 | Guide, this guide is supposed to give you more information on this subject. |
34 | Guide, 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> |
| … | |
… | |
| 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> |
|
|
545 | If your soundcard has a joystick plug, you might be interested in activating |
|
|
546 | joystick support for your soundcard. If so, start by verifying if your soundcard |
|
|
547 | driver has a joystick parameter. You can verify this by running <c>modinfo</c> |
|
|
548 | against your <path>snd-<your chipset></path>. For instance, for the |
|
|
549 | <c>snd-via82xx</c>: |
|
|
550 | </p> |
|
|
551 | |
|
|
552 | <pre caption="Running modinfo"> |
|
|
553 | # <i>modinfo snd-via82xx</i> |
|
|
554 | filename: /lib/modules/2.4.22-ck2/snd-via82xx.o |
|
|
555 | description: "VIA VT82xx audio" |
|
|
556 | author: "Jaroslav Kysela <perex@suse.cz>" |
|
|
557 | license: "GPL" |
|
|
558 | parm: index int array (min = 1, max = 8), description "Index value for VIA 82xx bridge." |
|
|
559 | parm: id string array (min = 1, max = 8), description "ID string for VIA 82xx bridge." |
|
|
560 | parm: enable int array (min = 1, max = 8), description "Enable audio part of VIA 82xx bridge." |
|
|
561 | parm: 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> |
|
|
563 | parm: ac97_clock int array (min = 1, max = 8), description "AC'97 codec clock (default 48000Hz)." |
|
|
564 | parm: 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> |
|
|
569 | If 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"> |
|
|
575 | alias snd-card-0 snd-via82xx |
|
|
576 | options 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> |
| 545 | You could check these for additional info: |
586 | You could check these for additional info: |