Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
usb gamepad: no /dev/input/js* -> WTF?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mike
n00b
n00b


Joined: 14 Sep 2002
Posts: 2
Location: Honolulu, HI

PostPosted: Sat Sep 14, 2002 11:50 am    Post subject: usb gamepad: no /dev/input/js* -> WTF? Reply with quote

Hi. I've searched the forum for all usb gamepad related messages but I'm having a strange problem that I can't crack. I'm running gentoo sources 2.4.19-r7 on an intel motherboard with modules usbcore, usb-uhci, input, hid and joydev.

What I know:

'cat /proc/bus/usb/devices' produces
....
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 3 Spd=1.5 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=045e ProdID=0027 Rev= 1.06
S: Manufacturer=Microsoft®
S: Product=Microsoft® SideWinder® Plug & Play Game Pad
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=hid
E: Ad=81(I) Atr=03(Int.) MxPS= 3 Ivl=10ms

'modprobe hid' produces in the kernel log

Sep 14 01:26:54 wikiwiki usb.c: registered new driver hid
Sep 14 01:26:54 wikiwiki usb-uhci.c: interrupt, status 3, frame# 293
Sep 14 01:26:54 wikiwiki hiddev0: USB HID v1.00 Gamepad [Microsoft® Microsoft® SideWinder® Plug & Play Game Pad] on usb1:3.0
Sep 14 01:26:54 wikiwiki hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
Sep 14 01:26:54 wikiwiki hid-core.c: USB HID support drivers

'modprobe joydev' produces no output in the kernel log and creates (via devfs?) an empty /dev/input with no js* devices.

Just for kicks, I tried manually creating a js0 device as recommended in /usr/src/linux/Documentation/input/joystick.txt but that didn't work as should be expected with devfs enabled. Following some forum advice, I tried unplugging/plugging in the device to no avail. I compiled and loaded modules for gameport and sidewinder even though I have no gameport; Still no love.

Anybody have some ideas/experience with this?

Thanks!
Mike
Back to top
View user's profile Send private message
oniq
Guru
Guru


Joined: 02 Sep 2002
Posts: 597
Location: Connecticut

PostPosted: Sat Sep 14, 2002 8:38 pm    Post subject: Reply with quote

I had the same problem with my mouse. Except I didn't compile input into the kernel.. are you sure you did? Did you enable Input Core Support off the main menuconfig? Also, you will need to enable input support in USB devices under HID.
Back to top
View user's profile Send private message
mike
n00b
n00b


Joined: 14 Sep 2002
Posts: 2
Location: Honolulu, HI

PostPosted: Sun Sep 15, 2002 12:08 am    Post subject: Reply with quote

oniq wrote:
I had the same problem with my mouse. Except I didn't compile input into the kernel.. are you sure you did? Did you enable Input Core Support off the main menuconfig? Also, you will need to enable input support in USB devices under HID.


I forgot to select 'HID input layer support'. Now it works, thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum