gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gpsd-users] Problem with gpsd blocking device while it doesn't send NME


From: Thomas Engerer
Subject: [gpsd-users] Problem with gpsd blocking device while it doesn't send NMEA messages
Date: Thu, 6 Jul 2017 17:07:49 +0200

Hello,
 
I'm having trouble to get gpsd to read gps information from device.
My environment:
ubuntu 16.04 64bit, gpsd installed from repository
Hardware 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/ttyACM2
AT*E2GPSCTL=1,5,1
OK
AT*E2GPSNPD
OK
If 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/ttyACM2
 
when 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 advance
E.T.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]