LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 11-02-2003, 03:29 PM   #1
billygotee
LQ Newbie
 
Registered: Nov 2003
Posts: 21

Rep: Reputation: 15
Unhappy USB Joystick support in RH9


Has anyone successfully gotten a USB joystick to work in RedHat 9? My joystick is the Logitech Wingman RumbePad, but I think it should be the same for anyone. What did you need to install?

jstest for me on /dev/input/js0 gives me

jstest: No such device

Not sure what to do...
 
Old 11-02-2003, 05:50 PM   #2
billygotee
LQ Newbie
 
Registered: Nov 2003
Posts: 21

Original Poster
Rep: Reputation: 15
The joystick still doesn't work but here's an update on what I've done, if it helps:

I intalled the given joystick modules:
$ /sbin/insmod /lib/modules/2.4.20-8/kernel/drivers/input/joydev.o
$ /sbin/insmod /lib/modules/2.4.20-8/kernel/drivers/input/input.o

and made sure I had joystick interfaces in /dev/input, which I do (specifically js0 - js15 or so).

So now when I try to test my joystick with jstest on /dev/input/js0, my machine freezes and my keyboard starts blinking (the Num, Caps, and Scroll lock keys). This isn't recoverable by plugging another keyboard in...

What next?
 
Old 11-02-2003, 06:23 PM   #3
billygotee
LQ Newbie
 
Registered: Nov 2003
Posts: 21

Original Poster
Rep: Reputation: 15
I guess I'll keep replying to myself until someone else does . (Hey, maybe I'll answer my own question and then someone else will find it doing a google search). Anyway the system is finding my USB device, an /sbin/lsusb gives me the following for my RumblePad:

Bus 002 Device 002: ID 046d:c20a Logitech Inc. WingMan RumblePad
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.00
bDeviceClass 0 Interface
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x046d Logitech Inc.
idProduct 0xc20a WingMan RumblePad
bcdDevice 1.07
iManufacturer 4 Logitech Inc.
iProduct 32 WingMan RumblePad
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 41
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 3 Human Interface Devices
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.10
bCountryCode 33
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 101
cannot get report descriptor
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type none
wMaxPacketSize 8
bInterval 10
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 3
Transfer Type Interrupt
Synch Type none
wMaxPacketSize 8
bInterval 10
Language IDs: (length=4)
0409 English(US)


Which is a good sign I guess. Still awaiting...
 
Old 11-03-2003, 10:55 AM   #4
billygotee
LQ Newbie
 
Registered: Nov 2003
Posts: 21

Original Poster
Rep: Reputation: 15
Let's change the question a little bit, in hopes that it might perk some interest. The only thing I can think of is my card isn't located in the joydev.o compiled drivers. Does anyone know if it's in the RedHat 9 kernel by default? If not then the linux joystick driver is the answer, at

http://www.linuxgames.com/joystick/

. Now I've been trying to get the thing to work and if I could just compile the blasted thing I'd install it. But I keep getting parse errors and shit every time it compiles. I suspect that my mistake is in the Makefile (because you HAVE to edit the damn thing for it to work) but I haven't an idea where...I probably set my modules directory to the wrong thing, but I don't think so. Has anyone figured out how to compile it in RedHat 9?
 
  


Reply



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
Joystick Driver and API under kernel 2.6.12.3 using an USB joystick dispatcher Linux - Newbie 1 08-06-2005 09:43 AM
Recompiling XMAME for Joystick Support CooManChu Linux - Games 2 05-10-2005 09:46 PM
Game port joystick support in FC2 MarkhamNR Linux - Hardware 2 01-29-2005 08:24 PM
Joystick support ? qwijibow Linux - Hardware 3 08-10-2003 04:00 PM
Getting joystick support cmckay Linux - Hardware 1 05-19-2003 03:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 04:05 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