Comment 4 for bug 365435

Revision history for this message
Dr. Clock (alittleknowhow) wrote : Re: [Bug 365435] Re: xbox 360 wireless controller acts like curser or mouse.

Wow, thank you for responding. After trying to get this to work with Lucid I
think I want to switch back to Hardy Heron, but Firefox keeps crashing with
the package needed to have sound when playing videos from the Internet like
youtube, so I may switch back to Hardy Heron and use Opera if this doesn't
work.

This all works with* Ubuntu 9.04 Jaunty Jackalope*, so maybe I should
downgrade to that.

I don't know, with Ubuntu Lucid Lynx I couldn't get this installed:
sudo apt-get install jscalibrator libgii1 libjsw2

After trying what I did below jscalibrator is installed but the driver now
doesn't work with it for what ever reason I don't know because I am a
beginner, at the bottom of my message here I am going to post what happens
when I try to make the driver.

jscalibrator isn't how do I say on the list of things installable through
synaptic package manager, so I took a hard drive and installed Ubuntu Hardy
Heron on it and I was able to get jscalibrator working on Hardy Heron with
the Xbox 360 wireless controller like before, so I took what was in
/var/cache/apt/archives after I had cleaned it out and took it to Lucid and
just installed it, but(I am still a beginner)(note I am using the driver
that Nicole posted here:
http://wwww.ubuntuforums.org/showthread.php?t=570642&page=1

Anyways here is what happens when I try to make the driver:
ray@ray-desktop:~$ cd /home/ray/xpad360
ray@ray-desktop:~/xpad360$ make
make modules -C /usr/src/linux-headers-2.6.32-24-generic
SUBDIRS=/home/ray/xpad360
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-24-generic'
  CC [M] /home/ray/xpad360/xpad.o
/home/ray/xpad360/xpad.c: In function ‘xpad_wireless_connect’:
/home/ray/xpad360/xpad.c:291: error: implicit declaration of function ‘info’
/home/ray/xpad360/xpad.c: In function ‘xpad_open’:
/home/ray/xpad360/xpad.c:382: error: ‘struct input_dev’ has no member named
‘private’
/home/ray/xpad360/xpad.c: In function ‘xpad_close’:
/home/ray/xpad360/xpad.c:408: error: ‘struct input_dev’ has no member named
‘private’
/home/ray/xpad360/xpad.c: In function ‘xpad_probe’:
/home/ray/xpad360/xpad.c:496: error: ‘struct input_dev’ has no member named
‘cdev’
/home/ray/xpad360/xpad.c:497: error: ‘struct input_dev’ has no member named
‘private’
make[2]: *** [/home/ray/xpad360/xpad.o] Error 1
make[1]: *** [_module_/home/ray/xpad360] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-24-generic'
make: *** [all] Error 2
ray@ray-desktop:~/xpad360$ sudo rmmod xpad
ERROR: Module xpad does not exist in /proc/modules
ray@ray-desktop:~/xpad360$ sudo cp xpad.ko /lib/modules/`uname
-r`/kernel/drivers/input/joystick
cp: cannot stat `xpad.ko': No such file or directory
ray@ray-desktop:~/xpad360$ sudo depmod -a
ray@ray-desktop:~/xpad360$ sudo modprobe xpad
FATAL: Error inserting xpad
(/lib/modules/2.6.32-24-generic/kernel/drivers/input/joystick/xpad.ko):
Invalid module format
ray@ray-desktop:~/xpad360$

On Mon, Jul 19, 2010 at 1:04 PM, Fabio Marconi <email address hidden>wrote:

> Thank you for taking the time to report this bug and helping to make Ubuntu
> better.
> Is this bug reproducible with the latest Lucid packages ?
> Thanks in advance.
>
> ** Changed in: ubuntu
> Status: New => Incomplete
>
> --
> xbox 360 wireless controller acts like curser or mouse.
> https://bugs.launchpad.net/bugs/365435
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Ubuntu: Incomplete
>
> Bug description:
> First off go here to see how the code for how someone made code to make the
> xbox 360 wireless controller work:
>
> http://ubuntuforums.org/showthread.php?t=570642&page=7
>
> I am the Dr. Clock as shown on that thread, and organized how to make it
> work,
>
> but for some reason although it works on Ubuntu Hardy Heron,
>
> it doesn't work on Ubuntu Intrepid and the Ubuntu Beta of Jaunty.
>
> Instead the xbox 360 wireless controller acts like the mouse, but will only
> go the full circle of the screen
>
> and not into the corners of the screen.
>
> Here are some more links on this bug:
>
>
> https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-joystick/+bug/273364
>
> https://bugs.launchpad.net/ubuntu/+bug/273364
>
>
> https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-evdev/+bug/284951
>
> http://<email address hidden>/msg1051330.html
>
>
> I understand if you guys can't get it fixed before Jaunty is released,
>
> but it would be nice if when you guys fix it to put that in an update.
>
>
> I am sorry and just don't know enough to help you out on this,
>
> I've never even filed a bug report before, but I am sure this is something
> a lot of people will want fixed,
>
> but what ever. Thank god I have Ubuntu Hardy Heron on CD,
>
> I may never upgrade from Hardy Heron.
>
> O, well, take care.
>
> ProblemType: Bug
> Architecture: i386
> DistroRelease: Ubuntu 8.10
> ExecutablePath: /usr/sbin/synaptic
> NonfreeKernelModules: ath_hal
> Package: synaptic 0.62.1ubuntu10
> ProcAttrCurrent: unconfined
> ProcEnviron:
>
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> SourcePackage: synaptic
> Uname: Linux 2.6.27-11-generic i686
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+bug/365435/+subscribe
>