Page 2 of 3

Re: Tip for the day: Starting Gobi 2000 GPS from Mint 16 (Li

Posted: Wed Mar 19, 2014 3:50 pm
by UNCNDL1
Following the Left Coast Lead, to me it looks like the gps started, but when running cutecom can not verify it. Also Foxtrot program did not lock in for me, however it's raining out and too cold...
toughbook@toughbook-CF-19FHGAXAM ~/Desktop $ sudo killall gpsd #
[sudo] password for toughbook:
toughbook@toughbook-CF-19FHGAXAM ~/Desktop $ sudo gpsd -D5 -N -n /dev/ttyS2
gpsd:INFO: launching (Version 3.9)
gpsd:IO: opening IPv4 socket
gpsd:IO: opening IPv6 socket
gpsd:INFO: listening on port gpsd
gpsd:PROG: NTPD shmat(1802264,0,0) succeeded, segment 0
gpsd:PROG: NTPD shmat(1835033,0,0) succeeded, segment 1
gpsd:PROG: NTPD shmat(1867802,0,0) succeeded, segment 2
gpsd:PROG: NTPD shmat(1900571,0,0) succeeded, segment 3
gpsd:PROG: successfully connected to the DBUS system bus
gpsd:PROG: PPS thread launched
gpsd:INFO: NTPD ntpd_link_activate: 1
gpsd:INFO: stashing device /dev/ttyS2 at slot 0
gpsd:PROG: no /etc/gpsd/device-hook present, skipped running ACTIVATE hook
gpsd:INFO: opening GPS data source type 2 at '/dev/ttyS2'
gpsd:PROG: PPS Create Thread gpsd_ppsmonitor
gpsd:PROG: PPS chrony socket /var/run/chrony.ttyS2.sock doesn't exist
gpsd:INFO: KPPS checking /sys/devices/virtual/pps/pps0/path, /dev/ttyS2
gpsd:INFO: KPPS caps 1133
gpsd:WARN: KPPS kernel PPS will be used
gpsd:INFO: speed 9600, 8N1
gpsd:IO: => GPS: $PASHQ,RID*28\x0d\x0a
gpsd:IO: => GPS: @F0.3=1*67\x0d\x0a
gpsd:IO: => GPS: @F2.2=1*64\x0d\x0a
gpsd:IO: writing oncore control type Cj
gpsd:IO: => GPS: @@Cj)\x0d\x0aRID*28\x0d\x0a
gpsd:PROG: Probing "Garmin USB binary" driver...
gpsd:PROG: Probe not found "Garmin USB binary" driver...
gpsd:PROG: Probing "GeoStar binary" driver...
gpsd:IO: Sent GeoStar packet id 0xc1
gpsd:IO: => GPS: 5053474700c100010000000050924746
gpsd:PROG: Probe not found "GeoStar binary" driver...
gpsd:PROG: Probing "Trimble TSIP" driver...
gpsd:INFO: speed 9600, 8O1
gpsd:IO: => GPS: $PASHQ,RID*28\x0d\x0a
gpsd:IO: => GPS: @F0.3=1*67\x0d\x0a
gpsd:IO: => GPS: @F2.2=1*64\x0d\x0a
gpsd:IO: writing oncore control type Cj
gpsd:IO: => GPS: @@Cj)\x0d\x0aRID*28\x0d\x0a
gpsd:INFO: speed 9600, 8N1
gpsd:IO: => GPS: $PASHQ,RID*28\x0d\x0a
gpsd:IO: => GPS: @F0.3=1*67\x0d\x0a
gpsd:IO: => GPS: @F2.2=1*64\x0d\x0a
gpsd:IO: writing oncore control type Cj
gpsd:IO: => GPS: @@Cj)\x0d\x0aRID*28\x0d\x0a
gpsd:PROG: Probe not found "Trimble TSIP" driver...
gpsd:PROG: no probe matched...
gpsd:INFO: gpsd_activate(): activated GPS (fd 6)
gpsd:INFO: device /dev/ttyS2 activated
gpsd:INFO: running with effective group ID 20
gpsd:INFO: running with effective user ID 65534
gpsd:INFO: startup at 2014-03-19T21:38:35.000Z (1395265115)
gpsd:IO: => client(0): {"class":"VERSION","release":"3.9","rev":"3.9","proto_major":3,"proto_minor":8}\x0d\x0a
gpsd:PROG: checking client(0)
gpsd:IO: <= client(0): ?WATCH={"enable":true,"json":true};\x0a
gpsd:PROG: device 0 (fd=6, path /dev/ttyS2) already active.
gpsd:IO: => client(0): {"class":"DEVICES","devices":[{"class":"DEVICE","path":"/dev/ttyS2","activated":"2014-03-19T21:38:35.631Z","native":0,"bps":9600,"parity":"N","stopbits":1,"cycle":1.00}]}\x0d\x0a{"class":"WATCH","enable":true,"json":true,"nmea":false,"raw":0,"scaled":false,"timing":false}\x0d\x0a
gpsd:PROG: checking client(0)
gpsd:INFO: detaching 127.0.0.1 (sub 0, fd 7) in detach_client
gpsd:IO: => client(0): {"class":"VERSION","release":"3.9","rev":"3.9","proto_major":3,"proto_minor":8}\x0d\x0a
gpsd:PROG: checking client(0)
gpsd:IO: <= client(0): ?WATCH={"enable":true,"json":true};\x0a
gpsd:PROG: device 0 (fd=6, path /dev/ttyS2) already active.
gpsd:IO: => client(0): {"class":"DEVICES","devices":[{"class":"DEVICE","path":"/dev/ttyS2","activated":"2014-03-19T21:38:35.631Z","native":0,"bps":9600,"parity":"N","stopbits":1,"cycle":1.00}]}\x0d\x0a{"class":"WATCH","enable":true,"json":true,"nmea":false,"raw":0,"scaled":false,"timing":false}\x0d\x0a
gpsd:PROG: checking client(0)
gpsd:INFO: detaching 127.0.0.1 (sub 0, fd 7) in detach_client
gpsd:IO: => client(0): {"class":"VERSION","release":"3.9","rev":"3.9","proto_major":3,"proto_minor":8}\x0d\x0a
gpsd:PROG: checking client(0)
gpsd:IO: <= client(0): ?WATCH={"enable":true,"json":true};\x0a
gpsd:PROG: device 0 (fd=6, path /dev/ttyS2) already active.
gpsd:IO: => client(0): {"class":"DEVICES","devices":[{"class":"DEVICE","path":"/dev/ttyS2","activated":"2014-03-19T21:38:35.631Z","native":0,"bps":9600,"parity":"N","stopbits":1,"cycle":1.00}]}\x0d\x0a{"class":"WATCH","enable":true,"json":true,"nmea":false,"raw":0,"scaled":false,"timing":false}\x0d\x0a
gpsd:PROG: checking client(0)
gpsd:INFO: detaching 127.0.0.1 (sub 0, fd 7) in detach_client
gpsd:IO: => client(0): {"class":"VERSION","release":"3.9","rev":"3.9","proto_major":3,"proto_minor":8}\x0d\x0a
gpsd:PROG: checking client(0)
gpsd:IO: <= client(0): ?WATCH={"enable":true,"json":true};\x0a
gpsd:PROG: device 0 (fd=6, path /dev/ttyS2) already active.
gpsd:IO: => client(0): {"class":"DEVICES","devices":[{"class":"DEVICE","path":"/dev/ttyS2","activated":"2014-03-19T21:38:35.631Z","native":0,"bps":9600,"parity":"N","stopbits":1,"cycle":1.00}]}\x0d\x0a{"class":"WATCH","enable":true,"json":true,"nmea":false,"raw":0,"scaled":false,"timing":false}\x0d\x0a
gpsd:PROG: checking client(0)
gpsd:INFO: detaching 127.0.0.1 (sub 0, fd 7) in detach_client
gpsd:IO: => client(0): {"class":"VERSION","release":"3.9","rev":"3.9","proto_major":3,"proto_minor":8}\x0d\x0a
gpsd:PROG: checking client(0)
gpsd:IO: <= client(0): ?WATCH={"enable":true,"json":true};\x0a
gpsd:PROG: device 0 (fd=6, path /dev/ttyS2) already active.
gpsd:IO: => client(0): {"class":"DEVICES","devices":[{"class":"DEVICE","path":"/dev/ttyS2","activated":"2014-03-19T21:38:35.631Z","native":0,"bps":9600,"parity":"N","stopbits":1,"cycle":1.00}]}\x0d\x0a{"class":"WATCH","enable":true,"json":true,"nmea":false,"raw":0,"scaled":false,"timing":false}\x0d\x0a

Re: Tip for the day: Starting Gobi 2000 GPS from Mint 16 (Li

Posted: Wed Mar 19, 2014 6:24 pm
by UNCNDL1
Following another thread, I ran this code:
toughbook@toughbook-CF-19FHGAXAM ~ $ dmesg | grep tty
[ 0.000000] console [tty0] enabled
[ 2.131395] 00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 2.152387] 00:09: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[ 2.173377] 00:0a: ttyS2 at I/O 0x3e8 (irq = 11) is a 16550A
toughbook@toughbook-CF-19FHGAXAM ~ $

I think ttyS2 is my gps, but still need to confirm

Re: Tip for the day: Starting Gobi 2000 GPS from Mint 16 (Li

Posted: Wed Mar 19, 2014 6:28 pm
by SHEEPMAN!
This is a MK1? Did you try /dev/ttyS1? (equates to com2)

OEM GPS or add-on? Driven by USB?

$lsusb
$dmesg | grep tty

Re: Tip for the day: Starting Gobi 2000 GPS from Mint 16 (Li

Posted: Thu Mar 20, 2014 6:34 am
by UNCNDL1
Sorry I did not post model number...
CF-19CHGCXBM
Description: WinXP, Intel Core Duo U2400 1.06GHz (Centrino), 10.4" XGA Touch, 80GB, 1GB, Intel WiFi a/b/g/n, Dual Pass (UpperWWAN/Lower:WLAN), TPM, Bluetooth, GPS, No Drive
I'll try your advice and report back
With the XP drive/caddy, the gps is on com 3 baud 4800 and locks in nicely.

running cutecom in terminal, there are adjustable settings for device, baud rate, data bits, & parity.
I've tried all of the device setting choices using baud rate 4800, data bits 8, stop bits 1, parity none.

any suggestions on these settings?

Thank you

Re: Tip for the day: Starting Gobi 2000 GPS from Mint 16 (Li

Posted: Thu Mar 20, 2014 6:41 am
by UNCNDL1
running the code in Terminal you suggested reveals:
toughbook@toughbook-CF-19FHGAXAM ~ $ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 0c24:000e Taiyo Yuden Bluetooth Device(BC04-External)
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0430:0501 Sun Microsystems, Inc.
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
toughbook@toughbook-CF-19FHGAXAM ~ $ dmesg | grep tty
[ 0.000000] console [tty0] enabled
[ 2.603528] 00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 2.624493] 00:09: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[ 2.646165] 00:0a: ttyS2 at I/O 0x3e8 (irq = 11) is a 16550A
toughbook@toughbook-CF-19FHGAXAM ~ $

Re: Tip for the day: Starting Gobi 2000 GPS from Mint 16 (Li

Posted: Thu Mar 20, 2014 1:51 pm
by SHEEPMAN!
I think your bluetooth is conflicting, or you did not load the entire package of gpsd-utilites.

$dmesg
re-boot and disable bluetooth in bios
$dmesg #see what is different
$sudo gpsd -D5 -N -n /dev/ttyS1
$gpsmon

Re: Tip for the day: Starting Gobi 2000 GPS from Mint 16 (Li

Posted: Thu Mar 20, 2014 7:21 pm
by UNCNDL1
disabled bluetooth in bios, and then ran below:

toughbook@toughbook-CF-19FHGAXAM ~ $ dmesg | grep tty
[ 0.000000] console [tty0] enabled
[ 2.510438] 00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 2.531395] 00:09: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[ 2.553083] 00:0a: ttyS2 at I/O 0x3e8 (irq = 11) is a 16550A
toughbook@toughbook-CF-19FHGAXAM ~ $ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0430:0501 Sun Microsystems, Inc.
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
toughbook@toughbook-CF-19FHGAXAM ~ $

toughbook@toughbook-CF-19FHGAXAM ~ $ gpsmon
The program 'gpsmon' is currently not installed. You can install it by typing:
sudo apt-get install gpsd-clients
toughbook@toughbook-CF-19FHGAXAM ~ $ sudo apt-get install gpsd-clients
[sudo] password for toughbook:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
gpsd-clients
0 upgraded, 1 newly installed, 0 to remove and 9 not upgraded.
Need to get 103 kB of archives.
After this operation, 338 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ saucy/universe gpsd-clients i386 3.9-2 [103 kB]
Fetched 103 kB in 0s (155 kB/s)
Selecting previously unselected package gpsd-clients.
(Reading database ... 147524 files and directories currently installed.)
Unpacking gpsd-clients (from .../gpsd-clients_3.9-2_i386.deb) ...
Processing triggers for man-db ...
Setting up gpsd-clients (3.9-2) ...
toughbook@toughbook-CF-19FHGAXAM ~ $

toughbook@toughbook-CF-19FHGAXAM ~ $ gpsmon
The program 'gpsmon' is currently not installed. You can install it by typing:
sudo apt-get install gpsd-clients
toughbook@toughbook-CF-19FHGAXAM ~ $ sudo apt-get install gpsd-clients
[sudo] password for toughbook:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
gpsd-clients
0 upgraded, 1 newly installed, 0 to remove and 9 not upgraded.
Need to get 103 kB of archives.
After this operation, 338 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ saucy/universe gpsd-clients i386 3.9-2 [103 kB]
Fetched 103 kB in 0s (155 kB/s)
Selecting previously unselected package gpsd-clients.
(Reading database ... 147524 files and directories currently installed.)
Unpacking gpsd-clients (from .../gpsd-clients_3.9-2_i386.deb) ...
Processing triggers for man-db ...
Setting up gpsd-clients (3.9-2) ...
toughbook@toughbook-CF-19FHGAXAM ~ $

toughbook@toughbook-CF-19FHGAXAM ~ $ gpsmon
The program 'gpsmon' is currently not installed. You can install it by typing:
sudo apt-get install gpsd-clients
toughbook@toughbook-CF-19FHGAXAM ~ $ sudo apt-get install gpsd-clients
[sudo] password for toughbook:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
gpsd-clients
0 upgraded, 1 newly installed, 0 to remove and 9 not upgraded.
Need to get 103 kB of archives.
After this operation, 338 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ saucy/universe gpsd-clients i386 3.9-2 [103 kB]
Fetched 103 kB in 0s (155 kB/s)
Selecting previously unselected package gpsd-clients.
(Reading database ... 147524 files and directories currently installed.)
Unpacking gpsd-clients (from .../gpsd-clients_3.9-2_i386.deb) ...
Processing triggers for man-db ...
Setting up gpsd-clients (3.9-2) ...
toughbook@toughbook-CF-19FHGAXAM ~ $

toughbook@toughbook-CF-19FHGAXAM ~ $ gpsmon
The program 'gpsmon' is currently not installed. You can install it by typing:
sudo apt-get install gpsd-clients
toughbook@toughbook-CF-19FHGAXAM ~ $ sudo apt-get install gpsd-clients
[sudo] password for toughbook:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
gpsd-clients
0 upgraded, 1 newly installed, 0 to remove and 9 not upgraded.
Need to get 103 kB of archives.
After this operation, 338 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ saucy/universe gpsd-clients i386 3.9-2 [103 kB]
Fetched 103 kB in 0s (155 kB/s)
Selecting previously unselected package gpsd-clients.
(Reading database ... 147524 files and directories currently installed.)
Unpacking gpsd-clients (from .../gpsd-clients_3.9-2_i386.deb) ...
Processing triggers for man-db ...
Setting up gpsd-clients (3.9-2) ...
toughbook@toughbook-CF-19FHGAXAM ~ $ toughbook@toughbook-CF-19FHGAXAM ~ $ gpsmon
The program 'gpsmon' is currently not installed. You can install it by typing:
sudo apt-get install gpsd-clients
toughbook@toughbook-CF-19FHGAXAM ~ $ sudo apt-get install gpsd-clients
[sudo] password for toughbook:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
gpsd-clients
0 upgraded, 1 newly installed, 0 to remove and 9 not upgraded.
Need to get 103 kB of archives.
After this operation, 338 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ saucy/universe gpsd-clients i386 3.9-2 [103 kB]
Fetched 103 kB in 0s (155 kB/s)
Selecting previously unselected package gpsd-clients.
(Reading database ... 147524 files and directories currently installed.)
Unpacking gpsd-clients (from .../gpsd-clients_3.9-2_i386.deb) ...
Processing triggers for man-db ...
Setting up gpsd-clients (3.9-2) ...
toughbook@toughbook-CF-19FHGAXAM ~ $

so far so good, going outside to seek a satellite

Re: Tip for the day: Starting Gobi 2000 GPS from Mint 16 (Li

Posted: Thu Mar 20, 2014 7:37 pm
by UNCNDL1
S2 it is...locked and loaded, position found...brrrrrrr

Re: Tip for the day: Starting Gobi 2000 GPS from Mint 16 (Li

Posted: Thu Mar 20, 2014 7:43 pm
by UNCNDL1
Next question for professor is how to take/make a screen shot of the map/terminal like you did?

Re: Tip for the day: Starting Gobi 2000 GPS from Mint 16 (Li

Posted: Thu Mar 20, 2014 7:46 pm
by SHEEPMAN!
Cool. :rofl:

gpsd-clients can be loaded from synaptic package manager too.

Good show.

menu type screensh enter and play with it. I usually do the select a portion.