View Single Post
Posts: 33 | Thanked: 30 times | Joined on Sep 2008
#171
How to make the Wayfinder map program work:

Please note these instructions are based on an N810.

By default the map program locates it's data files in "/media/mmc2/map".
On a standard device setup, the "mmcX" folders are used for memory cards in your device (whether built in, or external). When you partition your system using pbeasy, the /media/mmc2 folder actually becomes a pretend memory card, which is the FAT partition you created.

So you probably made a relatively small FAT partition, and there's not enough room in "/media/mmc2" to hold your "map" folder.
Well it turns out the Wayfinder program will be happy to find the "map" folder in any "mmcX" series folder (i.e. "mmc1", "mmc3", "mmc4", etc.). Sadly, most other software that uses /media/mmc2 doesn't have this feature, so kudos to Wayfinder. Essentially all you have to do is move the "map" folder to whichever memory card you have enough room on. For example, if you just ran the map program for the first time and had troubles downloading maps, you'd close the program, run X-Term, and enter a command like this:
Code:
sudo mv /media/mmc2/map /media/mmc1/
On an N810, the above command would move the map folder from your FAT partition (/media/mmc2), to the external memory card (/media/mmc1). After this, assuming you have enough space on your external memory card, you should be able to run the map program and successfully download new maps.
Note, if you are moving files from a linux partition to a FAT partition, you may get a bunch of "cannot preserve ownership" errors, that's OK you can ignore them.
Also if you can't run sudo commands, try installing the "sudser" program.

Q: But I don't want to put it on an external memory card, I want it on my main drive (the cloned partition). How do I put it there?
A: Easy, just make a "pretend" memory card. For example, if the folders "mmc1" and "mmc2" already exist, you would create a "mmc3" folder and move the data there, as follows:
Code:
sudo mkdir /media/mmc3
sudo chmod 777 /media/mmc3
sudo mv /media/mmc2/map /media/mmc3/
sudo chown -R user /media/mmc3
Q: I have my map data on an external memory card (OR I backed up my map folder and subsequently restored it to /media/mmc1, or mmc3, mmc4, etc), and after I reflashed and cloned it's now not working!
A: If you reflashed your device with a different firmware version than you had before, you may now be running a different version of the Wayfinder sofware. Unfortunately to "upgrade" your map folder data files to the newer version, it seems the Wayfinder software insists that the files be located in "/media/mmc2/map". Go figure.
Assuming you have enough room on your cloned partition for the map folder, essentially what you need to do is temporarily unmount the FAT partition from /media/mmc2, move the map folder into /media/mmc2, run the map program so that it will upgrade the data files, move the map folder back to wherever you had it before, restart your device, and you're good to go.

Here's step-by-step instructions for that. Let's assume you currently have your map data in "/media/mmc3/map", you tried to run Wayfinder, and it doesn't recognize it. Close the map program, run X-Term and enter the following, except replace "mmc3" with whatever folder you currently have your "map" folder in, (careful DON'T change any "mmc2" references, only the "mmc3" ones!)
Code:
sudo rm -rf /media/mmc2/map
sudo umount /media/mmc2
sudo mv /media/mmc3/map /media/mmc2/
sudo chown -R user /media/mmc2/map
If the "umount" command complains, you'll have to shut down the device and start it up fresh, then try again.
Now run the map program. Answer any prompts that appear. Once the software is running, you should have your maps, favorites, etc. Now shutdown the map program, and do this from X-Term:
Code:
sudo mv /media/mmc2/map /media/mmc3/
Restart your device, and you're good to go!

Last edited by Eladon; 2009-03-04 at 07:18.
 

The Following User Says Thank You to Eladon For This Useful Post: