I'm a complete newbie with GPS devices on Linux. 

I have a `GlobalSat G-STAR IV` USB device and I would just like to get the GPS location (lat, long) printed to stdout. How can I achieve that? I'm reading about `gpsd`, but not sure how to get the actual location. The documentation seems old. 

Any common tools etc for this?

It seems that with

```
$ sudo stty -F /dev/ttyUSB0 4800
$ sudo cat /dev/ttyUSB0

```

I can read some NMEA(?) data from the device:

```
$GPGGA,113935.199,,,,,0,00,,,M,0.0,M,,0000*5B

$GPGSA,A,1,,,,,,,,,,,,,,,*1E

$GPRMC,113935.199,V,,,,,,,100918,,,N*41

$GPGGA,113936.186,,,,,0,00,,,M,0.0,M,,0000*56

$GPGSA,A,1,,,,,,,,,,,,,,,*1E

$GPRMC,113936.186,V,,,,,,,100918,,,N*4C

$GPGGA,113937.185,,,,,0,00,,,M,0.0,M,,0000*54

$GPGSA,A,1,,,,,,,,,,,,,,,*1E

$GPRMC,113937.185,V,,,,,,,100918,,,N*4E

$GPGGA,113938.200,,,,,0,00,,,M,0.0,M,,0000*55

$GPGSA,A,1,,,,,,,,,,,,,,,*1E

```

I still don't see `$GPGLL` that should contain the location..?

Edit: I also get this:

```
$ sudo gpsd /dev/ttyUSB0 -N
gpsd:ERROR: can't bind to IPv4 port gpsd, Address already in use
gpsd:ERROR: maybe gpsd is already running!
gpsd:ERROR: can't bind to IPv6 port gpsd, Address already in use
gpsd:ERROR: maybe gpsd is already running!

```

I have killed all `gpsd` instances and deleted the socket, but still getting that..