LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-01-2004, 01:20 AM   #1
MrBiggZ
LQ Newbie
 
Registered: Feb 2004
Location: New York
Distribution: Mandrake 9.2
Posts: 8

Rep: Reputation: 0
Angry usb joystick


Greetings ..

I'm trying to get this MS Sidewinder usb joystick to work .. not having much luck at it.

If I do a lsmod | grep j I get this:

joydev 7136 0
input 5696 0 [sidewinder usbmouse keybdev mousedev hid joydev]
jbd 39296 1 [ext3]

If I do a ls -l /dev | grep j I get this:

lr-xr-xr-x 1 root root 9 Jan 31 19:52 js0 -> input/js0
lr-xr-xr-x 1 root root 9 Feb 1 00:53 js1 -> input/js1
lr-xr-xr-x 1 root root 9 Feb 1 00:53 js2 -> input/js2
lr-xr-xr-x 1 root root 9 Feb 1 00:53 js3 -> input/js3

what I don't see is the /dev/joydev file. Although if I do a locate joy I get an oodle of stuff for it!

In my modules.conf I have this for the joystick:

probeall usb-interface usb-ohci usb-uhci ehci-hcd joydev

and in my modules file I have this:

scsi_hostadapter
hid
emu10k1-gp
joydev
sidewinder

If I do a dmesg | grep usb I belive it's there .. I think it's there:

usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-ohci.c: USB OHCI at membase 0xf0a4c000, IRQ 5
usb-ohci.c: usb-00:02.3, Silicon Integrated Systems [SiS] USB 1.0 Controller (#2)
usb.c: new USB bus registered, assigned bus number 1
usb-ohci.c: USB OHCI at membase 0xf0a4e000, IRQ 12
usb-ohci.c: usb-00:02.2, Silicon Integrated Systems [SiS] USB 1.0 Controller
usb.c: new USB bus registered, assigned bus number 2
usb-uhci.c: $Revision: 1.275 $ time 23:43:43 Jan 10 2004
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: USB UHCI at I/O 0xc800, IRQ 11
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 3
usb-uhci.c: USB UHCI at I/O 0xc400, IRQ 11
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 4
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usb.c: new USB bus registered, assigned bus number 5
usbdevfs: remount parameter error
usb.c: registered new driver usblp
printer.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x043D pid 0x0014
usb.c: USB device 2 (vend/prod 0x46d/0xc00c) is not claimed by any active driver.
usb.c: USB device 3 (vend/prod 0x562/0x5) is not claimed by any active driver.
usb.c: registered new driver hiddev
usb.c: registered new driver hid
input: USB HID v1.10 Mouse [Logitech USB Mouse] on usb3:2.0
usb.c: registered new driver usbmouse
usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
usb.c: registered new driver snd-usb-audio
usb-uhci.c: interrupt, status 2, frame# 1504
usb.c: registered new driver audio

So ... I'm at a loss. More confused then anything else. If somebody could help me out here I'd really appreciate it!! I'm a bit green at the whole thing .. so please spell it out for me!

Thanks in advance!

MrBiggZ
 
Old 02-01-2004, 03:49 AM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Re: usb joystick

Quote:
Originally posted by MrBiggZ
Greetings ..

I'm trying to get this MS Sidewinder usb joystick to work .. not having much luck at it.

If I do a lsmod | grep j I get this:

joydev 7136 0
input 5696 0 [sidewinder usbmouse keybdev mousedev hid joydev]
jbd 39296 1 [ext3]

If I do a ls -l /dev | grep j I get this:

lr-xr-xr-x 1 root root 9 Jan 31 19:52 js0 -> input/js0
lr-xr-xr-x 1 root root 9 Feb 1 00:53 js1 -> input/js1
lr-xr-xr-x 1 root root 9 Feb 1 00:53 js2 -> input/js2
lr-xr-xr-x 1 root root 9 Feb 1 00:53 js3 -> input/js3

what I don't see is the /dev/joydev file. Although if I do a locate joy I get an oodle of stuff for it!

In my modules.conf I have this for the joystick:

probeall usb-interface usb-ohci usb-uhci ehci-hcd joydev

and in my modules file I have this:

scsi_hostadapter
hid
emu10k1-gp
joydev
sidewinder

If I do a dmesg | grep usb I belive it's there .. I think it's there:

usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-ohci.c: USB OHCI at membase 0xf0a4c000, IRQ 5
usb-ohci.c: usb-00:02.3, Silicon Integrated Systems [SiS] USB 1.0 Controller (#2)
usb.c: new USB bus registered, assigned bus number 1
usb-ohci.c: USB OHCI at membase 0xf0a4e000, IRQ 12
usb-ohci.c: usb-00:02.2, Silicon Integrated Systems [SiS] USB 1.0 Controller
usb.c: new USB bus registered, assigned bus number 2
usb-uhci.c: $Revision: 1.275 $ time 23:43:43 Jan 10 2004
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: USB UHCI at I/O 0xc800, IRQ 11
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 3
usb-uhci.c: USB UHCI at I/O 0xc400, IRQ 11
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 4
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usb.c: new USB bus registered, assigned bus number 5
usbdevfs: remount parameter error
usb.c: registered new driver usblp
printer.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x043D pid 0x0014
usb.c: USB device 2 (vend/prod 0x46d/0xc00c) is not claimed by any active driver.
usb.c: USB device 3 (vend/prod 0x562/0x5) is not claimed by any active driver.
usb.c: registered new driver hiddev
usb.c: registered new driver hid
input: USB HID v1.10 Mouse [Logitech USB Mouse] on usb3:2.0
usb.c: registered new driver usbmouse
usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
usb.c: registered new driver snd-usb-audio
usb-uhci.c: interrupt, status 2, frame# 1504
usb.c: registered new driver audio

So ... I'm at a loss. More confused then anything else. If somebody could help me out here I'd really appreciate it!! I'm a bit green at the whole thing .. so please spell it out for me!

Thanks in advance!

MrBiggZ
You going to need this in the modules.conf as well:

Code:
# Added by me for Sidewinder Joystick
alias char-major-13     sidewinder
This will tell the system you want it to use the sidewider module for the char-major-13 which is the /dev/js0 which is used for the joystick. You may need the gameport module loaded but I'm not sure on that one I have never setup a usb joystick now if you were using it with the emu10k1-gp for the sound card port I could tell you exactly how to do it, that's my setup I'm using right now. You will need to install the joystick program and use jstest /dev/js0 and start pushing some buttons if you see output in the rows of numbers saying on/off then it is working.
 
Old 02-01-2004, 06:15 AM   #3
zaphod111
Member
 
Registered: Nov 2003
Posts: 40

Rep: Reputation: 15
Please excuse if this is stupid. I dont understand all the code and stuff but you may not need to do anything.

Have u tried just plugging the joystick in then enabling it in the game you want to play.

I spent ages trying to configure a usb gaming device only to find out that it already worked and was supported by the kernel.

I use suse 8.2
 
Old 02-01-2004, 10:01 AM   #4
MrBiggZ
LQ Newbie
 
Registered: Feb 2004
Location: New York
Distribution: Mandrake 9.2
Posts: 8

Original Poster
Rep: Reputation: 0
Well ..

I did what HappyTux said to do .. and that didn't work. I have the js tools installed already. Doing jstest --normal /dev/js0 or jstest --normal /dev/input/js0 tell me that jstest: No such device. I'm assuming that it's still not seeing the joystick.

To the other post .. well .. I'm not on SuSe. Maybe there it see the stick automatically. I've already tried unplugging the stick and then waiting and pluging it back in. With no luck.

Anybody else got some ideas .. I'd like to hear them!

Thanks!
 
Old 02-01-2004, 06:30 PM   #5
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally posted by MrBiggZ
Well ..

I did what HappyTux said to do .. and that didn't work. I have the js tools installed already. Doing jstest --normal /dev/js0 or jstest --normal /dev/input/js0 tell me that jstest: No such device. I'm assuming that it's still not seeing the joystick.

To the other post .. well .. I'm not on SuSe. Maybe there it see the stick automatically. I've already tried unplugging the stick and then waiting and pluging it back in. With no luck.

Anybody else got some ideas .. I'd like to hear them!

Thanks!
Try just the jstest /dev/js0 and can we see the output of the lsmod to see what you have loaded for modules.
 
Old 02-01-2004, 08:30 PM   #6
MrBiggZ
LQ Newbie
 
Registered: Feb 2004
Location: New York
Distribution: Mandrake 9.2
Posts: 8

Original Poster
Rep: Reputation: 0
I did some more searching on the whole thing and in all the cases of usb joysticks there was nothing mentioned of a gameport. I can understand why since it's not being used.

I did the jstest .. and it said jstest: No such device

I'll just paste in the entire lsmod:

Module Size Used by Not tainted
parport_pc 25544 1 (autoclean)
lp 8160 0 (autoclean)
parport 34472 1 (autoclean) [parport_pc lp]
af_packet 14824 1 (autoclean)
sr_mod 17016 0 (autoclean)
floppy 55932 0
8139too 17384 1 (autoclean)
mii 3848 0 (autoclean) [8139too]
lazyfs0d1d20 15656 1 (autoclean)
audio 44536 0 (unused)
nls_iso8859-1 3484 3 (autoclean)
nls_cp850 4284 3 (autoclean)
vfat 11820 3 (autoclean)
fat 38040 0 (autoclean) [vfat]
supermount 84032 2 (autoclean)
snd-usb-audio 54208 2
snd-pcm 78980 0 [snd-usb-audio]
ide-cd 34020 0
snd-page-alloc 9300 0 [snd-pcm]
snd-timer 18596 0 [snd-pcm]
cdrom 32608 0 [sr_mod ide-cd]
snd-rawmidi 17856 0 [snd-usb-audio]
snd-seq-device 5788 0 [snd-rawmidi]
sidewinder 9848 0 (unused)
snd 44900 2 [snd-usb-audio snd-pcm snd-timer snd-rawmidi snd-seq-device]
gameport 3268 0 [sidewinder]
soundcore 6308 0 [audio snd]
ide-scsi 11376 0
scsi_mod 105760 2 [sr_mod ide-scsi]
usbmouse 2936 0 (unused)
keybdev 2724 0 (unused)
mousedev 5428 1
hid 24132 0 (unused)
printer 8544 0
joydev 7136 0
input 5696 0 [sidewinder usbmouse keybdev mousedev hid joydev]
ehci-hcd 19212 0 (unused)
usb-uhci 25136 0 (unused)
usb-ohci 21080 0 (unused)
usbcore 74988 1 [audio snd-usb-audio usbmouse hid printer ehci-hcd usb-uhci usb-ohci]
rtc 9196 0 (autoclean)
ext3 60048 1
jbd 39296 1 [ext3]
 
Old 02-01-2004, 10:14 PM   #7
zaphod111
Member
 
Registered: Nov 2003
Posts: 40

Rep: Reputation: 15
Please dont hate me. But have you tried just playing a game with it. You see I was told that the kernel (or xfree) simply supports some joysticks.


OH no wait.... I had to exit suse- plug in device- boot from cd- update installation-

Maybe this would work for your o/s too.

Last edited by zaphod111; 02-01-2004 at 10:18 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
usb controller/joystick edong23 Linux - Hardware 20 08-09-2005 04:42 PM
Joystick Driver and API under kernel 2.6.12.3 using an USB joystick dispatcher Linux - Newbie 1 08-06-2005 10:43 AM
USB Joystick help rjkfsm Linux - Software 1 04-25-2005 11:10 AM
USB-Joystick? Cornholio Linux - Hardware 3 03-28-2005 01:13 PM
USB Joystick under Sid joshuacgilbert Debian 3 03-15-2005 08:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration