Note: This guide only applies to the older, 1.3.7 version of EasyGPS. You can download it here.
Note 2 (4/22/08): EasyGPS 1.3.7 is no longer available for download from the developer. I have a copy you should be able to download here if you need it. Also, please go to Old Apps and Old Version and request they archive it too. I've sent them both a copy but it has not made it in their archives yet.
Update 3 (10/11/08) : Here is a new EasyGPS 1.3.7 download link! Also, I've tried newer 2.7.x, 2.8.x and 2.9.x versions of EasyGPS with Wine 1.1.6 and the existing problems are still there so this looks to be your best option still.
I've spent some time recently getting an older version of EasyGPS working in Linux. Now all you Geocachers and GPS lovers can have a good all in one application to manage waypoints and transfer them to and from your GPS in Linux.
These instructions are based on wine 0.9.52 (12/28/07), EasyGPS 1.3.7, Ubuntu 7.10 and an eTrex Legend (serial) or GPSMap 60CSx GPS (usb) receiver. The Linux distribution and version likely will not matter. Any recent version of wine should be ok too but there may always be a regression bug or 2 in any release that may break something. Unfortunately, I also don't have any other GPS receivers to test this but feel free to buy me one. I'd prefer a Magellan for the variety since all I have now are Garmin. :-) I imagine any other serial GPS will work the same though. I have no idea about USB support for other brands.
Running Windows programs is made possible by Wine. If you are already here, I am going to assume you have wine installed. If you don't then install it. (or use these instructions to get the latest Wine in Ubuntu) I am running wine 0.9.52, the latest as of this writing, and you may or may not have problems with newer or older versions.
Install and Setup EasyGPS First
The first step is to download the older
Windows 98 compatible EasyGPS 1.3.7. The newest version still has too many problems under wine. Then install it like you would any other Windows/wine application by double clicking on the icon or running:
wine SetupEasyGPS98.exe
Don't have the application start automatically after installation, or if it does, just close it. We will get back to the application soon.
The next step is to
setup your serial ports if you haven't already. You will need to open a terminal if you don't already have one open and then do this:
cd ~/.wine/dosdevices
ln -s /dev/ttyS0 com1
ln -s /dev/ttyS1 com2
ln -s /dev/ttyS2 com3
ln -s /dev/ttyS3 com4
ln -s /dev/ttyUSB0 com5
Those commands will map your Linux serial ports to show up as Windows serial ports by creating
symbolic links. You likely will not need com3 or com4 and possibly will not need com2 but it doesn't hurt to have them. Also, com5 is pointing to the USB to serial device that I use for my USB GPSMap 60CSx. /dev/ttyUSB0 will not exist unless your GPS is currently connected but it is ok to create the symbolic link even if it is not there. Your ~/.wine/dosdevices directory should then look similar to this:
Now, run EasyGPS. Go to File -> Preferences to configure your GPS receivers.
Once you select and add your GPS, you will see a dialog to select the way the GPS is connected to your computer (which serial port or USB). This is where the problems come into play. The way EasyGPS determines your available com ports does not currently work in wine.
Note: If you are able to select a com port at this point, then do that and stop reading this because the bug is fixed.On this screen you don't have to do anything unless you are using a USB GPS. If you are using a USB connection, uncheck the USB checkbox (since we are using USB over serial, EasyGPS will see it and communicate with it as a serial port). The dialog will look like the images below as serial and USB respectively.
After adding my 2 GPS receivers, the preferences dialog looks like so:
The Work Around Part
Now we can get around to the actual work around. Even though EasyGPS can not see the com ports inside the application, it stores the configured port in the registry. All we have to do is open up regedit from your terminal.
regedit
Once regedit is up, navigate to the key
HKEY_CURRENT_USER\Software\TopoGrafix\Common\GPS Receivers where you will see your configured GPS receivers. For each, you need to change the com port from -1 to the com port your GPS is connected to. Change the value by double clicking on it or right click and select Modify.
Most serial GPS receivers will be connected to com1. If you configured /dev/ttyUSB0 to go to com5 as I did above, then set your USB GPS to com5. For my setup, the serial connected eTrex Legend is connected to com1 and the USB GPSMap 60CSx is connected as com5.
(
Note: I tried setting the BaudRate for the USB GPS to 115200 and 57600 but neither of those changes made transfers faster. I am confident the USB transfer could be faster because the GPS beeps indicating the transfer is complete well before all the waypoints are fully downloaded so I think the hold up is just the serial part of the translation. It isn't slow enough, yet, for me to spend any more time on it though.)
Be sure to restart EasyGPS so it will read in your com port changes and that is all there is to it! Have a blast transferring waypoints to and from EasyGPS!