[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:01:26 +0100 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 |
Hmm, best guess is that the pps thread is gagging on something:
First time I add (should lock to 9600 nmea):
gpsd:IO: <= control(11):
+/dev/ttyUSB0\x0d\x0aON","release":"3.2","rev":"2011-10-27T18:32:04.23","proto_major":3,"proto_minor":6}\x0d\x0a
gpsd:INFO: <= control(11): adding /dev/ttyUSB0
gpsd:INFO: NTPD ntpd_link_activate: 1
gpsd:INFO: stashing device /dev/ttyUSB0 at slot 1
gpsd:PROG: no /etc/gpsd/device-hook present, skipped running ACTIVATE hook
gpsd:INFO: opening GPS data source type 3 at '/dev/ttyUSB0'
gpsd:PROG: PPS Create Thread gpsd_ppsmonitor
gpsd:PROG: PPS chrony socket /tmp/chrony.ttyUSB0.sock doesn't exist
gpsd:INFO: speed 115200, 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: 067b:2303 (bus 2, device 4)
gpsd:INFO: 12d1:1001 (bus 1, device 12)
gpsd:INFO: 10c4:ea60 (bus 1, device 13)
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:IO: => GPS: 5053474700c100010000000050924746
gpsd:INFO: PPS cycle: -184590895, duration: -184590895 @ 1319740186.254801
gpsd:INFO: PPS cycle: -184589931, duration: 964 @ 1319740186.255765
gpsd:INFO: PPS cycle: 1913, duration: 949 @ 1319740186.256714
gpsd:INFO: PPS cycle: 1946, duration: 997 @ 1319740186.257711
gpsd:PROG: Probe not found "GeoStar binary" driver...
gpsd:PROG: Probing "Trimble TSIP" driver...
gpsd:INFO: speed 9600, 8O1
gpsd:INFO: PPS cycle: 1213987, duration: 1212990 @ 1319740187.470701
gpsd:INFO: PPS cycle: 1213976, duration: 986 @ 1319740187.471687
gpsd:INFO: PPS cycle: 1997, duration: 1011 @ 1319740187.472698
gpsd:INFO: PPS cycle: 1998, duration: 987 @ 1319740187.473685
gpsd:INFO: PPS cycle: 1999, duration: 1012 @ 1319740187.474697
gpsd:INFO: PPS cycle: 2000, duration: 988 @ 1319740187.475685
gpsd:INFO: PPS cycle: 810981, duration: 809993 @ 1319740188.285678
gpsd:INFO: PPS cycle: 810984, duration: 991 @ 1319740188.286669
gpsd:INFO: PPS cycle: 1989, duration: 998 @ 1319740188.287667
gpsd:INFO: PPS cycle: 1998, duration: 1000 @ 1319740188.288667
gpsd:INFO: PPS cycle: 1999, duration: 999 @ 1319740188.289666
gpsd:INFO: PPS cycle: 2277, duration: 1278 @ 1319740188.290944
gpsd:INFO: speed 115200, 8N1
gpsd:PROG: Probe not found "Trimble TSIP" driver...
gpsd:PROG: no probe matched...
gpsd:INFO: gpsd_activate(): activated GPS (fd 12)
gpsd:INFO: device /dev/ttyUSB0 activated
gpsd:INFO: PPS cycle: 1010992, duration: 1009714 @ 1319740189.300658
gpsd:INFO: PPS cycle: 1010712, duration: 998 @ 1319740189.301656
... repeats...
I then run remove and add again:
...
gpsd:INFO: PPS cycle: 2019, duration: 963 @ 1319740321.266016
gpsd:INFO: PPS cycle: 2003, duration: 1040 @ 1319740321.267056
gpsd:INFO: control socket connect on fd 11
gpsd:IO: <= control(11):
-/dev/ttyUSB0\x0d\x0aON","release":"3.2","rev":"2011-10-27T18:32:04.23","proto_major":3,"proto_minor":6}\x0d\x0a
gpsd:INFO: <= control(11): removing /dev/ttyUSB0
gpsd:INFO: closing GPS=/dev/ttyUSB0 (12)
gpsd:PROG: no /etc/gpsd/device-hook present, skipped running DEACTIVATE hook
gpsd:PROG: PPS gpsd_ppsmonitor exited???
gpsd:INFO: control socket connect on fd 11
gpsd:IO: <= control(11):
+/dev/ttyUSB0\x0d\x0aON","release":"3.2","rev":"2011-10-27T18:32:04.23","proto_major":3,"proto_minor":6}\x0d\x0a
gpsd:INFO: <= control(11): adding /dev/ttyUSB0
gpsd:INFO: NTPD ntpd_link_activate: 1
gpsd:INFO: stashing device /dev/ttyUSB0 at slot 1
gpsd:PROG: no /etc/gpsd/device-hook present, skipped running ACTIVATE hook
gpsd:INFO: opening GPS data source type 3 at '/dev/ttyUSB0'
gpsd:PROG: PPS Create Thread gpsd_ppsmonitor
gpsd:PROG: PPS chrony socket /tmp/chrony.ttyUSB0.sock doesn't exist
gpsd:PROG: PPS thread awaiting device activation
gpsd:ERROR: device open failed: Device or resource busy - retrying read-only
gpsd:ERROR: read-only device open failed: Device or resource busy
gpsd:INFO: reconnection attempt on device 1
gpsd:PROG: no /etc/gpsd/device-hook present, skipped running ACTIVATE hook
gpsd:INFO: opening GPS data source type 3 at '/dev/ttyUSB0'
gpsd:ERROR: device open failed: Device or resource busy - retrying read-only
gpsd:ERROR: read-only device open failed: Device or resource busy
gpsd:ERROR: /dev/ttyUSB0: device activation failed.
gpsd:PROG: PPS thread awaiting device activation
gpsd:PROG: PPS thread awaiting device activation
gpsd:INFO: reconnection attempt on device 1
gpsd:PROG: no /etc/gpsd/device-hook present, skipped running ACTIVATE hook
gpsd:INFO: opening GPS data source type 3 at '/dev/ttyUSB0'
gpsd:ERROR: device open failed: Device or resource busy - retrying read-only
gpsd:ERROR: read-only device open failed: Device or resource busy
gpsd:ERROR: /dev/ttyUSB0: device activation failed.
gpsd:PROG: PPS thread awaiting device activation
gpsd:PROG: PPS thread awaiting device activation
gpsd:INFO: reconnection attempt on device 1
... repeats rapidly ....