Comment 17 for bug 365435

Revision history for this message
Dr. Clock (alittleknowhow) wrote :

Here is what is shown when making the driver in Jaunty if needed(it seems the controller is working in jscalibrator:
ray@ray-desktop:~/xpad360$ make
make modules -C /usr/src/linux-headers-2.6.28-19-generic SUBDIRS=/home/ray/xpad360
make[1]: Entering directory `/usr/src/linux-headers-2.6.28-19-generic'
  CC [M] /home/ray/xpad360/xpad.o
/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.28-19-generic'
make: *** [all] Error 2
ray@ray-desktop:~/xpad360$ sudo rmmod xpad
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

OK, now I will try it out and so forth, then I will change over to Ubuntu Lucid Lynx, maybe I should try and find the path for the controller and copy and for Ubuntu Lucid Lynx?, so I will and see what else I might need, any suggestions would be great before I decide to move on to Lucid Lynx?