Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB joystick problems
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
j3rm
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2002
Posts: 148
Location: Tennessee

PostPosted: Thu Jan 09, 2003 8:47 pm    Post subject: USB joystick problems Reply with quote

Hi, I'm having trouble getting my USB joystick to work. I went through my kernel config to make sure all the settings were correct, and as far as I can tell they are. I enabled inputcore support for joysticks, and enabled HID support under the USB section. I read the documentation under /usr/src/linux/Documentation/input, and I can't see that I've left anything out. But when I plug my joystick in, there's still no /dev/input/js0. Any ideas? Thanks.
Back to top
View user's profile Send private message
oniq
Guru
Guru


Joined: 02 Sep 2002
Posts: 597
Location: Connecticut

PostPosted: Thu Jan 09, 2003 10:32 pm    Post subject: Reply with quote

Did you enable HID input layer support, also?
_________________
open like a child's mind.
Back to top
View user's profile Send private message
j3rm
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2002
Posts: 148
Location: Tennessee

PostPosted: Fri Jan 10, 2003 2:14 am    Post subject: Reply with quote

Yes, I did. I also ran an lsmod to make sure all the modules that were supposed to be loaded were there. The only modules that weren't loaded were the ones that I compiled into the kernel, so it shouldn't make a difference.
Back to top
View user's profile Send private message
oniq
Guru
Guru


Joined: 02 Sep 2002
Posts: 597
Location: Connecticut

PostPosted: Fri Jan 10, 2003 3:40 am    Post subject: Reply with quote

Anything in your dmesg when you plug in the joystick? What kind of joystick (not that it should matter)? Are other USB devices detected?
_________________
open like a child's mind.
Back to top
View user's profile Send private message
j3rm
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2002
Posts: 148
Location: Tennessee

PostPosted: Fri Jan 10, 2003 4:05 am    Post subject: Reply with quote

I unplugged and replugged my joystick, checked dmesg, and nothing was there. It's an Axis Pad by Interact, and I don't have any other USB devices configured at the moment. I'm pretty sure that the joystick works, cuz I've used it in Windows before.
Back to top
View user's profile Send private message
dripton
n00b
n00b


Joined: 16 Aug 2002
Posts: 65
Location: Virginia USA

PostPosted: Sun Jan 19, 2003 2:58 am    Post subject: Same problem with USB steering wheel Reply with quote

I'm having exactly the same problem with a Logitech Wingman Formula Force steering wheel.

It's supported in Linux, and I have the correct drivers compiled as kernel modules. When I did a "modprobe iforce" the second LED on the wheel came on, and dmesg added these lines:

usb.c: registered new driver iforce
iforce.c: info ( cmd = ff01, data = 43 )
iforce.c: info ( cmd = ff03, data = 45 00 01 )
iforce.c: info ( cmd = ff01, data = 4f )
iforce.c: info ( cmd = ff04, data = 56 02 04 00 )
input0: Logitech WingMan Formula Force [10 effects, 200 bytes memory] on usb1:2.0

/proc/bus/usb/devices also shows it:
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=046d ProdID=c291 Rev= 1.00
S: Manufacturer=Logitech
S: Product=WingMan Formula Force
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 2mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=iforce
E: Ad=82(I) Atr=03(Int.) MxPS= 16 Ivl=8ms
E: Ad=01(O) Atr=03(Int.) MxPS= 32 Ivl=4ms


But no new entries appeared under /dev. No /dev/js0. Nothing under /dev/input except mice. Nothing under /dev/usb/hid.

Also tried "modprobe joydev" which also failed to create any devices.

Anyone got any ideas?
Back to top
View user's profile Send private message
oniq
Guru
Guru


Joined: 02 Sep 2002
Posts: 597
Location: Connecticut

PostPosted: Sun Jan 19, 2003 3:59 pm    Post subject: Reply with quote

That is strange, you seem to be registering the device..

hub.c: new USB device 00:07.2-2, assigned address 3
input1: USB HID v1.00 Gamepad [Microsoft® Microsoft® SideWinder® Game Pad USB] on usb1:3.0

Right after that /dev/input/js0 is created.. Have you tried creating the dev entry yourself?
_________________
open like a child's mind.
Back to top
View user's profile Send private message
dripton
n00b
n00b


Joined: 16 Aug 2002
Posts: 65
Location: Virginia USA

PostPosted: Mon Jan 20, 2003 7:03 pm    Post subject: Reply with quote

Creating /dev/js0 manually didn't help for me.
Back to top
View user's profile Send private message
Ulli Ivens
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2003
Posts: 102
Location: Germany

PostPosted: Tue Jan 28, 2003 8:11 pm    Post subject: Reply with quote

For me a

modprobe joydev

helps. After That there will be a /dev/input/js0

But how can I automatic load joydev after pullin the joystick into the USB port ?
_________________
Notebook: Toshiba Satellite 3000-514|1 GHz PIII mobile, 512 MB PC133 RAM|Nvidia GeForce 2 go 16 MB DDR (1.0-3123)
Software: Gentoo 1.4|Gnome 2.2|KDE 3.1.1|Kernel 2.4.20+pcmcia-cs+alsa+tosh3k for doing speedsteping
Back to top
View user's profile Send private message
jlg
Guru
Guru


Joined: 31 May 2002
Posts: 360
Location: Montreal, CANADA

PostPosted: Mon Feb 03, 2003 3:46 pm    Post subject: Reply with quote

I had the same issue with all the rigth drivers loaded and having the device detected and listed in /var/log/messages but no /dev/input/js0 was created.
my kernel was compiled with smp support after removing smp support it all works great and /dev/input/js0 is created. :lol:
Back to top
View user's profile Send private message
s0uL
n00b
n00b


Joined: 01 Mar 2003
Posts: 6

PostPosted: Fri Jul 04, 2003 8:22 pm    Post subject: Reply with quote

Hi! Sorry for refrehsing this thread but where can i find this strang smp support in my kernel menu?? i want to know if its active or not! Maybe this will help me getting my joystick running!
I have the same problems like the ones above!! :cry:
Back to top
View user's profile Send private message
jlg
Guru
Guru


Joined: 31 May 2002
Posts: 360
Location: Montreal, CANADA

PostPosted: Fri Jul 04, 2003 8:50 pm    Post subject: Reply with quote

its under Processor type and features!
SMP = Symmetric multi-processing support. You usually enable this if you have a computer with more than one processor
Back to top
View user's profile Send private message
s0uL
n00b
n00b


Joined: 01 Mar 2003
Posts: 6

PostPosted: Sat Jul 05, 2003 5:19 pm    Post subject: Reply with quote

Nope! Its still not working even after removing smp support! Its realyy strange because i followed all steps in the linux-usb.org manual and there is still no js0 or event0/event1...... i think this joy stick stuff still needs some work... :(
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