09-08-2021, 04:22 PM
(This post was last modified: 09-08-2021, 04:36 PM by eoj.
Edit Reason: progress researching my issue
)
I think I may be having this same issue. I have been playing with the GPS in my PinePhone, and have noticed in the past two days that my modem does not stay active for more than about 10 seconds. I don't have a SIM card in my phone, so I have been using screen to interact with the modem over ttyUSB2
I then issue the following command to turn GPS on and check the status of GPS
As can be seen above, the GPS status is 1 momentarily, and then returns to 0. During this time, NMEA messages are delivered on ttyUSB1, but then cease
I am using Manjaro ARM Plasma
Edit: I think my issue may be related to https://gitlab.manjaro.org/manjaro-arm/p...-fix.patch as sudo systemctl status eg25-manager shows it falls into the codepath linked here: https://gitlab.com/mobian1/devices/eg25-...nss.c#L225
Code:
sudo screen /dev/ttyUSB2 115200
I then issue the following command to turn GPS on and check the status of GPS
Code:
AT+QGPS?
+QGPS: 0
OK
AT+QGPS=1
OK
AT+QGPS?
+QGPS: 1
OK
AT+QGPS?
+QGPS: 0
OK
As can be seen above, the GPS status is 1 momentarily, and then returns to 0. During this time, NMEA messages are delivered on ttyUSB1, but then cease
I am using Manjaro ARM Plasma
Edit: I think my issue may be related to https://gitlab.manjaro.org/manjaro-arm/p...-fix.patch as sudo systemctl status eg25-manager shows it falls into the codepath linked here: https://gitlab.com/mobian1/devices/eg25-...nss.c#L225