Will there ever be a package of this? I can't even get this to work now.
Will there ever be a package of this? I can't even get this to work now.
I've actually moved over to Mac OS X now and don't plan on putting together a package myself (I was never able to do that in the first place). But anyone else who's willing is welcome to.
...
Hey all. I found this thread, when researching ways to get my guitar hero 3 controller working in Linux.
Maybe it's time to revive it
I've tried gizmod, it recognizes the controller as being plugged in, but it won't pick up events from it (when viewing it in debug mode)
I then tried the instructions on this site and when I type make I get this
Any ideas what this could mean?erik@erik-desktop:~/.xpad360$ make
make modules -C /lib/modules/2.6.27-11-generic/build SUBDIRS=/home/erik/.xpad360
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-11-generic'
CC [M] /home/erik/.xpad360/xpad.o
/home/erik/.xpad360/xpad.c: In function ‘xpad_open’:
/home/erik/.xpad360/xpad.c:382: error: ‘struct input_dev’ has no member named ‘private’
/home/erik/.xpad360/xpad.c: In function ‘xpad_close’:
/home/erik/.xpad360/xpad.c:408: error: ‘struct input_dev’ has no member named ‘private’
/home/erik/.xpad360/xpad.c: In function ‘xpad_probe’:
/home/erik/.xpad360/xpad.c:496: error: ‘struct input_dev’ has no member named ‘cdev’
/home/erik/.xpad360/xpad.c:497: error: ‘struct input_dev’ has no member named ‘private’
make[2]: *** [/home/erik/.xpad360/xpad.o] Error 1
make[1]: *** [_module_/home/erik/.xpad360] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-11-generic'
make: *** [all] Error 2
I'm running Kubuntu 8.10
@zman0900
this is not the way to do it. module_exit(usb_xpad_exit); mean that when the module will be remove with the rmmod command, the usb_xpad_exit function will be called.
You can read more about linux driver here: http://lwn.net/Kernel/LDD3/
Bookmarks