LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   Ubuntu and GPS-360 (from MS Streets & Trips) (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/ubuntu-and-gps-360-from-ms-streets-and-trips-593168/)

Short.Cipher 10-19-2007 08:55 PM

Ubuntu and GPS-360 (from MS Streets & Trips)
 
I'm having problems getting the Pharos GPS-360 (ie. the GPS puck that comes with Microsoft Streets and Trips 2006) working with my Ubuntu setup. It's on a Dell Inspiron 1501 laptop. I was hoping to get some GPS going on so I could map out some parks that so far aren't on Openstreetmap.org.

I plugged in the usb cable that comes with it, dmesg shows me
Quote:

[ 5611.808000] pl2303 4-1:1.0: pl2303 converter detected
[ 5611.808000] usb 4-1: pl2303 converter now attached to ttyUSB0
and lsusb shows

Quote:

Bus 004 Device 003: ID 067b:aaa0 Prolific Technology, Inc.
So far, everything seems fine.

I've installed gpsd and gpsdrive, and as far as I know have the necessary config files all set up properly. When I run gpsdrive, though, it stays in simulation mode (granted, I'm not sure exactly which GPS settings to use - I've tried everything) after saying that no GPS was found.

According to http://roadnav.sourceforge.net/wiki/index.php/GPS_units and a couple other spots, the Pharos/MS GPS-360 should work with little problem.

I've seen other people have success with some Windows programs running via Wine, but I haven't had such luck. I tried SeaClear, but it doesn't pick up anything either. I've even made the symbolic link within wine to make it seem as if my ttyUSB0 is actually a com port.

Does anybody have any tips? I'm pretty confused...

Fluxx 10-20-2007 05:07 AM

Start as root the gpsd in this way

Code:

gpsd /dev/ttyUSB0
and afterwards as normal user gpsdrive. This works fine for me. I added these lines in my IvmanConfigActions.xml to make it run at the moment the GPS-unit is plugged in.

Code:

<ivm:Match name="hal.usb_device.product" value="CP2102 USB to UART Bridge Controller" >
            <ivm:Option name="exec" value="sudo killall gpsd; sudo /usr/sbin/gpsd /dev/ttyUSB0; /usr/bin/gpsdrive -sq" />
    </ivm:Match>

/dev/ttyUSB may be /dev/tts/USB0 at some systems.

Fluxx.

Short.Cipher 10-21-2007 07:41 AM

I'm still having no luck. I did notice, though, after running "dpkg-reconfigure gpsd", in order to have gpsd run automatically at boot,that it says:

Quote:

* Starting GPS (Global Positioning System) daemon gpsd___________fail

Fluxx 10-21-2007 08:54 AM

And what happens if you start the gpsd in a konsole as root:

Code:

gpsd /dev/ttyUSB0
Fluxx.

Short.Cipher 10-21-2007 10:33 AM

I don't get anything, strangely enough... I even tried putting the -N switch on, thinking that it would give helpful debug messages, but I don't get anything back in the terminal. It just sits there.

It doesn't even seem as if the daemon gets running in the first place. As I mentioned above, when I try starting/restarting it through "/etc/init.d/gpsd restart" it says that it fails (my post above).

I've got the day free today, so I'm going to try putting some extra partitions on my laptop's drive... maybe see if it works better through a different distro. :D

Short.Cipher 10-24-2007 04:40 PM

Turns out that the gps unit was a dud. I exchanged it for a new one and everything works perfectly. Thanks for the help!


All times are GMT -5. The time now is 07:01 AM.