-   Linux - Kernel (
-   -   Xpad Driver Install Help -- Newb Question (

timrs 07-21-2006 11:35 PM

Xpad Driver Install Help -- Newb Question
I'm attempting to follow directions at Search for the text "Code: Kernel options". What am I supposed to do with that information?

timrs 07-30-2006 01:33 PM

This is dumb --- I never had to attempt to get the xpad driver, it is already on Suse 10.1.

modprobe xpad
modprobe joydev
modprobe usbhid

The command

cat /dev/input/js0
Says that js0 doesn't exist and therefore my controller isn't working.

timrs 08-28-2006 12:25 PM

Actually the version on Suse doesn't support the 360 controller, so back to the first post then

oisteink 09-28-2006 05:56 AM

I'll try to do this, and post my results...
The options is kernel configure options. Check docs on how to compile your own kernel.
I know it's an old thread ;)

sonicbhoc 09-30-2006 04:55 PM

Before you start, download kernel sources, and type make menuconfig from /usr/src/linux as root. Configure your kernel. MAKE SURE YOU AREN'T USING A BINARY KERNEL CAUSE THIS WON'T WORK IF YOU ARE.

First, you need to mv /usr/src/linux/drivers/usb/input/xpad.c to xpad.c.old
Ok, you need to go here:
save xpad.h and xpad.c in /usr/src/linux/drivers/usb/input/

After your kernel is configured with make menuconfig (or xconfig if you are running KDE, or gtkconfig if you are running gnome), run:

make && make modules modules_install install

make sure your /boot/grub/menu.lst points to vmlinuz. If you need help identifying your hardware for making your kernel, lspci is your best friend.

manwichmakesameal 10-02-2006 11:52 AM

I would follow sonicbhoc's advice, but I'm gonna add comment out lines 231-241 in xpad.c before you compile. It just makes the a,b,x, and y buttons work better. Before you comment out those lines, it makes the buttons "pressure sensitive", but after they work just right. Also, you might want to make sure you have event interface and joysticke interface compiled as a module if you build a custom kernel. It's under Device Drivers-->Input Device Support

timrs 10-23-2006 06:01 PM

Thanks for the help!!

manwichmakesameal 10-24-2006 11:51 AM

I noticed you need to get infrared working in linux. Do you need something like lirc?

timrs 10-24-2006 03:12 PM

ya, but i think you need some sort of driver with it. You are wrong, if you look at my little list again, it says Things to GET working in Linux, not the other way around

timrs 10-24-2006 09:08 PM

once again, thanks for all the help!

All times are GMT -5. The time now is 07:18 PM.