Skip to main content

iPod Nano 5G synchronization issues in Ubuntu


I was able to manage my iPod Nano using Ubuntu until now. When I recently upgraded to Ubuntu 11.04 Natty which was a clean install, a weird problem started. I could not synchronize my iPod using any application like Banshee, Rhythmbox, gtkpod, Amarok etc. On closer look, I realized that when I transferred any file, it was copied to the iPod but the database on iPod was not updated. None of the applications seemed to work and it was same error in each case. Since the iPod database was not updated, iPod could not see the file and was unable to play it. It was an iPod Nano generation 5, which comes with a video camera on the back side.
To debug the issue, I executed Banshee in debug mode (banshee -debug on the terminal), and I noticed the following error when trying to transfer any file on iPod.
‘Failed to save iPod database – GLib.GException: Failed to generate sqlite database (in `libgpod-sharp)’
I searched for solutions on Internet but was confused at various solutions suggested. I tried a few solutions like updating libraries libgpod etc from git etc. but I was not sure about this; iPod was working using older versions of library. Few others suggested initializing the iPod database in a specific order using iTunes/Rhythmbox etc. I could not decipher that solution. Few more hits and trials but no progress.
Finally, the problem was resolved using the following 2 steps. You may try the following steps to resolve the problem in your case:
1. Identify the serial number of your iPod device by using the following command:
$ lsusb -v | grep -i Serial
You will see a 16 digit serial number in the output which is a hexadecimal number identifier for your iPod. Copy the serial number and create a file called SysInfo manually on iPod under iPod_Control/Device/ directory.
You must edit the SysInfo file and enter the following text: ‘FirewireGuid: 0x…………….‘ without quotes. So, it must read FirewireGuid: 0x. Save and Close the file.
2. After SysInfo file is created, create another file containing the Hash value. Go to following URL – http://ihash.marcansoft.com/ and enter the serial number (identified at step 1) in the text box provided on the website. It will generate another file which must be saved as HashInfo file underiPod_Control/Device/ directory. Unplug the iPod device and plug it back to your system and problem should be resolved now.
After the above 2 files were created, I could use all applications viz. Banshee, Rhythmbox, gtkpod, Amarok etc. to manage the iPod. I could transfer music, podcasts, videos etc. on my iPod and the iPod DB was also updated flawlessly just like before.
Give it a shot! Even if it doesn’t work for you, delete the 2 files you’ve just created?

Popular posts from this blog

Sydney Trip

I went to Sydney on a business trip for 2-3 weeks. Since, it was a business trip I was going to travel alone and miss my family. Therefore, I appreciated the short duration of the trip but it did not feel like a short one. Most of it was work only and some time for me during the two weekends. I had decided to make the most of available time instead of idling and feel more homesick. Also, I was going to stay in the CBD area so it was a big advantageous factor since not much effort was to be spent for sightseeing. The journey began with the longest flight I’ve ever been on (17 hours) with a stopover at Bangkok for 2 hours. I had a terrible time in the flight from Delhi to Bangkok; I was struggling a lot in the airplane seats and couldn’t sleep at all. However, the flight from Bangkok to Sydney was much better. On my flight from Bangkok to Sydney, an Australian lady was seated at the window seat on my right hand side. She asked me if I wanted to swap my seat with hers as I had starte...

Busy or Lazy?

Either of the two. But that’s been the case after my wedding. I’ve not done a blog post, neither I did anything on Facebook, Twitter, Google+ for that matter. Whatever! Better late than never. So, in order of priority, I wanted to write down a few important events that happened since my last post - We were blessed with a baby daughter – Naisha. Literal meaning of Naisha is ‘Special’ and she justifies this meaning completely. She’s beautiful, cranky and a fighter. She’s awesome! Naisha is one creature in the house. She just celebrated her first birthday dressed up as a Barbie, which was cute. All the day she’s running around the house and interpreting various things and objects in her unique style. I cannot understand much of it, but most of it appears very logical somehow. I switched from X to Y organization. It was a long pending decision for me and thankfully it worked out this time. It took its own time and I was recruited after long six months of interviewing process. A...