[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] Bug: Devices don't always respond if added while WATCH ac
From: |
Ed W |
Subject: |
Re: [gpsd-dev] Bug: Devices don't always respond if added while WATCH active... |
Date: |
Thu, 27 Oct 2011 20:43:04 +0100 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 |
Sorry, to flood, hopefully this is helpful. Same device, worked on
ttyUSB0/1, then unplugged it for a few seconds, back in again as ttyUSB3
Again stty shows me the device is running at 115200 baud, also something
here has tickled gpsd to think it's locked on, yet it also claims to be
at 9600 baud?
Is this some race condition?
I use stty to force it to 9600 and gpsd springs into life... It's
always getting lodged at 115200 I think - is this a clue? (note it
doesn't start at 115200, something is putting it there)
gpsd:INFO: control socket connect on fd 7
gpsd:IO: <= control(7):
+/dev/ttyUSB3\x0d\x0aON","release":"3.2","rev":"2011-10-27T18:32:04.23","proto_major":3,"proto_minor":6}\x0d\x0a
gpsd:INFO: <= control(7): adding /dev/ttyUSB3
gpsd:INFO: NTPD ntpd_link_activate: 1
gpsd:INFO: stashing device /dev/ttyUSB3 at slot 0
gpsd:PROG: no /etc/gpsd/device-hook present, skipped running ACTIVATE hook
gpsd:INFO: opening GPS data source type 3 at '/dev/ttyUSB3'
gpsd:PROG: PPS Create Thread gpsd_ppsmonitor
gpsd:INFO: speed 9600, 8N1
gpsd:PROG: Probing "Garmin USB binary" driver...
gpsd:INFO: attempting USB device enumeration.
gpsd:INFO: 1d6b:0002 (bus 1, device 1)
gpsd:INFO: 1d6b:0001 (bus 2, device 1)
gpsd:INFO: 05e3:0608 (bus 1, device 2)
gpsd:INFO: 12d1:1001 (bus 1, device 7)
gpsd:INFO: 10c4:ea60 (bus 1, device 8)
gpsd:SHOUT: vendor/product match with 091e:0003 not found
gpsd:PROG: Probe not found "Garmin USB binary" driver...
gpsd:PROG: Probing "GeoStar binary" driver...
gpsd:IO: Sent GeoStar packet id 0xc1
gpsd:PROG: PPS chrony socket /tmp/chrony.ttyUSB3.sock doesn't exist
gpsd:IO: => GPS: 5053474700c100010000000050924746
gpsd:PROG: PPS gpsd_ppsmonitor exited???
gpsd:PROG: Probe not found "GeoStar binary" driver...
gpsd:PROG: Probing "Trimble TSIP" driver...
gpsd:INFO: speed 9600, 8O1
gpsd:INFO: speed 9600, 8N1
gpsd:PROG: Probe not found "Trimble TSIP" driver...
gpsd:PROG: no probe matched...
gpsd:INFO: gpsd_activate(): activated GPS (fd 8)
gpsd:INFO: device /dev/ttyUSB3 activated
gpsd:IO: => client(0):
{"class":"DEVICE","path":"/dev/ttyUSB3","activated":1319744166.480883}\x0d\x0a