Click to See Complete Forum and Search --> : "Dual" Joystick Module Loading Problem...


SimGo
07-16-2003, 12:26 PM
Hi

I have two joysticks connected upto my system at all times, and they both just happen to be from the Microsoft Sidewinder Series with USB Connector.

I want both of them to work! (duh). Here's what I have tried:

USB Drivers Already Loaded:
modprobe joydev sidewinder
jstest /dev/js0 - WORKS!
jstest /dev/js1 - FAILURE!
( CLI Msg. - jstest: No such device )

Hmm, Why ain't Joystick Two Working? Under /dev/js0, only one of the Joysticks Respond. Now heres the catch, during testing, somehow I got both to show up and worked 100%!!!! But since I reset the computer to see if I can replicate the results, I can not get it to work again. Fluke? I hope not. Is there a special command I am missing? Anyways, throw me your ideas, be glad to test and thanks for your time!

Mark

SimGo
07-16-2003, 12:41 PM
Below is the Output of my 'lsmod' if it is of any use or help for you guys!


Module Size Used by Not tainted
sidewinder 8340 0 (unused)
joydev 7296 1
gameport 1324 0 [sidewinder]
autofs4 8724 1 (autoclean)
af_packet 13480 0 (autoclean)
nls_iso8859-1 2876 0 (autoclean)
nls_cp437 4380 0 (autoclean)
agpgart 34752 0 (unused)
awe_wave 155520 0 (unused)
sb 7764 0
sb_lib 33358 0 [sb]
uart401 6020 0 [sb_lib]
sound 54572 0 [awe_wave sb_lib uart401]
soundcore 3396 6 [sb_lib sound]
tulip 38592 1
parport_pc 24808 0
parport 22528 0 [parport_pc]
serial 51908 0 (autoclean)
hid 19204 0 (unused)
input 3200 0 [sidewinder joydev hid]
usb-uhci 21868 0 (unused)
usbcore 57120 1 [hid usb-uhci]
apm 9644 1
rtc 6940 0 (autoclean)
cloop 5456 1

mdwatts
07-16-2003, 04:06 PM
I have the same Force Feedback Sidewinder USB though I have yet to set it up in Linux.

Have you tried any of the kernel source documentation for joysticks? I've researched myself for the Sidewinder and found all sorts of good tutorials by searching Google for Linux.

Some explain how to setup the devices and do the testing etc.

Does /dev/js1 actually exist? If not, you may need to create manually using mknod (man mknod).

SimGo
07-17-2003, 04:31 PM
Ok, to begin with, I have checked to see if the devices are actually present. And yes, I have /dev/input/js(0-4) and simlinks in /dev/js(0-4) as well.

As far as working, I can always get one of the two joysticks to work, but am having trouble to get them both to load up at the same time. akka, joystick 1 on /dev/js0 and joystick 2 on /dev/js1.

As far as docs, no go. Unlesss I misseed over something, nothing seems to pertain to hooking up two joysticks, or two sidewinders to be more exact.

mdwatts
07-17-2003, 04:41 PM
I wonder if adding something like

alias /dev/js0 <module>

alias /dev/js1 <module>

to /etc/modules.conf would work.

Or use the correct char-major-## or block-major-## device instead of /dev/js0 and /dev/js1