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...

Configuration of Gmail on Gnus/Emacs (Ubuntu Gutsy)

I tried configuring Gnus/Emacs to send/receive mails through Gmail using IMAP/SMTP protocol on my Ubuntu-Gutsy Linux Box. Emacs Version: 22.1.1 Gnus Version: 5.11 I performed the following steps: I had to install sendmail and starttls programs using apt-get first and start sendmail service. Enable IMAP support for your Gmail account online as described here : http://mail.google.com/support/bin/answer.py?answer=77695 Create a file named .gnus.el in your home directory and copy the configuration as given below: ;; Configuration of ~/.gnus.el ;; Customize the next three lines with your ISP information. (load "starttls") (load-library "smtpmail") (setq user-mail-address "username@gmail.com") (setq user-full-name "User Name") ;; Configure incoming mail (IMAP) (setq gnus-select-method '(nnimap "gmail" (nnimap-address "imap.gmail.com") (nnimap-server-port 993) ...