PDA

View Full Version : sb live joystick (knoppix 3.3)



raduen
12-14-2003, 10:14 PM
How can i make a joystick work on a sb live.
joystick sidewinder pro (analog)

Stephen
12-15-2003, 01:17 AM
How can i make a joystick work on a sb live.
joystick sidewinder pro (analog)
Assuming that it just uses the sidewinder module like my regular sidewinder then:


# Added by me for Sidewinder Joystick
alias char-major-13 sidewinder
pre-install sidewinder modprobe joydev ; modprobe emu10k1-gp

Needs to be added to the file /etc/modutils/aliases and you have to run update-modules to enter the changes in the /etc/module.conf for the next boot.

Then in the /etc/modules I have:


# Added by me for Sidewinder joystick
gameport
joydev
emu10k1-gp
sidewinder


I do not know if you need the duplicate modules in here but I do not see any errors on boot so the system must like them in there. Reboot and you should have use of the joystick, what it looks like in use:


HappyTux:/home/stephen# lsmod
Module Size Used by Tainted: P
snd-pcm-oss 36708 1 (autoclean)
snd-mixer-oss 11408 0 (autoclean) [snd-pcm-oss]
nvidia 1628672 11 (autoclean)
apm 9256 2 (autoclean)
snd-emu10k1 60692 2
snd-pcm 55776 0 [snd-pcm-oss snd-emu10k1]
snd-timer 14180 0 [snd-pcm]
snd-hwdep 4608 0 [snd-emu10k1]
snd-util-mem 1152 0 [snd-emu10k1]
snd-page-alloc 5392 0 [snd-emu10k1 snd-pcm]
snd-rawmidi 12512 0 [snd-emu10k1]
snd-seq-device 3844 0 [snd-emu10k1 snd-rawmidi]
snd-ac97-codec 35832 0 [snd-emu10k1]
snd 30148 1 [snd-pcm-oss snd-mixer-oss snd-emu10k1 snd-pcm snd-timer snd-hwdep snd-util-mem snd-rawmidi snd-seq-device snd-ac97-codec]
soundcore 3556 6 [snd]
usb-uhci 21708 0 (unused)
usbcore 57504 1 [usb-uhci]
ide-scsi 9008 0
via686a 8192 0
i2c-proc 6256 0 [via686a]
i2c-isa 1196 0 (unused)
i2c-core 12868 0 [via686a i2c-proc i2c-isa]
nls_iso8859-15 3388 0 (unused)
sidewinder 8388 0 (unused)
emu10k1-gp 1224 0 (unused)
joydev 6976 1
gameport 1516 0 [sidewinder emu10k1-gp]
parport_pc 25192 1 (autoclean)
lp 6528 0
parport 24960 1 [parport_pc lp]
tulip 38208 1
crc32 2848 0 [tulip]
autofs4 8500 2
input 3360 0 [sidewinder joydev]

All the modules are included in Knoppix that you should need and the /dev/js* devices that are used should be there as well. To test the joystick and see which buttons are which you should install the joystick package and use the line jstest /dev/js0 you should see output similar to this:


[08:04 PM Sun Dec 14: stephen @ ~]
>$ jstest /dev/js0
Joystick (Microsoft SideWinder GamePad) has 2 axes and 10 buttons. Driver version is 2.1.0.
Testing ... (interrupt to exit)
Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off
Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off
Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off
Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off
Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off
Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off
Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off



If you see output like this then it installed properly and you can open a program like XMMS and actually use it by configuring the joystick plugin to control the functions.

raduen
12-15-2003, 10:37 PM
Thank You Thank You Thank You Thank You
Thank You Thank You Thank You Thank You
Thank You Thank You Thank You Thank You