|
From: Ronald C.F. A. <rc...@cu...> - 2007-02-25 01:37:09
|
On 24 Feb 2007, at 19:43, Matt Finnicum wrote: > I've copy-pasted it for you. See attached. Hi, thanks. Unfortunately, this patch seems to create more questions than it solves ;-) Since most of the xbox kernel patches I could find were rather old and wouldn't cleanly patch, I followed the instructions found here: http://www.phoronix.net/forums/showthread.php?p=4445 and use the files found here: http://xbox-linux.cvs.sourceforge.net/*checkout*/xbox-linux/ kernel-2.6/drivers/usb/input/xpad.c http://xbox-linux.cvs.sourceforge.net/*checkout*/xbox-linux/ kernel-2.6/drivers/usb/input/xpad.h with minor changes as the post there describes: > for the 2.6.19 kernel it states that you're supposed to edit > > "#include <linux/usb_input.h>" and change it to > "#include <linux/usb/input.h>" > > and comment lines 54 "#include <linux/config.h>" to > "/* #include <linux/config.h> */" > > and line 161 "input_regs(dev, regs);" to > "/* input_regs(dev, regs); */" except instead of commenting out, I just deleted the corresponding lines, since there's no point to carry old code in the source for a new version of the kernel. The problem is, the patch doesn't work with these versions of the files, and now I don't know if I work with files that are a) too new b) too old c) from a totally different, incompatible branch for the patch to work. If the sources I use are newer, then is the functionality of the patch already in there? If the sources I use are older, then were is a more up to date version of the xpad.c to be found to which I can apply the patch? If the sources I use are from a separate source branch, then which should I use and why, and why do we have more than one branch in the first place? Just trying to get the cleanest (most applicable patches applied) and newest kernel running on an XBoX such that I have a good basis from which to work forward, but it's not like I know anything about xpad device drivers... Ronald |