, cgps пишет что {"class":"DEVICE","path":"/dev/ttyACM2","activated":1289117660.12,"
Код: Выделить всё
[root@Dis dev]# gpsd -Nn /dev/ttyACM1 -D 5
gpsd: launching (Version 2.94)
gpsd: opening IPv4 socket
gpsd: opening IPv6 socket
gpsd: can't bind to IPv6 port gpsd, Address already in use
gpsd: maybe gpsd is already running!
gpsd: listening on port gpsd
gpsd: NTPD shmat(1605636,0,0) succeeded, segment 0
gpsd: NTPD shmat(1638405,0,0) succeeded, segment 1
gpsd: NTPD shmat(1671174,0,0) succeeded, segment 2
gpsd: NTPD shmat(1703943,0,0) succeeded, segment 3
gpsd: successfully connected to the DBUS system bus
gpsd: running with effective group ID 0
gpsd: running with effective user ID 0
gpsd: opening read-only GPS data source type 0 and at '/dev/ttyACM1'
gpsd: speed 9600, 8N1
gpsd: => GPS: 2450415348512c5249442a32380d0a FAILED
gpsd: => GPS: @F0.3=1*67\x0d\x0a FAILEDgpsd: => GPS: @F2.2=1*64\x0d\x0a FAILEDgpsd: writing oncore control type Cj:4040436a290d0a
gpsd: => GPS: 4040436a290d0a FAILED
gpsd: => GPS: 0299661c0800040200001203 FAILED
gpsd: Navcom: sent command 0x1c (Test Support Block)
gpsd: Navcom: command 0x1c mode = 02, length = 0
gpsd: => GPS: 029966200e000001ae02000071000000f203 FAILED
gpsd: Navcom: sent command 0x20 (Data Request) - data block id = ae at rate 00
gpsd: => GPS: 029966200e00000186020a0071000000d003 FAILED
gpsd: Navcom: sent command 0x20 (Data Request) - data block id = 86 at rate 0a
gpsd: writing superstar2 control type 63 len 14:013fc008554750532d3030300403
gpsd: => GPS: 013fc008554750532d3030300403 FAILED
gpsd: writing superstar2 control type 45 len 6:012dd2000001
gpsd: => GPS: 012dd2000001 FAILED
gpsd: Probing TSIP
gpsd: speed 9600, 8O1
gpsd: => GPS: 2450415348512c5249442a32380d0a FAILED
gpsd: => GPS: @F0.3=1*67\x0d\x0a FAILEDgpsd: => GPS: @F2.2=1*64\x0d\x0a FAILEDgpsd: writing oncore control type Cj:4040436a290d0a
gpsd: => GPS: 4040436a290d0a FAILED
gpsd: => GPS: 0299661c0800040200001203 FAILED
gpsd: Navcom: sent command 0x1c (Test Support Block)
gpsd: Navcom: command 0x1c mode = 02, length = 0
gpsd: => GPS: 029966200e000001ae02000071000000f203 FAILED
gpsd: Navcom: sent command 0x20 (Data Request) - data block id = ae at rate 00
gpsd: => GPS: 029966200e00000186020a0071000000d003 FAILED
gpsd: Navcom: sent command 0x20 (Data Request) - data block id = 86 at rate 0a
gpsd: writing superstar2 control type 63 len 14:013fc008554750532d3030300403
gpsd: => GPS: 013fc008554750532d3030300403 FAILED
gpsd: writing superstar2 control type 45 len 6:012dd2000001
gpsd: => GPS: 012dd2000001 FAILED
gpsd: speed 9600, 8N1
gpsd: => GPS: 2450415348512c5249442a32380d0a FAILED
gpsd: => GPS: @F0.3=1*67\x0d\x0a FAILEDgpsd: => GPS: @F2.2=1*64\x0d\x0a FAILEDgpsd: writing oncore control type Cj:4040436a290d0a
gpsd: => GPS: 4040436a290d0a FAILED
gpsd: => GPS: 0299661c0800040200001203 FAILED
gpsd: Navcom: sent command 0x1c (Test Support Block)
gpsd: Navcom: command 0x1c mode = 02, length = 0
gpsd: => GPS: 029966200e000001ae02000071000000f203 FAILED
gpsd: Navcom: sent command 0x20 (Data Request) - data block id = ae at rate 00
gpsd: => GPS: 029966200e00000186020a0071000000d003 FAILED
gpsd: Navcom: sent command 0x20 (Data Request) - data block id = 86 at rate 0a
gpsd: writing superstar2 control type 63 len 14:013fc008554750532d3030300403
gpsd: => GPS: 013fc008554750532d3030300403 FAILED
gpsd: writing superstar2 control type 45 len 6:012dd2000001
gpsd: => GPS: 012dd2000001 FAILED
gpsd: no probe matched...
gpsd: gpsd_activate(): opened GPS (fd 6)
^Cgpsd: Received terminating signal 2. Exiting...
gpsd: closing GPS=/dev/ttyACM1 (6)
[root@Dis dev]# gpsd -Nn /dev/ttyACM2 -D 5
gpsd: launching (Version 2.94)
gpsd: opening IPv4 socket
gpsd: opening IPv6 socket
gpsd: can't bind to IPv6 port gpsd, Address already in use
gpsd: maybe gpsd is already running!
gpsd: listening on port gpsd
gpsd: NTPD shmat(1605636,0,0) succeeded, segment 0
gpsd: NTPD shmat(1638405,0,0) succeeded, segment 1
gpsd: NTPD shmat(1671174,0,0) succeeded, segment 2
gpsd: NTPD shmat(1703943,0,0) succeeded, segment 3
gpsd: successfully connected to the DBUS system bus
gpsd: running with effective group ID 0
gpsd: running with effective user ID 0
gpsd: opening read-only GPS data source type 0 and at '/dev/ttyACM2'
gpsd: speed 9600, 8N1
gpsd: => GPS: 2450415348512c5249442a32380d0a FAILED
gpsd: => GPS: @F0.3=1*67\x0d\x0a FAILEDgpsd: => GPS: @F2.2=1*64\x0d\x0a FAILEDgpsd: writing oncore control type Cj:4040436a290d0a
gpsd: => GPS: 4040436a290d0a FAILED
gpsd: => GPS: 0299661c0800040200001203 FAILED
gpsd: Navcom: sent command 0x1c (Test Support Block)
gpsd: Navcom: command 0x1c mode = 02, length = 0
gpsd: => GPS: 029966200e000001ae02000071000000f203 FAILED
gpsd: Navcom: sent command 0x20 (Data Request) - data block id = ae at rate 00
gpsd: => GPS: 029966200e00000186020a0071000000d003 FAILED
gpsd: Navcom: sent command 0x20 (Data Request) - data block id = 86 at rate 0a
gpsd: writing superstar2 control type 63 len 14:013fc008554750532d3030300403
gpsd: => GPS: 013fc008554750532d3030300403 FAILED
gpsd: writing superstar2 control type 45 len 6:012dd2000001
gpsd: => GPS: 012dd2000001 FAILED
gpsd: Probing TSIP
gpsd: speed 9600, 8O1
gpsd: => GPS: 2450415348512c5249442a32380d0a FAILED
gpsd: => GPS: @F0.3=1*67\x0d\x0a FAILEDgpsd: => GPS: @F2.2=1*64\x0d\x0a FAILEDgpsd: writing oncore control type Cj:4040436a290d0a
gpsd: => GPS: 4040436a290d0a FAILED
gpsd: => GPS: 0299661c0800040200001203 FAILED
gpsd: Navcom: sent command 0x1c (Test Support Block)
gpsd: Navcom: command 0x1c mode = 02, length = 0
gpsd: => GPS: 029966200e000001ae02000071000000f203 FAILED
gpsd: Navcom: sent command 0x20 (Data Request) - data block id = ae at rate 00
gpsd: => GPS: 029966200e00000186020a0071000000d003 FAILED
gpsd: Navcom: sent command 0x20 (Data Request) - data block id = 86 at rate 0a
gpsd: writing superstar2 control type 63 len 14:013fc008554750532d3030300403
gpsd: => GPS: 013fc008554750532d3030300403 FAILED
gpsd: writing superstar2 control type 45 len 6:012dd2000001
gpsd: => GPS: 012dd2000001 FAILED
gpsd: speed 9600, 8N1
gpsd: => GPS: 2450415348512c5249442a32380d0a FAILED
gpsd: => GPS: @F0.3=1*67\x0d\x0a FAILEDgpsd: => GPS: @F2.2=1*64\x0d\x0a FAILEDgpsd: writing oncore control type Cj:4040436a290d0a
gpsd: => GPS: 4040436a290d0a FAILED
gpsd: => GPS: 0299661c0800040200001203 FAILED
gpsd: Navcom: sent command 0x1c (Test Support Block)
gpsd: Navcom: command 0x1c mode = 02, length = 0
gpsd: => GPS: 029966200e000001ae02000071000000f203 FAILED
gpsd: Navcom: sent command 0x20 (Data Request) - data block id = ae at rate 00
gpsd: => GPS: 029966200e00000186020a0071000000d003 FAILED
gpsd: Navcom: sent command 0x20 (Data Request) - data block id = 86 at rate 0a
gpsd: writing superstar2 control type 63 len 14:013fc008554750532d3030300403
gpsd: => GPS: 013fc008554750532d3030300403 FAILED
gpsd: writing superstar2 control type 45 len 6:012dd2000001
gpsd: => GPS: 012dd2000001 FAILED
gpsd: no probe matched...
gpsd: gpsd_activate(): opened GPS (fd 6)
gpsd: => client(0): {"class":"VERSION","release":"2.94","rev":"2010-06-18T09:09:02","proto_major":3,"proto_minor":2}
gpsd: checking client(0)
gpsd: <= client(0): ?WATCH={"enable":true,"json":true};
json: json_read_object() sees '{"enable":true,"json":true};
'
json: Target address for class (offset 0) is (nil)
json: Target address for enable (offset 0) is 0x805348c
json: Target address for scaled (offset 0) is 0x8053494
json: Target address for timing (offset 0) is 0x8053495
json: Target address for device (offset 0) is 0x8053496
json: JSON parse of '{"enable":true,"json":true};
' begins.
json: State init , looking at '{' (0xbfc30157)
json: State await_attr , looking at '"' (0xbfc30158)
json: State in_attr , looking at 'e' (0xbfc30159)
json: State in_attr , looking at 'n' (0xbfc3015a)
json: State in_attr , looking at 'a' (0xbfc3015b)
json: State in_attr , looking at 'b' (0xbfc3015c)
json: State in_attr , looking at 'l' (0xbfc3015d)
json: State in_attr , looking at 'e' (0xbfc3015e)
json: State in_attr , looking at '"' (0xbfc3015f)
json: Collected attribute name enable
json: State await_value , looking at ':' (0xbfc30160)
json: State await_value , looking at 't' (0xbfc30161)
json: State in_val_token , looking at 'r' (0xbfc30162)
json: State in_val_token , looking at 'u' (0xbfc30163)
json: State in_val_token , looking at 'e' (0xbfc30164)
json: State in_val_token , looking at ',' (0xbfc30165)
json: Collected token value true.
json: State post_val , looking at ',' (0xbfc30165)
json: Target address for enable (offset 0) is 0x805348c
json: State await_attr , looking at '"' (0xbfc30166)
json: State in_attr , looking at 'j' (0xbfc30167)
json: State in_attr , looking at 's' (0xbfc30168)
json: State in_attr , looking at 'o' (0xbfc30169)
json: State in_attr , looking at 'n' (0xbfc3016a)
json: State in_attr , looking at '"' (0xbfc3016b)
json: Collected attribute name json
json: State await_value , looking at ':' (0xbfc3016c)
json: State await_value , looking at 't' (0xbfc3016d)
json: State in_val_token , looking at 'r' (0xbfc3016e)
json: State in_val_token , looking at 'u' (0xbfc3016f)
json: State in_val_token , looking at 'e' (0xbfc30170)
json: State in_val_token , looking at '}' (0xbfc30171)
json: Collected token value true.
json: State post_val , looking at '}' (0xbfc30171)
json: Target address for json (offset 0) is 0x805348d
json: JSON parse ends.
gpsd: client(0): device 0 (fd=6, path /dev/ttyACM2) already active.
gpsd: => client(0): {"class":"DEVICES","devices":[{"class":"DEVICE","path":"/dev/ttyACM2","activated":1289117660.12,"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}
gpsd: checking client(0)
gpsd: detaching 127.0.0.1 (sub 0, fd 7) in detach_client
gpsd: => client(0): {"class":"VERSION","release":"2.94","rev":"2010-06-18T09:09:02","proto_major":3,"proto_minor":2}
gpsd: checking client(0)
gpsd: <= client(0): ?WATCH={"enable":true,"json":true};
json: json_read_object() sees '{"enable":true,"json":true};
'
json: Target address for class (offset 0) is (nil)
json: Target address for enable (offset 0) is 0x805348c
json: Target address for scaled (offset 0) is 0x8053494
json: Target address for timing (offset 0) is 0x8053495
json: Target address for device (offset 0) is 0x8053496
json: JSON parse of '{"enable":true,"json":true};
' begins.
json: State init , looking at '{' (0xbfc30157)
json: State await_attr , looking at '"' (0xbfc30158)
json: State in_attr , looking at 'e' (0xbfc30159)
json: State in_attr , looking at 'n' (0xbfc3015a)
json: State in_attr , looking at 'a' (0xbfc3015b)
json: State in_attr , looking at 'b' (0xbfc3015c)
json: State in_attr , looking at 'l' (0xbfc3015d)
json: State in_attr , looking at 'e' (0xbfc3015e)
json: State in_attr , looking at '"' (0xbfc3015f)
json: Collected attribute name enable
json: State await_value , looking at ':' (0xbfc30160)
json: State await_value , looking at 't' (0xbfc30161)
json: State in_val_token , looking at 'r' (0xbfc30162)
json: State in_val_token , looking at 'u' (0xbfc30163)
json: State in_val_token , looking at 'e' (0xbfc30164)
json: State in_val_token , looking at ',' (0xbfc30165)
json: Collected token value true.
json: State post_val , looking at ',' (0xbfc30165)
json: Target address for enable (offset 0) is 0x805348c
json: State await_attr , looking at '"' (0xbfc30166)
json: State in_attr , looking at 'j' (0xbfc30167)
json: State in_attr , looking at 's' (0xbfc30168)
json: State in_attr , looking at 'o' (0xbfc30169)
json: State in_attr , looking at 'n' (0xbfc3016a)
json: State in_attr , looking at '"' (0xbfc3016b)
json: Collected attribute name json
json: State await_value , looking at ':' (0xbfc3016c)
json: State await_value , looking at 't' (0xbfc3016d)
json: State in_val_token , looking at 'r' (0xbfc3016e)
json: State in_val_token , looking at 'u' (0xbfc3016f)
json: State in_val_token , looking at 'e' (0xbfc30170)
json: State in_val_token , looking at '}' (0xbfc30171)
json: Collected token value true.
json: State post_val , looking at '}' (0xbfc30171)
json: Target address for json (offset 0) is 0x805348d
json: JSON parse ends.
gpsd: client(0): device 0 (fd=6, path /dev/ttyACM2) already active.
gpsd: => client(0): {"class":"DEVICES","devices":[{"class":"DEVICE","path":"/dev/ttyACM2","activated":1289117660.12,"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}