xbox 360 USB kernel driver/USB redirect
I'd like to work on a project involving Xbox360s and controllers. Ultimately what I'd like to be able to do is hook a 360 controller to my pc (linux or windows, preferably linux), record the button presses and be able to "replay" them to an Xbox 360. I think there are a few key parts to this:
1) I need some way to record raw data from the usb controller. I've played with the usbmon module, which I think might do the trick. It records a lot of raw data, although I'm not really sure if it's the right kind for me. Maybe some hacking of the xpad driver is called for?
2) I need to find a way to "trick" the xbox360 into thinking that my laptop is really a xbox360 controller.
I would imagine that this involves some kind of handshake between the controller and the xbox. To figure out what this protocol involves, I was thinking that I could redirect one usb's data out another usb to the xbox360, and log out the transactions between them. Ultimately, I'd like to replay this data into a PS3, so I'm going to need to use this same method, or find documentation on both.
Am I missing anything? If there's anyone that could point me in the right direction as to the specifics involved with redirecting usbdev output, documentation, or general reworking of these ideas, I'd appreciate the help.