xpad.c questions (was: Re: Stupid noob question: where can I get old messages from this list in raw format?)

"Ronald C.F. Antony" <[email protected]> Sat, 24 Feb 2007 20:36:29 -0500
Newsgroups gmane.linux.ports.xbox.devel
Message-ID <[email protected]>
--===============0225026617==
Content-Type: multipart/signed; micalg=sha1; boundary=Apple-Mail-24-786667362;
	protocol="application/pkcs7-signature"


--Apple-Mail-24-786667362
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	delsp=yes;
	format=flowed


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
--Apple-Mail-24-786667362
Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Disposition: attachment;
	filename=smime.p7s

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGSTCCAwIw
ggJroAMCAQICEF3Jp0yEGdv1n319+krhAD8wDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UEBhMCWkEx
JTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQ
ZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA3MDExNTEwNDYyMloXDTA4MDExNTEwNDYy
MlowRDEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEhMB8GCSqGSIb3DQEJARYScmNm
YUBjdWJpY3VsdW0uY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxtjBtHMQjA4v
PSE6LrmTUVjE2WD5BP9cvJ/fMgRcxas4A0Lh569iAxKU5DXK9O51qm9hsWFFZqa6ZqUB5yyVZVD6
I9Cc4HMQZIHz4FiSz2QjFxGWJoZRVhnJofcp7ojr1+8NERTuP7kr4yEcqhRSY3rZKi4Cx1JSA5cm
i/H0vQemMs7bf9LbUI1ZEwGduu+kcpusTh+IAcuAXsqX87fjvQcb1dgwpIneCmNQVFLn1JoI8wpg
+QcXJTSP3pbT+7pUYqgWXcOxX9zsMnga2henmv0GR0kjlTirHNr2RwiadloE/Q1Nj6VbOUqzSTTt
s9KtiOCHx1+n9dtQygRW5SXwRQIDAQABo1MwUTAPBgNVHQ8BAf8EBQMDB/mAMBEGCWCGSAGG+EIB
AQQEAwIFoDAdBgNVHREEFjAUgRJyY2ZhQGN1YmljdWx1bS5jb20wDAYDVR0TAQH/BAIwADANBgkq
hkiG9w0BAQUFAAOBgQCBXt5Pp8uJGUmlWlx9U7xApIGCMmWPBxGQw7e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pYY+RbV5qMXFggkqgMGwM2Xr16eg9er7cEaJ70K9g1AkIvysWGsrhhRSBj
T2wGgIirUp1bIcnNjeBs4IhLbJvIBlwrUA4fzVLVRtMD7evKSGHhxayGMAIVkjOSKS0Vs/izALhn
CM4NwaIaZJ5ho3vDDm//ZSiEn++XsHN0ujen5UZ1PFSZuS0NUQazn8tX/wUZzcO2CJAJycsJcQAA
AAAAAA==

--Apple-Mail-24-786667362--


--===============0225026617==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--===============0225026617==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Xbox-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbox-linux-devel

--===============0225026617==--