FS#10023 - iTunes communication for software USB targets

Attached to Project: Rockbox
Opened by Jonas Häggqvist (rasher) - Saturday, 14 March 2009, 21:08 GMT
Last edited by Jonas Häggqvist (rasher) - Saturday, 14 March 2009, 22:29 GMT
Task Type Patches
Category Drivers
Status New
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


This patch will make an e200 present its SD card as an ipod mini 2G when queried by iTunes. It does this by changing a number of things:

1) Responding to SCSI inqueries
2) Using Ipod USB vid/pid and other usb details

The patch also enables logf for the usb_storage.c because I'm in a bit of a hurry.

To use this, make sure you have a partition on the SD card of type 0 (any size should do) and also the appropriate Ipod file structure (can be generated with e.g. gtkpod).
This task depends upon

Comment by Jonas Häggqvist (rasher) - Monday, 16 March 2009, 19:45 GMT
Slightly less messy patch. It uses the main memory rather than the SD card. Again, make sure you have an appropriate layout (a partition of type 0 somewhere) and the iPod_Control directory.

I've been unable to copy AAC files to my Sansa with this, but I'm fairly sure that's because I removed AAC support from the XML at one point and iTunes remembers this. I doubt this'll be a problem for anyone else.
Comment by Frank Gevaerts (fg) - Tuesday, 17 March 2009, 19:23 GMT
This patch adds the code to accept itunes time setting. Not tested yet, and the rockbox side of things (i.e. actually setting the time) is left as an exercise to the reader.