Third party cookies may be stored when visiting this site. Please see the cookie information.

Home Family Days Out Raspberry Pi & Electronics Blog

Stewart's Blog

Stewart Watkiss website to the world ...

(Children, computing, first aid and other ramblings ...)

iPod Nano 5th generation – problems with Linux

I got a nice new ipod Nano for Christmas. Before asking “Santa” I had already researched what support was available in Linux for the iPod and was satisfied I would be able to sync with Rhythmbox on Ubuntu Linux (Ubunutu Netbook Remix), which is my current default music player.

Unfortunately it turns out my research was a bit out-of-date as unknown to me Apple released a new 5th Generation Nano which is the one I have got for Christmas. I believe this was released in Autumn 2009 and the only supported software is iTunes version 9 on Windows or Mac. I believe the iPod classic 5th generation works with gtkpod, but not for the Nano.

I can plug the Nano into a Linux computer and it is detected and loaded as a removal drive. The problem is that Apple have changed the format of the music index file which is an SQL database file. So whilst the music transfers to the device unless the sql database is updated it displays on the iPod Nano as having 0 music files.

With new hardware it doesn’t usually take too long for support to be added to Linux, but most distributions release on a 6 monthly cycle and the last was in October. Hopefully support will be available by the April release.

There were two other possibilities that I tried. The first was using iTunes under Crossover WINE, but that does not work on version 9 of iTunes which is required to sync with the latest Apple IPod Nano. The other is to run Windows under a virtual machine (eg. Virtualbox), but as this needs a Windows licence and a high-spec machine this is not something I’m going to be able to run on my Linux based netbook.

I’ve researched a bit more since and I believe that work is already in progress for gtkpod and is available through the latest git repositories, which sounds promising. I occasionally run beta software, but would avoid running from the in-progress daily snapshots on a production machine. I may give it a go in this case, but at the moment I’m just syncing using Windows (although the OS crashed on the first attempt reminding me why I choose Linux). Hopefully this will make it into the production releases in the near futures.

I believe that the real responsibility should like with Apple who should have ensured that support was available for all operating systems. This could have been done through providing an open specification to the Linux community, by contributing directly to an open source project or by creating their own version of iTunes for Linux. I’m sure that a company the size of Apple should be able to do any of these without too much of an impact on their bank balance and potentially with an increase in iPOD sales.

In fact I think that Apple are missing out on a great opportunity. If they provided iTunes for Linux they could potentially capture new customers that would otherwise go elsewhere for music downloads. Download DRM free MP3 files direct to a Linux machine (although support for 64bit Ubuntu Linux is not straight-forward).

As for most distros the MP3 codecs need to be downloaded separately then it would be an easy alternative for Linux users to download an iTunes binary instead. Although the software will most likely be proprietary there are many Linux users (including myself) that believe that the combination of free software and proprietary can benefit both the community software and commercial companies. I have bought music downloads from iTunes in the past when I used Windows regularly, but now always go to companies that support Linux as well .

I will be following the support of Ipod Nano 5G in future. You can follow my status updates on either the PenguinTutor facebook page, or on PenguinTutor twitter.

2 Responses to “iPod Nano 5th generation – problems with Linux”

  1. iPod Nano Probleme mit Linux - berts linux blog Says:

    […] via» iPod Nano 5th generation – problems with Linux – Watkissonline. Tags: Apple, crossover, iPod, iTunes, Music, Nano, sql, Virtualbox, wine […]

  2. Stewart Says:

    Unfortunately this does not appear to be resolved in the git repository for gtkpod. I’ve just compiled the latest source for libgpod and gtkpod, but that doesn’t list the Nano5G.

    Compiling from source was fairly easy as there is a quick install guide for Debian / Ubuntu (with one missing step to add the sqlite3 development libraries).

    sudo apt-get install libsqlite3-dev

    The problem appears to be a new hashing scheme used by Apple – which they have not released any details of. Not only do Apple ignore potential Linux based users, but they make it hard for anyone else to implement this as well. Unfortunately they are not alone and this is all too common amongst hardware manufacturers.

    My C programming is not really up to the standard it would need to be to contribute directly to the project (most of my C programming was under DOS, with only a bit on command line / daemon programming on Solaris).

    I’ve subscribed to the mailing lists and I’ll be keeping an eye on progress.


UK days out, children and holiday information is also available on the Days Out Diary web site
Linux, LPI and the Quiz / Test Program posts are also available on the Penguin Tutor website
First Aid Information, first aid games and first aid practice test / quiz entries are also available on the First Aid Quiz Web site