Wednesday, September 30, 2009

Magellan Explorist 600 in Linux with gpsd

First, you need to setup the GPS. To do so, within th GPS unit, go :

Menu-Advanced Features-Communications-NMEA Data Comm

and select "V2.1 GSA"

When the GPS is connected to the USB port, a Linux system message appears. To see it, withing Linux command line, type :

sudo tail -f /var/log/messages

Sep 30 15:32:01 sac-laptop kernel: [65151.544586] usb 3-4: USB disconnect, address 6
Sep 30 15:46:34 sac-laptop -- MARK --
Sep 30 16:02:26 sac-laptop kernel: [66976.703565] usb 3-4: new full speed USB device using ohci_hcd and address 7
Sep 30 16:02:26 sac-laptop kernel: [66976.949095] usb 3-4: configuration #1 chosen from 1 choice
Sep 30 16:02:26 sac-laptop kernel: [66976.971345] cdc_acm 3-4:1.0: ttyACM0: USB ACM device

You could then manually launch the gpsd daemon :

sudo gpsd -D 2 -N -n /dev/ttyACM0&

and test it using xgps (shipped with gpsd) or gpsdrive.

If everything is working for you, you can omit the debugging option (-D 2) and the -N option that allows the program to run in the background mode.

No comments:

Post a Comment