After having bought a new Sony DSC-HX5V digital camera, which is equipped with an integrated GPS, I discovered that it comes with windows-only software for downloading and updating the GPS almanac on the camera (the supplied PMB Portable software runs on Apple OS X, but it does not support downloading the GPS almanac).
After tinkering a bit with tcpdump(1) and friends I found out how to perform the download and update manually:
- Download assistme.dat
- Download assistme.md5
- Verify that the MD5 sum of the
assistme.datfile matches the one in the
- Create a top-level folder hierarchy on the memory card for the camera (not the internal memory of the camera) called
- Place the downloaded
assistme.datfile in the
- Place the memory card in the camera and verify that the GPS Assist Data is valid
I have written a small perl script for automating the above tasks. The script takes the mount point of the memory card as argument.