[14.10] ND-100 GPS problem
Matthai
Član
Imam ND-100 GPS dongle, ki se v sistemu (lsusb) predstavi kot:
Bus 002 Device 024: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Na sistem sem namestil gpsd in nastavil pravice:
sudo usermod -a -G dialout $USER
Nato pa še foxtrotgps. Sistem je sicer Ubuntu 14.10. Problem je, da Foxtrot GPS od GPS dongla ne dobi nobenih podatkov. Kakšna ideja kako to rešit?
Bus 002 Device 024: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Na sistem sem namestil gpsd in nastavil pravice:
sudo usermod -a -G dialout $USER
Nato pa še foxtrotgps. Sistem je sicer Ubuntu 14.10. Problem je, da Foxtrot GPS od GPS dongla ne dobi nobenih podatkov. Kakšna ideja kako to rešit?
Komentarji
Torej kako se zalaufa gpsd in zažene zajemanje podatkov
Have patience. If you are cold-starting a new GPS, it may take 15-20 minutes after it gets a skyview for it to download an ephemeris and begin delivering fixes.
gpsd /dev/ttyUSB0
se izvede a mi ne vrne nič.
Ko rečem:
telnet localhost 2947
Pa dobim:
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
{"class":"VERSION","release":"3.11~dev","rev":"2014-08-04T23:21:51.47","proto_major":3,"proto_minor":9}
xgps pa v tisti svoji "statusni vrstici" izpiše:
{"class":"DEVICES","devices":[{"class":"DEVICE","path":"/dev/ttyUSB0","activated":"2014-11-19T21:01:43.844Z","native":0,"bps":9600,"parity":"N","stopbits":1,"cycle":1.00}]}
Manpage za gpsd.
gpsd:INFO: launching (Version 3.11~dev)
gpsd:IO: opening IPv4 socket
gpsd:IO: opening IPv6 socket
gpsd:INFO: listening on port gpsd
gpsd:PROG: NTPD shmat(491528,0,0) succeeded, segment 2
gpsd:PROG: NTPD shmat(524297,0,0) succeeded, segment 3
gpsd:PROG: successfully connected to the DBUS system bus
gpsd:PROG: shmat() succeeded, segment 557066
gpsd:PROG: shared-segment creation succeeded,
gpsd:INFO: stashing device /dev/ttyUSB0 at slot 0
gpsd:INFO: running with effective group ID 1000
gpsd:INFO: running with effective user ID 1000
gpsd:INFO: startup at 2014-11-19T21:17:04.000Z (1416431824)
gpsd:CLIENT: => client(0): {"class":"VERSION","release":"3.11~dev","rev":"2014-08-04T23:21:51.47","proto_major":3,"proto_minor":9}\x0d\x0a
gpsd:PROG: checking client(0)
gpsd:CLIENT: <= client(0): ?WATCH={"enable":true,"json":true,"scaled":true}\x0a
gpsd:INFO: opening GPS data source type 3 at '/dev/ttyUSB0'
gpsd:INFO: speed 9600, 8N1
gpsd:PROG: Probing "Garmin USB binary" driver...
gpsd:INFO: attempting USB device enumeration.
gpsd:INFO: 8087:8000 (bus 1, device 2)
gpsd:INFO: 1d6b:0002 (bus 1, device 1)
gpsd:INFO: 1d6b:0003 (bus 3, device 1)
gpsd:INFO: 1bcf:2c43 (bus 2, device 8)
gpsd:INFO: 04f3:016f (bus 2, device 9)
gpsd:INFO: 2047:0855 (bus 2, device 3)
gpsd:INFO: 8087:07dc (bus 2, device 2)
gpsd:INFO: 067b:2303 (bus 2, device 12)
gpsd:INFO: 0458:003a (bus 2, device 11)
gpsd:INFO: 1d6b:0002 (bus 2, device 1)
gpsd:INFO: vendor/product match with 091e:0003 not found
gpsd:PROG: Probe not found "Garmin USB binary" driver...
gpsd:PROG: Probing "GeoStar" driver...
gpsd:PROG: Sent GeoStar packet id 0xc1
gpsd:IO: => GPS: 5053474700c100010000000050924746
gpsd:PROG: Probe not found "GeoStar" 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(2): activated GPS (fd 7)
gpsd:CLIENT: => client(0): {"class":"DEVICES","devices":[{"class":"DEVICE","path":"/dev/ttyUSB0","activated":"2014-11-19T21:17:18.186Z","native":0,"bps":9600,"parity":"N","stopbits":1,"cycle":1.00}]}\x0d\x0a{"class":"WATCH","enable":true,"json":true,"nmea":false,"raw":0,"scaled":true,"timing":false,"split24":false,"pps":false}\x0d\x0a
gpsd:INFO: speed 4800, 8N1
gpsd:PROG: comment, sync lock deferred
gpsd:PROG: comment, sync lock deferred
gpsd:PROG: comment, sync lock deferred
...
...
(vmes sem pognal še xgps)
Bi rekel, da GPS ni bil pravilno prepoznan oz. nimaš pravilnih modulov. Menda potrebuješ modul garmin_gps