Antenna connection to the modem module:
The GNSS antenna is placed outside the window:
Trying to get data through /dev/ttyUSB1
:
cat /dev/ttyUSB1 > nmea.log
The file nmea.log stays with 0 bytes even after 10 minutes:
-rw-rw-r-- 1 admin admin 0 Jan 2 12:22 nmea.log
I tried a few more AT commands (I haven’t connected the pppd daemon for data):
at+qgpscfg="outport"
+QGPSCFG: "outport",usbnmea
OK
at+qgps?
+QGPS: 1
OK
at+qgpsloc?
+CME ERROR: 516
at+qgpscfg="nmeasrc",1
OK
at+qgpsgnmea="gga"
+QGPSGNMEA: $GPGGA,,,,,,0,,,,,,,,*66
OK
Not sure why there are no NMEA logs on /dev/ttyUSB1
.
Some more info from dmesg
just to make sure things look fine:
[ 58.400489] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[ 64.449042] option 1-1:1.0: GSM modem (1-port) converter detected
[ 64.449209] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
[ 64.449291] option 1-1:1.1: GSM modem (1-port) converter detected
[ 64.449383] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
[ 64.449457] option 1-1:1.2: GSM modem (1-port) converter detected
[ 64.449543] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
I’m loading a generic linux driver for the modem via command:
echo "2c7c 0316" > /sys/bus/usb-serial/drivers/option1/new_id
lsusb
:
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 2c7c:0316 Quectel Wireless Solutions Co., Ltd. RG255C-GL
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Adding current firmware:
at+qgmr
RG255CGLABR01A04M4G_01.001.01.001