|
From: | Larry Boyd |
Subject: | Re: [gpsd-users] Problem with gpsd blocking device while it doesn't send NMEA messages |
Date: | Fri, 7 Jul 2017 11:41:32 -0400 |
Hello,I'm having trouble to get gpsd to read gps information from device.My environment:ubuntu 16.04 64bit, gpsd installed from repositoryHardware Lenovo X220 with Ericson f5521gw WWAN card connected via pci, registered as usb device, readout via ttyACM(0-2)First, i try to connect with picocom to the device and send the relevant AT command and recieve the NMEA data# picocom /dev/ttyACM2AT*E2GPSCTL=1,5,1 OK AT*E2GPSNPD OKIf i now open a second terminal and point cat to the device, I also get the NMEA data (as described in descriptions).But as soon as I close picocom, no more data appears.Now I stop gpsd and start it with the following parameters.# service gpsd stop# gpsd -n -N -D4 /dev/ttyACM2when I check with i.e. xgps, I don't get any data.Before starting gpsd I also tried to follow the idea to use wvdial, but with the same result.Most descriptions I found assume that the device keeps sending data as soon as it was configured once, but this doesn't seem to be true for my environment.The only way I get the running gpsd instance (started with parameters mentioned above) is to start picocom as root and send the AT commands (as above).This also only works while picocom is running.I hope the description is clear, I will provide details as needed.Thanks in advanceE.T.
[Prev in Thread] | Current Thread | [Next in Thread] |