I'm having some troubles getting my joystick (MS Sidewinder 3D pro) to work under ALSA. Info:
- Kernel is 2.4.22
- Alsa-Driver is 0.9.7
- Soundcard is Hoontech Soundtrack i-Phone Digital XG (YMF754)
- Joystick is MS Sidewinder 3D pro
- Soundcard is known good (just tried it in a Windows box)
- Joystick is known good (just tried it in a Windows box)
- The card plays sound just fine.
- I assumed that the right driver for the gameport on this card is ns558. Please chastize me if it is not. :-)
At boot, lsmod says:
Module Size Used by Not tainted
snd-opl3-synth 13124 0 (unused)
snd-seq-midi-emul 7220 0 [snd-opl3-synth]
snd-seq-instr 8420 0 [snd-opl3-synth]
snd-seq 50768 0 [snd-opl3-synth snd-seq-midi-emul snd-seq-instr]
snd-ainstr-fm 3096 0 [snd-opl3-synth]
snd-ymfpci 51072 0
snd-pcm 89216 0 [snd-ymfpci]
snd-opl3-lib 9380 0 [snd-opl3-synth snd-ymfpci]
snd-timer 20836 0 [snd-seq snd-pcm snd-opl3-lib]
snd-hwdep 7200 0 [snd-opl3-lib]
gameport 3492 0 [snd-ymfpci]
snd-ac97-codec 51416 0 [snd-ymfpci]
snd-mpu401-uart 5456 0 [snd-ymfpci]
snd-rawmidi 19808 0 [snd-mpu401-uart]
snd-seq-device 6320 0 [snd-opl3-synth snd-seq snd-opl3-lib snd-rawmidi]
snd 46404 0 [snd-opl3-synth snd-seq-instr snd-seq snd-ymfpci snd-pcm snd-opl3-lib snd-timer snd-hwdep snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]
snd-page-alloc 10196 0 [snd-ymfpci snd-pcm]
So, the gameport module seems to be loaded. Trying to load joydev and sidewinder works, but the joystick still doesn't work. Trying to load ns558 gives:
10 (case) /home/matt# modprobe ns558
/lib/modules/2.4.22/kernel/drivers/char/joystick/ns558.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.22/kernel/drivers/char/joystick/ns558.o: insmod /lib/modules/2.4.22/kernel/drivers/char/joystick/ns558.o failed
/lib/modules/2.4.22/kernel/drivers/char/joystick/ns558.o: insmod ns558 failed
Looks to me like the port is turned off, but /etc/asound.state disagrees:
control.57 { comment.access 'read write' comment.type BOOLEAN iface CARD name Joystick value true } control.58 { comment.access 'read write' comment.type ENUMERATED comment.item.0 'port 0x201' comment.item.1 'port 0x202' comment.item.2 'port 0x204' comment.item.3 'port 0x205' comment.item.4 'port 0x30c0' iface CARD name 'Joystick Address' value 'port 0x201' }
With all this modprobing, I don't get any dmesg/syslog info, and jstest /dev/js0 reports: jstest: No such device
I had a thought that ns558 might assume an address of 0x200, but I can't find a way to tell it 0x201.
Any ideas? -- I have learned much more about Microsoft by using the Linux operating system than I ever would have done by using Windows. -- Neal Stephenson, In The Beginning Was The Command Line ~~ Matt Caron ~~
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user