Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
Thread Tools Display Modes
Old March 27th, 2007   #21
leomelo
5 Cups of Ubuntu
 
Join Date: Oct 2006
Beans: 40
Re: Howto Setup Xbox360 Controller in Edgy Elft

leomelo@RLMeloPComputer:~$ cd /home/leomelo/.xpad360
leomelo@RLMeloPComputer:~/.xpad360$ sudo make
Password:
make modules -C /usr/src/linux-headers-2.6.20-13-generic SUBDIRS=/home/leomelo/.xpad360
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-13-generic'
CC [M] /home/leomelo/.xpad360/xpad.o
/home/leomelo/.xpad360/xpad.c:54:26: error: linux/config.h: No such file or directory
/home/leomelo/.xpad360/xpad.c:62:29: error: linux/usb_input.h: No such file or directory
/home/leomelo/.xpad360/xpad.c: In function ‘xpad_process_packet’:
/home/leomelo/.xpad360/xpad.c:161: warning: implicit declaration of function ‘input_regs’
/home/leomelo/.xpad360/xpad.c: In function ‘xpad_probe’:
/home/leomelo/.xpad360/xpad.c:368: error: ‘SLAB_ATOMIC’ undeclared (first use in this function)
/home/leomelo/.xpad360/xpad.c:368: error: (Each undeclared identifier is reported only once
/home/leomelo/.xpad360/xpad.c:368: error: for each function it appears in.)
/home/leomelo/.xpad360/xpad.c:386: warning: implicit declaration of function ‘usb_to_input_id’
/home/leomelo/.xpad360/xpad.c:451: warning: passing argument 6 of ‘usb_fill_int_urb’ from incompatible pointer type
make[2]: *** [/home/leomelo/.xpad360/xpad.o] Error 1
make[1]: *** [_module_/home/leomelo/.xpad360] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-13-generic'
make: *** [all] Error 2
I get those errors when i enter sudo make
leomelo is offline   Reply With Quote
Old March 27th, 2007   #22
leomelo
5 Cups of Ubuntu
 
Join Date: Oct 2006
Beans: 40
Re: Howto Setup Xbox360 Controller in Edgy Elft

I change the kernel, and it happens the same as Nolander: cp: cannot stat `xpad.ko': No such file or directory.
leomelo is offline   Reply With Quote
Old April 16th, 2007   #23
EEVOL
First Cup of Ubuntu
 
Join Date: Apr 2007
Beans: 8
Ubuntu 7.04 Feisty Fawn
Re: Howto Setup Xbox360 Controller in Edgy Elft

I've tried this and haven't gotten it to work. I tried kernel linux-headers-2.6.17-10-generic and linux-headers-2.6.17-11-generic and followed the steps thoroughly with no errors. Yet when I plug my controller in (wired) the USB port, the light goes on for a second then turns off.

This is what I get when I do 'sudo tail -fn0 /var/log/messages':
Code:
Apr 16 00:17:29 joe-laptop kernel: [17180008.624000] usb 2-1: new full speed USB device using uhci_hcd and address 4
Apr 16 00:17:29 joe-laptop kernel: [17180008.836000] usb 2-1: configuration #1 chosen from 1 choice
Apr 16 00:17:29 joe-laptop kernel: [17180008.840000] input: Microsoft Xbox 360 Controller as /class/input/input6
Apr 16 00:17:30 joe-laptop kernel: [17180009.384000] /home/joe/.xpad360/xpad.c: opening device
Apr 16 00:17:30 joe-laptop kernel: [17180009.384000] /home/joe/.xpad360/xpad.c: closing device
Apr 16 00:17:30 joe-laptop kernel: [17180009.440000] /home/joe/.xpad360/xpad.c: opening device
Apr 16 00:17:30 joe-laptop kernel: [17180009.440000] /home/joe/.xpad360/xpad.c: closing device
Someone help!
EEVOL is offline   Reply With Quote
Old May 27th, 2007   #24
goonies
Just Give Me the Beans!
 
goonies's Avatar
 
Join Date: Jul 2006
Beans: 59
Re: Howto Setup Xbox360 Controller in Edgy Elft

I tried this on Feisty, everything works until I plug in the controller, i get this when using the command mentioned above

Code:
May 27 10:05:21 oblivion kernel: [  302.150345] usb 5-2.4: USB disconnect, address 5
May 27 10:05:25 oblivion kernel: [  305.875543] usb 5-2.3: new full speed USB device using ehci_hcd and address 6
May 27 10:05:25 oblivion kernel: [  305.969482] usb 5-2.3: configuration #1 chosen from 1 choice
goonies is offline   Reply With Quote
Old June 14th, 2007   #25
Apewall
5 Cups of Ubuntu
 
Join Date: Jan 2007
Beans: 30
Re: Howto Setup Xbox360 Controller in Edgy Elft

Feisty recognizes my TSZ360Pad (Pelican 360 Controller) but after loading the xpad module, nothing occurs, and js0 is never present, the TSZ360Pad is still listed as an "unknown device."

I would have thought someone may have found an answer of how to fix the 360 controller for feisty (2.6.20-16 kernel). ?
Apewall is offline   Reply With Quote
Old June 26th, 2007   #26
Surkow
Gee! These Aren't Roasted!
 
Join Date: Jan 2007
Beans: 167
Ubuntu Studio 8.10 Intrepid Ibex
Re: Howto Setup Xbox360 Controller in Edgy Elft

I also can't get this to work with the 2.6.20-16 kernel. My USB driver locked up and I had to manually remove the controller driver to be able to boot. Is there anyone who was able to get it to work with feisty?
__________________
"I decided to be happy, it is excellent for one's health."

Last edited by Surkow; June 26th, 2007 at 07:16 PM..
Surkow is offline   Reply With Quote
Old June 26th, 2007   #27
Surkow
Gee! These Aren't Roasted!
 
Join Date: Jan 2007
Beans: 167
Ubuntu Studio 8.10 Intrepid Ibex
Re: Howto Setup Xbox360 Controller in Edgy Elft

Is there anyone who was able to install the drivers with feisty?
__________________
"I decided to be happy, it is excellent for one's health."
Surkow is offline   Reply With Quote
Old June 27th, 2007   #28
Surkow
Gee! These Aren't Roasted!
 
Join Date: Jan 2007
Beans: 167
Ubuntu Studio 8.10 Intrepid Ibex
Re: Howto Setup Xbox360 Controller in Edgy Elft

Bump
__________________
"I decided to be happy, it is excellent for one's health."
Surkow is offline   Reply With Quote
Old June 27th, 2007   #29
adam0509
A Carafe of Ubuntu
 
Join Date: Jun 2006
Beans: 89
Re: Howto Setup Xbox360 Controller in Edgy Elft

seems the drivers is integrated in Feisty...

Code:
$ modinfo xpad
filename:       /lib/modules/2.6.20-16-lowlatency/kernel/drivers/usb/input/xpad.ko
license:        GPL
description:    driver for Xbox controllers
author:         Marko Friedemann <mfr@bmx-chemnitz.de>, Oliver Schwartz <Oliver.Schwartz@gmx.de>, Georg Lukas <georg@op-co.de>, Thomas Pedley <Gentoox@shallax.com>, Edgar Hucek <hostmaster@ed-soft.at>
srcversion:     7EC4E48313512193C8A772E
alias:          usb:v*p*d*dc*dsc*dp*icFFisc5Dip01*
alias:          usb:v*p*d*dc*dsc*dp*ic03isc00ip00*
alias:          usb:v*p*d*dc*dsc*dp*ic58isc42ip00*
depends:        usbcore
vermagic:       2.6.20-16-lowlatency SMP preempt mod_unload 586 
parm:           debug:Debugging (ulong)
adam0509 is offline   Reply With Quote
Old June 28th, 2007   #30
Surkow
Gee! These Aren't Roasted!
 
Join Date: Jan 2007
Beans: 167
Ubuntu Studio 8.10 Intrepid Ibex
Re: Howto Setup Xbox360 Controller in Edgy Elft

Quote:
Originally Posted by adam0509 View Post
seems the drivers is integrated in Feisty...

Code:
$ modinfo xpad
filename:       /lib/modules/2.6.20-16-lowlatency/kernel/drivers/usb/input/xpad.ko
license:        GPL
description:    driver for Xbox controllers
author:         Marko Friedemann <mfr@bmx-chemnitz.de>, Oliver Schwartz <Oliver.Schwartz@gmx.de>, Georg Lukas <georg@op-co.de>, Thomas Pedley <Gentoox@shallax.com>, Edgar Hucek <hostmaster@ed-soft.at>
srcversion:     7EC4E48313512193C8A772E
alias:          usb:v*p*d*dc*dsc*dp*icFFisc5Dip01*
alias:          usb:v*p*d*dc*dsc*dp*ic03isc00ip00*
alias:          usb:v*p*d*dc*dsc*dp*ic58isc42ip00*
depends:        usbcore
vermagic:       2.6.20-16-lowlatency SMP preempt mod_unload 586 
parm:           debug:Debugging (ulong)
I get the following message:

Code:
modinfo: could not find module xpad
Did you install the drivers before with an older kernel?
__________________
"I decided to be happy, it is excellent for one's health."
Surkow is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:57 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry