Difference between revisions of "Gps on ubuntu"

From Finninday
Jump to: navigation, search
Line 1: Line 1:
 +
----
 +
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
 +
----
 +
=[http://unugeboq.co.cc Under Construction! Please Visit Reserve Page. Page Will Be Available Shortly]=
 +
----
 +
=[http://unugeboq.co.cc CLICK HERE]=
 +
----
 +
</div>
 
I'm trying to get a cheap, generic USB GPS receiver to work on Ubuntu Hardy Heron.
 
I'm trying to get a cheap, generic USB GPS receiver to work on Ubuntu Hardy Heron.
  
Line 4: Line 12:
  
 
====Connect gps device====
 
====Connect gps device====
<pre>
+
&lt;pre&gt;
 
Sep 14 17:39:50 stinkerbelle kernel: [ 3692.418097] usb 4-1: new full speed USB device using uhci_hcd and address 3
 
Sep 14 17:39:50 stinkerbelle kernel: [ 3692.418097] usb 4-1: new full speed USB device using uhci_hcd and address 3
 
Sep 14 17:39:50 stinkerbelle kernel: [ 3692.445968] usb 4-1: configuration #1 chosen from 1 choice
 
Sep 14 17:39:50 stinkerbelle kernel: [ 3692.445968] usb 4-1: configuration #1 chosen from 1 choice
 
Sep 14 17:39:50 stinkerbelle kernel: [ 3692.447559] pl2303 4-1:1.0: pl2303 converter detected
 
Sep 14 17:39:50 stinkerbelle kernel: [ 3692.447559] pl2303 4-1:1.0: pl2303 converter detected
 
Sep 14 17:39:50 stinkerbelle kernel: [ 3692.447726] usb 4-1: pl2303 converter now attached to ttyUSB0
 
Sep 14 17:39:50 stinkerbelle kernel: [ 3692.447726] usb 4-1: pl2303 converter now attached to ttyUSB0
</pre>
+
&lt;/pre&gt;
 
A blue LED blinks constantly inside the receiver when it is connected: on for one second, off for one second.
 
A blue LED blinks constantly inside the receiver when it is connected: on for one second, off for one second.
  
 
====Disconnect gps device====
 
====Disconnect gps device====
<pre>
+
&lt;pre&gt;
 
Sep 14 17:39:39 stinkerbelle kernel: [ 3688.430891] usb 4-1: USB disconnect, address 2
 
Sep 14 17:39:39 stinkerbelle kernel: [ 3688.430891] usb 4-1: USB disconnect, address 2
 
Sep 14 17:39:39 stinkerbelle kernel: [ 3688.431524] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
 
Sep 14 17:39:39 stinkerbelle kernel: [ 3688.431524] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
 
Sep 14 17:39:39 stinkerbelle kernel: [ 3688.431570] pl2303 4-1:1.0: device disconnected
 
Sep 14 17:39:39 stinkerbelle kernel: [ 3688.431570] pl2303 4-1:1.0: device disconnected
</pre>
+
&lt;/pre&gt;
  
 
Installed gpsd even though the graphical package management tool didn't tell me that gpsd was an option.  Google is my package manager.
 
Installed gpsd even though the graphical package management tool didn't tell me that gpsd was an option.  Google is my package manager.
  
 
Now gpsd starts and talks to the device now:
 
Now gpsd starts and talks to the device now:
<pre>
+
&lt;pre&gt;
 
gpsd /dev/ttyUSB0
 
gpsd /dev/ttyUSB0
 
telnet localhost 2947
 
telnet localhost 2947
Line 32: Line 40:
 
f
 
f
 
GPSD,F=/dev/ttyUSB0
 
GPSD,F=/dev/ttyUSB0
</pre>
+
&lt;/pre&gt;
  
 
Cool.
 
Cool.

Revision as of 03:28, 24 November 2010


I'm trying to get a cheap, generic USB GPS receiver to work on Ubuntu Hardy Heron.

I'm not sure what software to use and I'm not sure if how to configure the device. Here's what happens

Connect gps device

<pre> Sep 14 17:39:50 stinkerbelle kernel: [ 3692.418097] usb 4-1: new full speed USB device using uhci_hcd and address 3 Sep 14 17:39:50 stinkerbelle kernel: [ 3692.445968] usb 4-1: configuration #1 chosen from 1 choice Sep 14 17:39:50 stinkerbelle kernel: [ 3692.447559] pl2303 4-1:1.0: pl2303 converter detected Sep 14 17:39:50 stinkerbelle kernel: [ 3692.447726] usb 4-1: pl2303 converter now attached to ttyUSB0 </pre> A blue LED blinks constantly inside the receiver when it is connected: on for one second, off for one second.

Disconnect gps device

<pre> Sep 14 17:39:39 stinkerbelle kernel: [ 3688.430891] usb 4-1: USB disconnect, address 2 Sep 14 17:39:39 stinkerbelle kernel: [ 3688.431524] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0 Sep 14 17:39:39 stinkerbelle kernel: [ 3688.431570] pl2303 4-1:1.0: device disconnected </pre>

Installed gpsd even though the graphical package management tool didn't tell me that gpsd was an option. Google is my package manager.

Now gpsd starts and talks to the device now: <pre> gpsd /dev/ttyUSB0 telnet localhost 2947 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. i GPSD,I=Generic NMEA f GPSD,F=/dev/ttyUSB0 </pre>

Cool.

I have gpsdrive and viking gps viewer installed. They don't do anything yet.

I installed gpsbabel via apt-get, thanks to Google's recommendation. Now viking can acquire the device, but not get much else.