[time-nuts] thunderbolt for ntpd or gpsd

Christian Vogel vogelchr at vogel.cx
Fri Jun 13 14:58:11 UTC 2008


Hi Tim,

On Thu, Jun 12, 2008 at 10:05:13PM -0400, Tim Cwik wrote:
> Is there a way to have gpsd use 8N1 for TSIP? The manual says teh 
> thunderbolt uses 8N1, the windows support program says it and the 
> thunderbolt are using 8N1. I can not find a way to tell the thunderbolt 
> to use 8O1.

as a quick hack, use the following command just after you started
gpsd to force the parity to non on the serial line:

root at grml ~ # gpsd -n /dev/ttyUSB0
root at grml ~ # stty -F /dev/ttyUSB0 -parenb -parodd

When in debug-mode, gpsd then spits out the following lines:

gpsd: Software version: 3.0 020627 10.2 011114
gpsd: GPS Time 485697.156250 1483 14.000000
gpsd: Current Datum 0 0.000000 0.000000 0.000000 6378137.000000 0.006694
gpsd: Navigation Configuration 3 7 0 4 0.000000 0.000000 0.000000 -0.000093 0
gpsd: GPS Time 485697.250000 1483 14.000000
gpsd: Sat info: mode 1, satellites used 5:  18 9 28 15 26
gpsd: Sat info: DOP P=0.0 H=0.0 V=0.0 T=1.0 G=1.0
gpsd: Satellite Tracking Status: Ch  0 PRN  10 Res 0 Acq 1 Eph  2 SNR  2.8 LMT 485697.2500 El 10.0 Az 191.7
gpsd: Satellite Tracking Status: Ch  1 PRN  18 Res 0 Acq 1 Eph  2 SNR 20.2 LMT 485697.2500 El 25.9 Az 307.3
gpsd: Satellite Tracking Status: Ch  2 PRN   9 Res 0 Acq 1 Eph  2 SNR 21.6 LMT 485697.2500 El 25.5 Az 272.1
gpsd: Satellite Tracking Status: Ch  3 PRN  17 Res 0 Acq 2 Eph  0 SNR  0.0 LMT 485697.2500 El 23.8 Az 123.5
gpsd: Satellite Tracking Status: Ch  4 PRN  28 Res 0 Acq 1 Eph  2 SNR  5.0 LMT 485697.2500 El 54.4 Az  65.0
gpsd: Satellite Tracking Status: Ch  5 PRN  15 Res 0 Acq 1 Eph  2 SNR 12.0 LMT 485697.2500 El 77.5 Az 260.3
gpsd: Satellite Tracking Status: Ch  6 PRN   8 Res 0 Acq 2 Eph  2 SNR  1.2 LMT 485697.2500 El 16.9 Az  78.8
gpsd: Satellite Tracking Status: Ch  7 PRN  26 Res 0 Acq 1 Eph  2 SNR  7.8 LMT 485697.2500 El 78.8 Az 161.7
gpsd: Unhandled TSIP superpacket type 0xab

Unfortunately, it does not show any information about time or position on
a connected cgps/xgps client.

	Chris




More information about the Time-nuts_lists.febo.com mailing list