Share Pastebin
Guest
Public paste!

Untitled

By: a guest | Sep 30th, 2007 | Syntax: None | Size: 1.96 KB | Hits: 205 | Expires: Never
This paste has a previous version, view the difference. Copy text to clipboard
  1. Starting with the iPod Classics and the Video Nanos, libgpod needs an
  2. additional configuration step to correctly modify the iPod content. libgpod
  3. needs to know the so-called iPod "firewire id", otherwise the iPod won't
  4. recognize what libgpod wrote to it and will behave as if it's empty.
  5.  
  6. There are two ways to set up the iPod to make libgpod able to find its firewire
  7. id.
  8.  
  9. The 1st one is mostly automated, but it requires that libgpod configure script
  10. can find libsgutils. If this library was found, a tool named
  11. ipod-read-sysinfo-extended will be built and installed, and you simply need to
  12. run it (possibly requires root privs) with iPod device path name (eg /dev/sda)
  13. and the iPod mount point (eg /mnt/ipod) as arguments. It will read an XML
  14. file from the iPod and write it as
  15. /mnt/ipod/iPod_Control/Device/SysInfoExtended. See
  16. http://ipodlinux.org/Device_Information for more details about the method used.
  17. Having that file is enough for libgpod to figure out the iPod firewire id.
  18.  
  19. The 2nd method requires more manual intervention. First, you need to get your
  20. firewire id manually. To do that, run "sudo lsusb -v | grep -i Serial" (without
  21. the "") with your iPod plugged in, this should print a 16 character long string
  22. like 00A1234567891231. Once you have that number, create/edit
  23. /mnt/ipod/iPod_Control/Device/SysInfo (if your iPod is mounted at /mnt/ipod).
  24. Add to that file the line below:
  25. FirewireGuid: 0xffffffffffffffff
  26. (replace ffffffffffffffff with the string you obtained at the previous step)
  27. Save that file, and you should be all set. Be careful when using apps which
  28. lets you manually specify which iPod model you own, they may overwrite that
  29. file when you do that. So if after doing that libgpod still seems to write
  30. invalid content to the iPod, double-check the content of that SysInfo file to
  31. make sure the FirewireGuid line you added isn't gone. If that happens, readd it
  32. to the end of the file, and make sure libgpod rewrite the iPod content.