Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
joystick (xpad) not recognized by zsnes, mupen64, [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
weaksauce
Apprentice
Apprentice


Joined: 17 Nov 2005
Posts: 204
Location: NYC

PostPosted: Sun Dec 25, 2005 5:23 am    Post subject: joystick (xpad) not recognized by zsnes, mupen64, [SOLVED] Reply with quote

My xpad is, however, recognized by the system. cat /dev/input/js0 and /dev/js0 give output, but when I run zsnes, I get a message that could not find joysticks, buttons don't respond in mupen64, either. I posted to amd64 forum because I think it must me a 64-bit issue since my exact same setup (with kernel modules and programs) works on my x86 lappy running the same kernel (only in 32 bit). I am currently running 2.6.14-nitro2 but have the same problem on 2.6.14-gentoo-r5. I am just trying to get the included driver for xpad to work (same as works on my lappy)

What's the deal? (so frustrating!)
Thanks


Last edited by weaksauce on Thu Dec 29, 2005 10:50 am; edited 2 times in total
Back to top
View user's profile Send private message
Waninkoko
Guru
Guru


Joined: 13 May 2005
Posts: 549

PostPosted: Tue Dec 27, 2005 4:05 pm    Post subject: Reply with quote

I have some problems too with xpad.

I have downloaded xpad.c and xpad.h from xbox-linux CVS to drivers/usb/input and compiled kernel with xpad as module.

I loaded module and dmesg says:

usb 2-3.1: new full speed USB device using ohci_hcd and address 3
input: Microsoft Xbox360 Controller on usb-0000:00:02.0-3.1
input: Microsoft Xbox360 Controller on usb-0000:00:02.0-3.1
input: Microsoft Xbox360 Controller on usb-0000:00:02.0-3.1

But there isn't /dev/js0 or /dev/input/js0 :(

If I do "cat /proc/bus/usb/devices" I don't see nothing about x360 controller :(

Thanks.

Edit: gentoo-sources-2.6.14-gentoo-r5
Back to top
View user's profile Send private message
weaksauce
Apprentice
Apprentice


Joined: 17 Nov 2005
Posts: 204
Location: NYC

PostPosted: Tue Dec 27, 2005 8:21 pm    Post subject: Reply with quote

you need to compile in general joystick support. Device Drivers -> Input Device Support -> Joystick Interface. Compile it in or make it a module called joydev which you will have to load explicitly when you want it. This will make /dev/input/js*, you will probably have to make the /dev/js* symlinks yourself
Back to top
View user's profile Send private message
weaksauce
Apprentice
Apprentice


Joined: 17 Nov 2005
Posts: 204
Location: NYC

PostPosted: Thu Dec 29, 2005 10:47 am    Post subject: Reply with quote

For some reason, my desktop needed
Code:

chmod a+rw /dev/input/js0

one set of rw more than my laptop.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 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