Chris Kuethe wrote: > On Fri, Jun 13, 2008 at 2:46 PM, Tim Cwik <[EMAIL PROTECTED]> wrote: > >> I have changed line 66 to: >> gpsd_set_speed(session, session->gpsdata.baudrate, 'N', 1); >> >> This results in: >> [goodness snipped] >> > > >> I hope this is progress, but I am not sure why gpsd closes the port and >> who sends signal 2. >> > > it's a power saving feature for use on laptops. Close the tty to allow > the chip to idle unless there's an actual consumer of data attached. > If this bothers you (as it does for me), run with "-n", which causes > gpsd to camp on the device, even if no consumer process is asking for > gps data. > > i assume you terminated gpsd with ^C? That's SIGINT or signal #2. > > Thanks, Chris and Christian. I knew about the -n. I usually run gpsd that way. When I used -N for troubleshooting, I saw -n. Today was not my day for multi-tasking. Same dumbness with ^C. >> Is anyone using the thunderbolt with gpsd or are we breaking new ground? >> > > You're breaking new ground. There are a whole lot of gpsd developers > who have actual posession of thunderbolts.... not. Haven't seen the > original TSIP author around in a while and aside from a Copernicus > still in the anti-static packaging, I don't have anything that would > help update the driver. TSIP isn't a terribly complicated driver, but > I dislike changing the drivers without having actual hardware and a > regression test. > > With the serial comms straightened out, I see some data in the logs:
Jun 13 14:27:38 nwhale gpsd[26652]: gpsd: TSIP pkt_id = 0x5c, packetlen= 0x1c Jun 13 14:27:38 nwhale gpsd[26652]: gpsd: TSIP packet id 0x5c length 24: 110001024212cccd4900d7b33e9921914089094800000001 Jun 13 14:27:38 nwhale gpsd[26652]: gpsd: Satellite Tracking Status: Ch 0 PRN 17 Res 0 Acq 1 Eph 2 SNR 36.7 LMT 527739.1875 El 17.1 Az 245.4 Jun 13 14:27:38 nwhale gpsd[26652]: gpsd: TSIP pkt_id = 0x5c, packetlen= 0x1c Jun 13 14:27:38 nwhale gpsd[26652]: gpsd: TSIP packet id 0x5c length 24: 07080102422a66664900d7b33f649eec40496a6100000001 Jun 13 14:27:38 nwhale gpsd[26652]: gpsd: Satellite Tracking Status: Ch 1 PRN 7 Res 0 Acq 1 Eph 2 SNR 42.6 LMT 527739.1875 El 51.2 Az 180.3 Jun 13 14:27:38 nwhale gpsd[26652]: gpsd: TSIP pkt_id = 0x5c, packetlen= 0x1e Jun 13 14:27:38 nwhale gpsd[26652]: gpsd: TSIP packet id 0x5c length 24: 13100102421acccd4900d7b33f1018213f6459da00000001 Jun 13 14:27:38 nwhale gpsd[26652]: gpsd: Satellite Tracking Status: Ch 2 PRN 19 Res 0 Acq 1 Eph 2 SNR 38.7 LMT 527739.1875 El 32.2 Az 51.1 Jun 13 14:27:38 nwhale gpsd[26652]: gpsd: TSIP pkt_id = 0x5c, packetlen= 0x1c Jun 13 14:27:38 nwhale gpsd[26652]: gpsd: TSIP packet id 0x5c length 24: 1c1801024226cccd4900d7b33f2976c840aa093700000001 Jun 13 14:27:38 nwhale gpsd[26652]: gpsd: Satellite Tracking Status: Ch 3 PRN 28 Res 0 Acq 1 Eph 2 SNR 41.7 LMT 527739.1875 El 37.9 Az 304.4 Jun 13 14:27:38 nwhale gpsd[26652]: gpsd: TSIP pkt_id = 0x5c, packetlen= 0x1c Jun 13 14:27:38 nwhale gpsd[26652]: gpsd: TSIP packet id 0x5c length 24: 0b200102422b999a4900d7b33f89f67340248e9600000001 Jun 13 14:27:38 nwhale gpsd[26652]: gpsd: Satellite Tracking Status: Ch 4 PRN 11 Res 0 Acq 1 Eph 2 SNR 42.9 LMT 527739.1875 El 61.8 Az 147.3 Jun 13 14:27:38 nwhale gpsd[26652]: gpsd: TSIP pkt_id = 0x5c, packetlen= 0x1c Jun 13 14:27:38 nwhale gpsd[26652]: gpsd: TSIP packet id 0x5c length 24: 08280102422d999a4900d7b33f9a5dad409432c500000001 Jun 13 14:27:38 nwhale gpsd[26652]: gpsd: Satellite Tracking Status: Ch 5 PRN 8 Res 0 Acq 1 Eph 2 SNR 43.4 LMT 527739.1875 El 69.1 Az 265.3 Jun 13 14:27:38 nwhale gpsd[26652]: gpsd: TSIP pkt_id = 0x5c, packetlen= 0x1c Jun 13 14:27:38 nwhale gpsd[26652]: gpsd: TSIP packet id 0x5c length 24: 19300102421d999a4900d7b33f126e8540413d6c00000001 Jun 13 14:27:38 nwhale gpsd[26652]: gpsd: Satellite Tracking Status: Ch 6 PRN 25 Res 0 Acq 1 Eph 2 SNR 39.4 LMT 527739.1875 El 32.8 Az 173.0 Jun 13 14:27:39 nwhale gpsd[26652]: gpsd: TSIP pkt_id = 0x5c, packetlen= 0x1c Jun 13 14:27:39 nwhale gpsd[26652]: gpsd: TSIP packet id 0x5c length 24: 1b380102422f999a4900d7b33f80bd49405db8e300000001 Jun 13 14:27:39 nwhale gpsd[26652]: gpsd: Satellite Tracking Status: Ch 7 PRN 27 Res 0 Acq 1 Eph 2 SNR 43.9 LMT 527739.1875 El 57.6 Az 198.5 Jun 13 14:27:39 nwhale gpsd[26652]: gpsd: Sent TSIP packet id 0x21: Jun 13 14:27:39 nwhale gpsd[26652]: gpsd: Sent TSIP packet id 0x24: Jun 13 14:27:39 nwhale gpsd[26652]: gpsd: <= GPS: $GPGSV,2,1,08,17,17,245,37,07,51,180,43,19,32,051,39,28,38,304,42*7F\x0d\x0a$GPGSV,2,2,08,11,62,147,43,08, 9,265,43,25,33,173,39,27,58,198,44*71 Jun 13 14:27:39 nwhale gpsd[26652]: gpsd: TSIP pkt_id = 0x41, packetlen= 0xe Jun 13 14:27:39 nwhale gpsd[26652]: gpsd: TSIP packet id 0x41 length 10: 4900d7b805cb41600000 Jun 13 14:27:39 nwhale gpsd[26652]: gpsd: ntpshm_put: Clock: 1213410925 @ 1213381659.053281 Jun 13 14:27:39 nwhale gpsd[26652]: gpsd: GPS Time 527739.500000 1483 14.000000 Jun 13 14:27:39 nwhale gpsd[26652]: gpsd: TSIP pkt_id = 0x6d, packetlen= 0x1d Jun 13 14:27:39 nwhale gpsd[26652]: gpsd: TSIP packet id 0x6d length 25: 8d0000000000000000000000003f8000001107131c0b08191b Jun 13 14:27:39 nwhale gpsd[26652]: gpsd: Sat info: mode 1, satellites used 8: 17 7 19 28 11 8 25 27 Jun 13 14:27:39 nwhale gpsd[26652]: gpsd: Sat info: DOP P=0.0 H=0.0 V=0.0 T=1.0 G=1.0 un 13 14:27:39 nwhale gpsd[26652]: gpsd: <= GPS: $GPGSA,A,1,17,07,19,28,11,08,25,27,,,,,,,,*3B Jun 13 14:27:39 nwhale gpsd[26652]: gpsd: TSIP pkt_id = 0x8f, packetlen= 0x15 Jun 13 14:27:39 nwhale gpsd[26652]: gpsd: TSIP packet id 0x8f length 17: ab00080d7c05cb000e002823020e0607d8 Jun 13 14:27:39 nwhale gpsd[26652]: gpsd: Unhandled TSIP superpacket type 0xab Jun 13 14:27:39 nwhale gpsd[26652]: gpsd: TSIP pkt_id = 0x8f, packetlen= 0x48 Jun 13 14:27:39 nwhale gpsd[26652]: gpsd: TSIP packet id 0x8f length 68: ac0700640000002b0000004000000000bf6c9df13c155957000861953e73f480422300043fe5d1609572ff6bbff4e1debfbb572cc03aa9d2acdc00000000000000000001 Jun 13 14:27:39 nwhale gpsd[26652]: gpsd: Unhandled TSIP superpacket type 0xac Jun 13 14:27:40 nwhale gpsd[26652]: gpsd: TSIP pkt_id = 0x8f, packetlen= 0x15 Jun 13 14:27:40 nwhale gpsd[26652]: gpsd: TSIP packet id 0x8f length 17: ab00080d7d05cb000e002923020e0607d8 Jun 13 14:27:40 nwhale gpsd[26652]: gpsd: Unhandled TSIP superpacket type 0xab Jun 13 14:27:40 nwhale gpsd[26652]: gpsd: TSIP pkt_id = 0x8f, packetlen= 0x48 The Sat data seems to make it to cgps, but it does not see a position, time, or fix: Time: n/a ??PRN: Elev: Azim: SNR: Used: ? ? Latitude: n/a ?? 17 18 246 41 Y ? ? Longitude: n/a ?? 7 50 180 42 Y ? ? Altitude: n/a ?? 19 31 052 40 Y ? ? Speed: n/a ?? 28 39 305 42 Y ? ? Heading: n/a ?? 11 63 145 42 Y ? ? Climb: n/a ?? 8 69 261 40 Y ? ? Status: NO FIX (20 secs) ?? 25 31 173 39 Y ? ? GPS Type: Trimble TSIP 3.0 020627 1 ?? 27 56 198 42 Y ? ? Horizontal Err: n/a ?? ? ? Vertical Err: n/a ?? ? ? Course Err: n/a ?? ? ? Speed Err: n/a ?? ? ? I will look at the TSIP. Maybe I can make some sort of contribution. But I may wind up with all sorts of questions. Please let me know when I am being a pest. I am not sure about your workload and I know the Copernicus is calling you, but I have a THunderbolt I can loan you if that would help your development direction. Again, thanks for your help. Tim _______________________________________________ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there.