02-03-2022, 02:00 PM
Hi everyone,
I am trying for a while now to get gps running. I went through the wiki page (https://wiki.mobian-project.org/doku.php?id=location), multiple times (also with at least one clean install of mobian) but run into some issues - I cannot find this mentioned anywhere.
What I did: I follow the steps and did manage to get some meaningful output from
(with the right modem number)
But the moment I move on to setup gpsd, I get no signal at all. I started gpsd, then run
The first time, the inital output looks normal, it recognizes ttyUSB1 and waits for a signal. A signal never comes, even leaving it for 8 hours at a window. No output at all. When I checked dmesg, I find this:
So the modem disconnects and reconnects, but it loses ttyUSB1 and I assume moves it to ttyUSB2. /dev/ttyUSB1 does not exist anymore and gpsd is listening to nothing, as /etc/default/gpsd is sets devices to ttyUSB1. At least that's what I think the problem is.
I did not find anything on the forum or wiki about this so far, anyone has an idea?
Thanks!
I am trying for a while now to get gps running. I went through the wiki page (https://wiki.mobian-project.org/doku.php?id=location), multiple times (also with at least one clean install of mobian) but run into some issues - I cannot find this mentioned anywhere.
What I did: I follow the steps and did manage to get some meaningful output from
Code:
mmcli -m 0 --location-enable-gps-nmea
(with the right modem number)
But the moment I move on to setup gpsd, I get no signal at all. I started gpsd, then run
Code:
gpspipe --nmea
The first time, the inital output looks normal, it recognizes ttyUSB1 and waits for a signal. A signal never comes, even leaving it for 8 hours at a window. No output at all. When I checked dmesg, I find this:
Code:
[17010.473495] usb 2-1: USB disconnect, device number 2
[17010.482390] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[17010.491396] option 2-1:1.0: device disconnected
[17010.507679] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[17010.516152] option 2-1:1.1: device disconnected
[17010.525462] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[17010.533818] option 2-1:1.2: device disconnected
[17010.547007] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
[17010.555419] option 2-1:1.3: device disconnected
[17010.581592] qmi_wwan 2-1:1.4 wwan0: unregister 'qmi_wwan' usb-1c1b000.usb-1, WWAN/QMI devic
[17010.913371] usb 2-1: new high-speed USB device number 3 using ehci-platform
[17011.089623] usb 2-1: New USB device found, idVendor=2c7c, idProduct=0125, bcdDevice= 3.18
[17011.097896] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[17011.105096] usb 2-1: Product: EG25-G
[17011.108780] usb 2-1: Manufacturer: Quectel
[17011.121451] option 2-1:1.0: GSM modem (1-port) converter detected
[17011.132864] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB0
[17011.144117] option 2-1:1.1: GSM modem (1-port) converter detected
[17011.154905] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB2
[17011.170701] option 2-1:1.2: GSM modem (1-port) converter detected
[17011.182066] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB3
[17011.194272] option 2-1:1.3: GSM modem (1-port) converter detected
[17011.206092] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB4
So the modem disconnects and reconnects, but it loses ttyUSB1 and I assume moves it to ttyUSB2. /dev/ttyUSB1 does not exist anymore and gpsd is listening to nothing, as /etc/default/gpsd is sets devices to ttyUSB1. At least that's what I think the problem is.
I did not find anything on the forum or wiki about this so far, anyone has an idea?
Thanks!