Advertisement
Guest User

Untitled

a guest
Oct 20th, 2014
347
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.71 KB | None | 0 0
  1. $ sudo /usr/sbin/gpsd -F /var/run/gpsd.sock -P /var/run/gpsd.pid -N -D 10 /dev/ttyS0
  2. gpsd:SPIN: control socket /var/run/gpsd.sock is fd 3
  3. gpsd:PROG: control socket opened at /var/run/gpsd.sock
  4. gpsd:INFO: launching (Version 3.9)
  5. gpsd:IO: opening IPv4 socket
  6. gpsd:SPIN: passivesock_af() -> 4
  7. gpsd:IO: opening IPv6 socket
  8. gpsd:SPIN: passivesock_af() -> 5
  9. gpsd:INFO: listening on port gpsd
  10. gpsd:PROG: NTPD shmat(0,0,0) succeeded, segment 0
  11. gpsd:PROG: NTPD shmat(32769,0,0) succeeded, segment 1
  12. gpsd:PROG: NTPD shmat(65538,0,0) succeeded, segment 2
  13. gpsd:PROG: NTPD shmat(98307,0,0) succeeded, segment 3
  14. gpsd:PROG: successfully connected to the DBUS system bus
  15. gpsd:PROG: shmat() succeeded, segment 131076
  16. gpsd:PROG: shared-segment creation succeeded,
  17. gpsd:INFO: NTPD ntpd_link_activate: 1
  18. gpsd:INFO: stashing device /dev/ttyS0 at slot 0
  19. gpsd:INFO: running with effective group ID 20
  20. gpsd:INFO: running with effective user ID 65534
  21. gpsd:INFO: startup at 2014-10-20T22:08:00.000Z (1413842880)
  22. gpsd:UNK: select waits
  23. gpsd:SPIN: select() {3 4 5} -> { 5 } at 1413842916.163260 (errno 0)
  24. gpsd:SPIN: client ::1 (0) connect on fd 7
  25. gpsd:IO: => client(0): {"class":"VERSION","release":"3.9","rev":"3.9","proto_major":3,"proto_minor":8}\x0d\x0a
  26. gpsd:UNK: select waits
  27. gpsd:SPIN: select() {3 4 5 7} -> { 7 } at 1413842916.164540 (errno 0)
  28. gpsd:PROG: checking client(0)
  29. gpsd:IO: <= client(0): ?WATCH={"enable":true,"json":true};\x0a
  30. json: json_read_object() sees '{"enable":true,"json":true};
  31. '
  32. json: Target address for class (offset 0) is (nil)
  33. json: Target address for enable (offset 0) is 0x60f4d0
  34. json: Target address for scaled (offset 0) is 0x60f4d8
  35. json: Target address for timing (offset 0) is 0x60f4d9
  36. json: Target address for device (offset 0) is 0x60f4e0
  37. json: Target address for remote (offset 0) is 0x60f560
  38. json: JSON parse of '{"enable":true,"json":true};
  39. ' begins.
  40. json: State init , looking at '{' (0x7fff749847f7)
  41. json: State await_attr , looking at '"' (0x7fff749847f8)
  42. json: State in_attr , looking at 'e' (0x7fff749847f9)
  43. json: State in_attr , looking at 'n' (0x7fff749847fa)
  44. json: State in_attr , looking at 'a' (0x7fff749847fb)
  45. json: State in_attr , looking at 'b' (0x7fff749847fc)
  46. json: State in_attr , looking at 'l' (0x7fff749847fd)
  47. json: State in_attr , looking at 'e' (0x7fff749847fe)
  48. json: State in_attr , looking at '"' (0x7fff749847ff)
  49. json: Collected attribute name enable
  50. json: Checking against class
  51. json: Checking against enable
  52. json: State await_value , looking at ':' (0x7fff74984800)
  53. json: State await_value , looking at 't' (0x7fff74984801)
  54. json: State in_val_token , looking at 'r' (0x7fff74984802)
  55. json: State in_val_token , looking at 'u' (0x7fff74984803)
  56. json: State in_val_token , looking at 'e' (0x7fff74984804)
  57. json: State in_val_token , looking at ',' (0x7fff74984805)
  58. json: Collected token value true.
  59. json: State post_val , looking at ',' (0x7fff74984805)
  60. json: Target address for enable (offset 0) is 0x60f4d0
  61. json: State await_attr , looking at '"' (0x7fff74984806)
  62. json: State in_attr , looking at 'j' (0x7fff74984807)
  63. json: State in_attr , looking at 's' (0x7fff74984808)
  64. json: State in_attr , looking at 'o' (0x7fff74984809)
  65. json: State in_attr , looking at 'n' (0x7fff7498480a)
  66. json: State in_attr , looking at '"' (0x7fff7498480b)
  67. json: Collected attribute name json
  68. json: Checking against class
  69. json: Checking against enable
  70. json: Checking against json
  71. json: State await_value , looking at ':' (0x7fff7498480c)
  72. json: State await_value , looking at 't' (0x7fff7498480d)
  73. json: State in_val_token , looking at 'r' (0x7fff7498480e)
  74. json: State in_val_token , looking at 'u' (0x7fff7498480f)
  75. json: State in_val_token , looking at 'e' (0x7fff74984810)
  76. json: State in_val_token , looking at '}' (0x7fff74984811)
  77. json: Collected token value true.
  78. json: State post_val , looking at '}' (0x7fff74984811)
  79. json: Target address for json (offset 0) is 0x60f4d1
  80. json: JSON parse ends.
  81. gpsd:PROG: no /etc/gpsd/device-hook present, skipped running ACTIVATE hook
  82. gpsd:INFO: opening GPS data source type 2 at '/dev/ttyS0'
  83. gpsd:INFO: speed 9600, 8N1
  84. gpsd:IO: => GPS: $PASHQ,RID*28\x0d\x0a
  85. gpsd:IO: => GPS: @F0.3=1*67\x0d\x0a
  86. gpsd:IO: => GPS: @F2.2=1*64\x0d\x0a
  87. gpsd:IO: writing oncore control type Cj
  88. gpsd:IO: => GPS: @@Cj)\x0d\x0aRID*28\x0d\x0a
  89. gpsd:SPIN: open(/dev/ttyS0) -> 8 in gpsd_serial_open()
  90. gpsd:PROG: Probing "Garmin USB binary" driver...
  91. gpsd:PROG: Probe not found "Garmin USB binary" driver...
  92. gpsd:PROG: Probing "GeoStar binary" driver...
  93. gpsd:IO: Sent GeoStar packet id 0xc1
  94. gpsd:IO: => GPS: 5053474700c100010000000050924746
  95. gpsd:SPIN: packet_get() fd 8 -> 8 (0)
  96. gpsd:UNK: ISGPS syncing at byte 0: 0x00000001
  97. gpsd:UNK: ISGPS syncing at byte 0: 0x00000002
  98. gpsd:UNK: ISGPS syncing at byte 0: 0x00000005
  99. gpsd:UNK: ISGPS syncing at byte 0: 0x0000000a
  100. gpsd:UNK: ISGPS syncing at byte 0: 0x00000014
  101. gpsd:UNK: ISGPS syncing at byte 0: 0x00000028
  102. gpsd:UNK: ISGPS lock never achieved
  103. gpsd:UNK: 00000000: character 'E' [45], new state: EARTHA_1
  104. gpsd:UNK: 00000001: character ',' [2c], new state: GROUND_STATE
  105. gpsd:UNK: ISGPS word tag not correct, skipping byte
  106. gpsd:UNK: 00000002: character ',' [2c], new state: GROUND_STATE
  107. gpsd:UNK: ISGPS word tag not correct, skipping byte
  108. gpsd:UNK: 00000003: character '2' [32], new state: GROUND_STATE
  109. gpsd:UNK: ISGPS word tag not correct, skipping byte
  110. gpsd:UNK: 00000004: character ',' [2c], new state: GROUND_STATE
  111. gpsd:UNK: ISGPS word tag not correct, skipping byte
  112. gpsd:UNK: 00000005: character '0' [30], new state: GROUND_STATE
  113. gpsd:UNK: ISGPS word tag not correct, skipping byte
  114. gpsd:UNK: 00000006: character '8' [38], new state: GROUND_STATE
  115. gpsd:UNK: ISGPS word tag not correct, skipping byte
  116. gpsd:UNK: 00000007: character ',' [2c], new state: GROUND_STATE
  117. gpsd:UNK: ISGPS word tag not correct, skipping byte
  118. gpsd:UNK: 00000008: character '1' [31], new state: GROUND_STATE
  119. gpsd:SPIN: packet_get() fd 8 -> 8 (0)
  120. gpsd:UNK: ISGPS word tag not correct, skipping byte
  121. gpsd:UNK: 00000009: character '.' [2e], new state: GROUND_STATE
  122. gpsd:UNK: ISGPS word tag not correct, skipping byte
  123. gpsd:UNK: 00000010: character '1' [31], new state: GROUND_STATE
  124. gpsd:UNK: ISGPS word tag not correct, skipping byte
  125. gpsd:UNK: 00000011: character '4' [34], new state: GROUND_STATE
  126. gpsd:UNK: ISGPS word tag not correct, skipping byte
  127. gpsd:UNK: 00000012: character ',' [2c], new state: GROUND_STATE
  128. gpsd:UNK: ISGPS word tag not correct, skipping byte
  129. gpsd:UNK: 00000013: character '2' [32], new state: GROUND_STATE
  130. gpsd:UNK: ISGPS word tag not correct, skipping byte
  131. gpsd:UNK: 00000014: character '0' [30], new state: GROUND_STATE
  132. gpsd:UNK: ISGPS word tag not correct, skipping byte
  133. gpsd:UNK: 00000015: character '7' [37], new state: GROUND_STATE
  134. gpsd:UNK: ISGPS word tag not correct, skipping byte
  135. gpsd:UNK: 00000016: character '.' [2e], new state: GROUND_STATE
  136. gpsd:SPIN: packet_get() fd 8 -> 8 (0)
  137. gpsd:UNK: ISGPS word tag not correct, skipping byte
  138. gpsd:UNK: 00000017: character '3' [33], new state: GROUND_STATE
  139. gpsd:UNK: ISGPS word tag not correct, skipping byte
  140. gpsd:UNK: 00000018: character ',' [2c], new state: GROUND_STATE
  141. gpsd:UNK: ISGPS syncing at byte 19: 0x00000051
  142. gpsd:UNK: ISGPS syncing at byte 19: 0x000000a2
  143. gpsd:UNK: ISGPS syncing at byte 19: 0x00000145
  144. gpsd:UNK: ISGPS syncing at byte 19: 0x0000028b
  145. gpsd:UNK: ISGPS syncing at byte 19: 0x00000516
  146. gpsd:UNK: ISGPS syncing at byte 19: 0x00000a2c
  147. gpsd:UNK: ISGPS lock never achieved
  148. gpsd:UNK: 00000019: character 'M' [4d], new state: GROUND_STATE
  149. gpsd:UNK: ISGPS word tag not correct, skipping byte
  150. gpsd:UNK: 00000020: character ',' [2c], new state: GROUND_STATE
  151. gpsd:UNK: ISGPS word tag not correct, skipping byte
  152. gpsd:UNK: 00000021: character '4' [34], new state: GROUND_STATE
  153. gpsd:UNK: ISGPS word tag not correct, skipping byte
  154. gpsd:UNK: 00000022: character '8' [38], new state: GROUND_STATE
  155. gpsd:UNK: ISGPS word tag not correct, skipping byte
  156. gpsd:UNK: 00000023: character '.' [2e], new state: GROUND_STATE
  157. gpsd:UNK: ISGPS word tag not correct, skipping byte
  158. gpsd:UNK: 00000024: character '0' [30], new state: GROUND_STATE
  159. gpsd:PROG: Probe not found "GeoStar binary" driver...
  160. gpsd:PROG: Probing "Trimble TSIP" driver...
  161. gpsd:INFO: speed 9600, 8O1
  162. gpsd:IO: => GPS: $PASHQ,RID*28\x0d\x0a
  163. gpsd:IO: => GPS: @F0.3=1*67\x0d\x0a
  164. gpsd:IO: => GPS: @F2.2=1*64\x0d\x0a
  165. gpsd:IO: writing oncore control type Cj
  166. gpsd:IO: => GPS: @@Cj)\x0d\x0aRID*28\x0d\x0a
  167. gpsd:SPIN: packet_get() fd 8 -> 1 (0)
  168. gpsd:UNK: ISGPS word tag not correct, skipping byte
  169. gpsd:UNK: 00000025: character '.' [00], new state: GROUND_STATE
  170. gpsd:SPIN: packet_get() fd 8 -> 1 (0)
  171. gpsd:UNK: ISGPS word tag not correct, skipping byte
  172. gpsd:UNK: 00000026: character '.' [00], new state: GROUND_STATE
  173. gpsd:SPIN: packet_get() fd 8 -> 1 (0)
  174. gpsd:UNK: ISGPS word tag not correct, skipping byte
  175. gpsd:UNK: 00000027: character '.' [00], new state: GROUND_STATE
  176. gpsd:INFO: speed 9600, 8N1
  177. gpsd:IO: => GPS: $PASHQ,RID*28\x0d\x0a
  178. gpsd:IO: => GPS: @F0.3=1*67\x0d\x0a
  179. gpsd:IO: => GPS: @F2.2=1*64\x0d\x0a
  180. gpsd:IO: writing oncore control type Cj
  181. gpsd:IO: => GPS: @@Cj)\x0d\x0aRID*28\x0d\x0a
  182. gpsd:PROG: Probe not found "Trimble TSIP" driver...
  183. gpsd:PROG: no probe matched...
  184. gpsd:INFO: gpsd_activate(): activated GPS (fd 8)
  185. gpsd:RAW: flagging descriptor 8 in assign_channel()
  186. gpsd:IO: => client(0): {"class":"DEVICES","devices":[{"class":"DEVICE","path":"/dev/ttyS0","activated":"2014-10-20T22:08:37.664Z","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
  187. gpsd:UNK: select waits
  188. gpsd:SPIN: select() {3 4 5 7 8} -> { 8 } at 1413842917.666536 (errno 0)
  189. gpsd:UNK: polling 8
  190. gpsd:UNK: no bytes ready
  191. gpsd:SPIN: packet_get() fd 8 -> 0 (11)
  192. gpsd:UNK: /dev/ttyS0 sent 0 new characters
  193. gpsd:DATA: /dev/ttyS0 returned zero bytes
  194. gpsd:DATA: /dev/ttyS0 will be repolled in 0.010000 seconds
  195. gpsd:UNK: select waits
  196. gpsd:SPIN: select() {3 4 5 7} -> { 7 } at 1413842922.671064 (errno 0)
  197. gpsd:DATA: /dev/ttyS0 reawakened after zero-length read
  198. gpsd:PROG: checking client(0)
  199. gpsd:SPIN: close(7) in detach_client()
  200. gpsd:INFO: detaching ::1 (sub 0, fd 7) in detach_client
  201. gpsd:UNK: select waits
  202. gpsd:SPIN: select() {3 4 5 8} -> { 8 } at 1413842923.423244 (errno 0)
  203. gpsd:UNK: polling 8
  204. gpsd:UNK: no bytes ready
  205. gpsd:SPIN: packet_get() fd 8 -> 0 (11)
  206. gpsd:UNK: /dev/ttyS0 sent 0 new characters
  207. gpsd:INFO: GPS on /dev/ttyS0 is offline (5.758957 sec since data)
  208. gpsd:DATA: /dev/ttyS0 returned zero bytes
  209. gpsd:INFO: closing GPS=/dev/ttyS0 (8)
  210. gpsd:SPIN: close(8) in gpsd_close(/dev/ttyS0)
  211. gpsd:PROG: no /etc/gpsd/device-hook present, skipped running DEACTIVATE hook
  212. gpsd:UNK: select waits
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement