View previous topic :: View next topic |
Author |
Message |
weaksauce Apprentice
Joined: 17 Nov 2005 Posts: 204 Location: NYC
|
Posted: Sun Dec 25, 2005 5:23 am Post subject: joystick (xpad) not recognized by zsnes, mupen64, [SOLVED] |
|
|
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 |
|
|
Waninkoko Guru
Joined: 13 May 2005 Posts: 549
|
Posted: Tue Dec 27, 2005 4:05 pm Post subject: |
|
|
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 |
|
|
weaksauce Apprentice
Joined: 17 Nov 2005 Posts: 204 Location: NYC
|
Posted: Tue Dec 27, 2005 8:21 pm Post subject: |
|
|
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 |
|
|
weaksauce Apprentice
Joined: 17 Nov 2005 Posts: 204 Location: NYC
|
Posted: Thu Dec 29, 2005 10:47 am Post subject: |
|
|
For some reason, my desktop needed
Code: |
chmod a+rw /dev/input/js0
|
one set of rw more than my laptop. |
|
Back to top |
|
|
|