This is a patch for rockbox which replaces usb functionality with that of psgroove.
Currently it is only functional on PP502x targets, and has only been tested on a 5th generation ipod video.
Additionally, the descriptors/payload is the vanilla psgroove data at the moment. I hope to eventually port Aaron's changes to build descriptors at compile time... or someone else can do this change and commit it.
"Porting" to other rockbox-supported devices:
Take note of which files contain target-specific changes (for pp502x): File | Notes for porting
firmware\export\config.h | Ensure no other usb drivers will be compiled in
firmware\export\config\ipodvideo.h | Same as above, but for your target's header
firmware\target\arm\usb-drv-arc.c | Target's usb driver must support:
| 8 byte packet size
| *probably* needs to support full speed instead
| of high speed usb spec
firmware\usbstack\psgroove.c | Endpoint_ResetDataToggle() must be ported to
| your target