Share Pastebin
Guest
Public paste!

Untitled

By: a guest | Sep 30th, 2007 | Syntax: None | Size: 2.03 KB | Hits: 18 | 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. First, make sure you have libsgutils installed
  10. before running configure/autogen.sh. If you built libgpod without it, install
  11. it and run configure/make/make install. You should now have an
  12. ipod-read-sysinfo-extended tool available. Run it with the iPod device path
  13. (eg /dev/sda) and the iPod mount point (eg /mnt/ipod) as arguments. This may
  14. require root privileges. ipod-read-sysinfo-extended will read an XML
  15. file from the iPod and write it as
  16. /mnt/ipod/iPod_Control/Device/SysInfoExtended. See
  17. http://ipodlinux.org/Device_Information for more details about the method used.
  18. Having that file is enough for libgpod to figure out the iPod firewire id.
  19.  
  20. The 2nd method requires more manual intervention. First, you need to get your
  21. firewire id manually. To do that, run "sudo lsusb -v | grep -i Serial" (without
  22. the "") with your iPod plugged in, this should print a 16 character long string
  23. like 00A1234567891231. Once you have that number, create/edit
  24. /mnt/ipod/iPod_Control/Device/SysInfo (if your iPod is mounted at /mnt/ipod).
  25. Add to that file the line below:
  26. FirewireGuid: 0xffffffffffffffff
  27. (replace ffffffffffffffff with the string you obtained at the previous step)
  28. Save that file, and you should be all set. Be careful when using apps which
  29. lets you manually specify which iPod model you own, they may overwrite that
  30. file when you do that. So if after doing that libgpod still seems to write
  31. invalid content to the iPod, double-check the content of that SysInfo file to
  32. make sure the FirewireGuid line you added isn't gone. If that happens, readd it
  33. to the end of the file, and make sure libgpod rewrite the iPod content.