34 |
Guide, this guide is supposed to give you more information on this subject. |
Guide, this guide is supposed to give you more information on this subject. |
35 |
</abstract> |
</abstract> |
36 |
|
|
37 |
<version>1.3.3</version> |
<version>1.3.4</version> |
38 |
<date>October 9, 2003</date> |
<date>November 23, 2003</date> |
39 |
|
|
40 |
<chapter> |
<chapter> |
41 |
<title>Introduction</title> |
<title>Introduction</title> |
537 |
|
|
538 |
</body> |
</body> |
539 |
</section> |
</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> |
<section> |
582 |
<title>More links..</title> |
<title>More links..</title> |
583 |
<body> |
<body> |