LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 07-21-2006, 11:35 PM   #1
timrs
Member
 
Registered: Nov 2005
Location: MN, US
Distribution: openSuse 10.2
Posts: 93

Rep: Reputation: 15
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?
 
Old 07-30-2006, 01:33 PM   #2
timrs
Member
 
Registered: Nov 2005
Location: MN, US
Distribution: openSuse 10.2
Posts: 93

Original Poster
Rep: Reputation: 15
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.
 
Old 08-28-2006, 12:25 PM   #3
timrs
Member
 
Registered: Nov 2005
Location: MN, US
Distribution: openSuse 10.2
Posts: 93

Original Poster
Rep: Reputation: 15
Actually the version on Suse doesn't support the 360 controller, so back to the first post then
 
Old 09-28-2006, 05:56 AM   #4
oisteink
LQ Newbie
 
Registered: Sep 2006
Posts: 1

Rep: Reputation: 0
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

Last edited by oisteink; 09-28-2006 at 05:59 AM.
 
Old 09-30-2006, 04:55 PM   #5
sonicbhoc
Member
 
Registered: Aug 2006
Distribution: Gentoo
Posts: 61

Rep: Reputation: 15
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.

Last edited by sonicbhoc; 09-30-2006 at 05:00 PM.
 
Old 10-02-2006, 11:52 AM   #6
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 800

Rep: Reputation: 100Reputation: 100
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

Last edited by manwichmakesameal; 10-02-2006 at 11:57 AM.
 
Old 10-23-2006, 06:01 PM   #7
timrs
Member
 
Registered: Nov 2005
Location: MN, US
Distribution: openSuse 10.2
Posts: 93

Original Poster
Rep: Reputation: 15
Thanks for the help!!
 
Old 10-24-2006, 11:51 AM   #8
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 800

Rep: Reputation: 100Reputation: 100
I noticed you need to get infrared working in linux. Do you need something like lirc?
 
Old 10-24-2006, 03:12 PM   #9
timrs
Member
 
Registered: Nov 2005
Location: MN, US
Distribution: openSuse 10.2
Posts: 93

Original Poster
Rep: Reputation: 15
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
 
Old 10-24-2006, 09:08 PM   #10
timrs
Member
 
Registered: Nov 2005
Location: MN, US
Distribution: openSuse 10.2
Posts: 93

Original Poster
Rep: Reputation: 15
once again, thanks for all the help!

Last edited by timrs; 01-05-2007 at 10:53 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
xpad help with gxmame cs-cam Linux - General 0 02-09-2005 08:18 PM
XPAD xbox controller driver help simbolo Linux - Hardware 1 08-18-2004 03:04 PM
[newb] SciGraphica install question Daizo Linux - Software 1 04-09-2004 07:41 AM
Big Newb question... FireFox install ickselglic Linux - Newbie 15 02-17-2004 10:34 AM
Newb question: Install/config Tomcat 4.1.27 on RHL 9.0 rudejohn Linux - Software 2 09-01-2003 08:12 PM


All times are GMT -5. The time now is 07:35 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration