LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   joystick doesn't works: sidewinder ens1370 alsa kernel-2.6.0 (https://www.linuxquestions.org/questions/linux-hardware-18/joystick-doesnt-works-sidewinder-ens1370-alsa-kernel-2-6-0-a-137278/)

claudineimatos 01-21-2004 07:32 PM

joystick doesn't works: sidewinder ens1370 alsa kernel-2.6.0
 
hi,
in first place, sorry about my english.

i'm using kernel 2.6.0 on my gentoo and using alsa sound drivers instead of OSS (which is recommended into the kernel configuration)
well, the sound work's fine except that the second soundcard is detected but can't be configured by the mixer, but that isn't my problem now.
My really problem is that I can't put my joystick to work... I already read joystick.txt (kernel docs), had a look at gentoo.org and google but I can't do it.. my joystick is a Sidewinder Gamepad (the first one) and my soundcard is a Creative ENS1370
I already try to compile the support built-in kernel and as a module but in the both way I can't put the joystick to work.
below have the lines that I put into /etc/modules.conf
alias char-major-13 sidewinder
pre-install sidewinder modprobe joydev ; modprobe snd-ens1370

this modules are loaded at the boot
sidewinder 12800 0
joydev 7936 0
snd_seq_midi 6496 0
snd_cmipci 31096 0
snd_opl3_lib 8960 1 snd_cmipci
snd_hwdep 7200 1 snd_opl3_lib
snd_mpu401_uart 5696 1 snd_cmipci
snd_ens1370 15336 1
snd_rawmidi 19680 3 snd_seq_midi,snd_mpu401_uart,snd_ens1370
gameport 3520 2 sidewinder,snd_ens1370
snd_ak4531_codec 6592 1 snd_ens1370
snd_pcm_oss 47844 0
snd_pcm 83684 3 snd_cmipci,snd_ens1370,snd_pcm_oss
snd_page_alloc 9028 2 snd_ens1370,snd_pcm
snd_mixer_oss 16640 2 snd_pcm_oss


if I try to load sidewinder or joydev with modprobe, the module is loaded sucessfully but when I try to do a "jstest /dev/js0" (or js1, js2,js3) I get the message "jstest: No such device"
I just create the input/event0, input/event1, etc
I really don't know what else to do, so if somebody may know anithing about..

tks in advice,
claudinei matos

misterflibble 02-17-2004 01:14 PM

i may be way off on this, but I think in the new 2.6 kernel the joystick goes under /dev/input/js0 not /dev/js0. You could create a symbolic link named /dev/js0 to /dev/input/js0 for any games that look for it there.


All times are GMT -5. The time now is 04:08 AM.