Apple iPod on Linux Project
lotion writes "I'm trying to get the Apple iPod to work with Linux. I want to be able to read/write MP3s, songlists, and so forth. Since I don't own a modern Mac, I'm stuck with a $400 mirror until I get it working. Now if that's not incentive ..."
That is correct. However, the file system is HFS+. On Windows for example, you need something like MacDrive to mount it...
Only for files and folders. You can't just fill up the HD with music and expect the iPod to play it. When connected to iTunes, it creates a hidden folder with it's own database of music, and that is the only way the interface itself will see the tracks.
Take a look at the Darwin HFS+ code. http://publicsource.apple.com/
Also look to http://sourceforge.net/projects/linux-hfsplus
Nothing is complete or very useable yet, but if you are a programmer, I am sure they could use all the help they can get.
I had no idea that Hillary Rosen had a /. account! Welcome Hillary!
(BTW, you might want to revisit your music lit class - the classical composers were constantly "stealing" from each other, e.g. any "Variations on a theme..." piece. None of those compositions, including many of today's classic radio staples, would survive in our overly litigious music industry.)
As for getting the iPod to run on Linux, I agree with the post saying to check through the darwin code for HFS+.
The trick is going to be getting the mp3s into the appropriate folder for the iPod to recognize them. And while the iPod is mostly a 5 gig drive, formatting it will remove the mpeg playback software.
--
"Words are relative. They're only symbols. If we don't use ugly symbols, we won't have any ugliness."
I believe this is correct - the iPod OS is contained within the firmware, but it also relies on the iPod disk having a specific configuration, including the hidden music directory. Formatting the drive completely (as opposed to erasing the drive through the Mac OS or iTunes) will destroy the configuration that the iPod's OS expects. I suspect that anyone mucking around with the iPod in a non-Mac OS like Linux runs the risk of formatting the drive in a way that the iPod OS won't like.
Apple Knowledge Base Article 60983 provides information on how to restore a formatted iPod using iTunes. I don't suppose this will help anyone trying to use the iPod with a non-Mac system, but it gives some insight into how the iPod works.
If it were me, I'd want access to an iPod compatible Mac before I started trying to write iPod software for a different OS - it's too easy to cripple the unit with no way to restore it if the Mac's not there, plus it would be helpful to be able to watch the communication between the Mac and the iPod...
--
"Words are relative. They're only symbols. If we don't use ugly symbols, we won't have any ugliness."
the problem with them not showing up is not how they're stored, it has to do with the iTunes database.
the iTunes database is a binary proprietory format from Apple that stores much the information that the ID3v2 tag in your MP3 stores. This allows iTunes and the iPod to sort through your mp3 files quicker and the such.
In order for files copied into the iPod to show up on the playlist, they need to updated in the iTunes playlist stored on the iPod's harddrive.
This would require someone to figure out how to parse the iTunes database format and update the database when the files are copied over, so you would need some sort of tool to do this automatically for you on Linux.