LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (http://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Xpad Driver Install Help -- Newb Question (http://www.linuxquestions.org/questions/linux-kernel-70/xpad-driver-install-help-newb-question-466442/)

timrs 07-21-2006 11:35 PM

Xpad Driver Install Help -- Newb Question
 
I'm attempting to follow directions at http://gentoo-wiki.com/HOWTO_Xbox_36...oller_on_Linux. 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.
Code:

su
modprobe xpad
modprobe joydev
modprobe usbhid
dmesg

The command
Code:

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:
http://xbox.cvs.sourceforge.net/xbox...ers/usb/input/
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

xpad.c
 
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 04:37 PM.