EC25-G GPS issues

Hi,
I have the EC25-G with the sixfab base hat for raspberry pi / running debian. The LTE modem (cdc-wdm0) works great but I’m not sure how to get GPS working?

When I run the gpsd (gpsd -D 5 -N -n /dev/ttyUSB1) I get errors. Please check log below.

Any ideas how to fix this?

gpsd:INFO: launching (Version 3.22)
gpsd:IO: opening IPv4 socket
gpsd:IO: opening IPv6 socket
gpsd:INFO: listening on port gpsd
gpsd:PROG: NTP: shmat(55,0,0) succeeded, segment 0
gpsd:PROG: NTP: shmat(56,0,0) succeeded, segment 1
gpsd:PROG: NTP: shmat(57,0,0) succeeded, segment 2
gpsd:PROG: NTP: shmat(58,0,0) succeeded, segment 3
gpsd:PROG: NTP: shmat(59,0,0) succeeded, segment 4
gpsd:PROG: NTP: shmat(60,0,0) succeeded, segment 5
gpsd:PROG: NTP: shmat(61,0,0) succeeded, segment 6
gpsd:PROG: NTP: shmat(62,0,0) succeeded, segment 7
gpsd:PROG: successfully connected to the DBUS system bus
gpsd:PROG: shmget(0x47505344, 24512, 0666) for SHM export succeeded
gpsd:PROG: shmat() for SHM export succeeded, segment 63
gpsd:INFO: stashing device /dev/ttyUSB1 at slot 0
gpsd:PROG: no /etc/gpsd/device-hook present, skipped running ACTIVATE hook
gpsd:INFO: SER: opening GPS data source type 3 at ‘/dev/ttyUSB1’
gpsd:INFO: SER: speed 9600, 8N1
gpsd:PROG: Probing “Garmin USB binary” driver…
gpsd:INFO: attempting USB device enumeration.
gpsd:INFO: 1d6b:0003 (bus 2, device 1)
gpsd:INFO: 258a:0131 (bus 1, device 5)
gpsd:INFO: 2c7c:0125 (bus 1, device 4)
gpsd:INFO: 0bda:8812 (bus 1, device 3)
gpsd:INFO: 2109:3431 (bus 1, device 2)
gpsd:INFO: 1d6b:0002 (bus 1, 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: SER: => GPS: 5053474700c100010000000050924746
gpsd:PROG: Probe not found “GeoStar” driver…
gpsd:PROG: Probing “Trimble TSIP” driver…
gpsd:INFO: SER: speed 9600, 8O1
gpsd:INFO: SER: speed 9600, 8N1
gpsd:PROG: Probe not found “Trimble TSIP” driver…
gpsd:PROG: Probing “iSync” driver…
gpsd:INFO: SER: speed 9600, 8N1
gpsd:IO: SER: => GPS: @@@@\x0d\x0aMAW0C0B\x0d\x0a
gpsd:INFO: SER: speed 9600, 8N1
gpsd:PROG: Probe not found “iSync” driver…
gpsd:PROG: no probe matched…
gpsd:INFO: gpsd_activate(2): activated GPS (fd 6)
gpsd:PROG: NTP:PPS: using SHM(0)
gpsd:PROG: NTP:PPS: using SHM(1)
gpsd:PROG: PPS:/dev/ttyUSB1 chrony socket /run/chrony.ttyUSB1.sock doesn’t exist
gpsd:PROG: KPPS:/dev/ttyUSB1 checking /sys/devices/virtual/pps/pps0/path, /dev/ttyUSB1
gpsd:INFO: KPPS:/dev/ttyUSB1 RFC2783 path:/dev/pps0, fd is 7
gpsd:INFO: KPPS:/dev/ttyUSB1 pps_caps 0x1133
gpsd:INFO: KPPS:/dev/ttyUSB1 have PPS_CANWAIT
gpsd:INFO: KPPS:/dev/ttyUSB1 kernel PPS will be used
gpsd:PROG: PPS:/dev/ttyUSB1 thread launched
gpsd:INFO: PPS: activated /dev/ttyUSB1 ntpshm_link_activate(): Clock
gpsd:INFO: KPPS:/dev/ttyUSB1 kernel PPS timeout unknown error
gpsd:INFO: KPPS:/dev/ttyUSB1 kernel PPS timeout unknown error
gpsd:INFO: KPPS:/dev/ttyUSB1 kernel PPS timeout unknown error
gpsd:INFO: running with effective group ID 20
gpsd:INFO: running with effective user ID 133
gpsd:INFO: startup at 2023-03-27T09:54:22.000Z (1679910862)
gpsd:INFO: KPPS:/dev/ttyUSB1 kernel PPS timeout unknown error
gpsd:INFO: KPPS:/dev/ttyUSB1 kernel PPS timeout unknown error
gpsd:INFO: KPPS:/dev/ttyUSB1 kernel PPS timeout unknown error
gpsd:INFO: KPPS:/dev/ttyUSB1 kernel PPS timeout unknown error
gpsd:INFO: KPPS:/dev/ttyUSB1 kernel PPS timeout unknown error
gpsd:INFO: KPPS:/dev/ttyUSB1 kernel PPS timeout unknown error
gpsd:WARN: PPS:/dev/ttyUSB1 unchanged state, ppsmonitor sleeps 10
gpsd:INFO: KPPS:/dev/ttyUSB1 kernel PPS timeout unknown error
gpsd:INFO: KPPS:/dev/ttyUSB1 kernel PPS timeout unknown error
gpsd:INFO: KPPS:/dev/ttyUSB1 kernel PPS timeout unknown error
gpsd:INFO: KPPS:/dev/ttyUSB1 kernel PPS timeout unknown error
gpsd:INFO: KPPS:/dev/ttyUSB1 kernel PPS timeout unknown error
gpsd:INFO: KPPS:/dev/ttyUSB1 kernel PPS timeout unknown error
gpsd:INFO: KPPS:/dev/ttyUSB1 kernel PPS timeout unknown error
gpsd:INFO: KPPS:/dev/ttyUSB1 kernel PPS timeout unknown error
gpsd:INFO: KPPS:/dev/ttyUSB1 kernel PPS timeout unknown error
gpsd:INFO: KPPS:/dev/ttyUSB1 kernel PPS timeout unknown error
gpsd:WARN: PPS:/dev/ttyUSB1 unchanged state, ppsmonitor sleeps 10

Hi @dgr
Please ensure that the GPS antenna is properly connected and used outdoors when the star search is available.

Is the GPS itself activated? It seems to me like there is no data coming on /dev/ttyUSB1.

If you use ModemManager you can try the following commands:

# Check location status/sources
mmcli -m 0 --location-status
# Enable GPS NMEA message output
mmcli -m 0 --location-enable-gps-nmea

If you use the modem directly try the following AT commands instead:

# Check status
AT+QGPS?
# Enable GPS
AT+QGPS=1