Comments (10)
GNSS worked again on firmodem v0.6.2 and went a bug fixed on gpsd too on Sailfish OS.
I closing this.
from pinephone_modem_sdk.
Any logs you can get?
There have been no changes with regards to GPS in a long time, and as far as I can see it reports location data through the port the same way it has always done (you can enable GPS with AT+QGPS=1 and then monitor the output of /dev/ttyUSB1 for NMEA messages)
from pinephone_modem_sdk.
Instead of version 0.5.0 I tried v0.5.1, but I had to go back to v0.4.2 immediately. In the situation (v0.4.2) where:
-
GNOME Maps location works
-
# mmcli -m any --location-get [1]
-------------------------- GPS | nmea: $GPGSA,A,3,01,08,10,14,21,27,,,,,,,1.2,0.9,0.8,1*26 | $GNGNS,005524.00,4926.533828,N,01732.431995,E,AAN,11,0.9,295.0,43.0,,,V*60 | $GPRMC,005524.00,A,4926.533828,N,01732.431995,E,0.0,73.2,040122,2.1,E,A,V*73 | $GNGSA,A,3,,,,,,,,,,,,,1.2,0.9,0.8,3*31 | $GPGSV,3,1,10,01,28,284,23,08,68,213,25,10,42,056,22,14,12,322,21,1*60 | $GPGSV,3,2,10,21,58,291,23,24,01,037,16,27,43,163,22,03,01,229,,1*68 | $GPGSV,3,3,10,23,09,053,,32,39,118,,1*68 | $GLGSV,2,1,07,74,10,279,16,82,22,115,16,84,40,314,17,67,36,037,23,1*74 | $GLGSV,2,2,07,68,69,127,20,69,27,187,,83,66,085,,1*4A | $GPVTG,73.2,T,71.1,M,0.0,N,0.0,K,A*22 | $GPGGA,005524.00,4926.533828,N,01732.431995,E,1,06,0.9,295.0,M,43.0,M,,*66
-
$ echo at+qgpsgnmea=\"gsv\" | sudo atinout - /dev/EG25.AT - [2]
+QGPSGNMEA: $GPGSV,3,1,10,01,29,284,27,08,67,212,25,10,41,056,21,14,12,322,25,1*6F +QGPSGNMEA: $GPGSV,3,2,10,21,58,292,27,27,42,163,22,03,02,229,,23,08,053,,1*66 +QGPSGNMEA: $GPGSV,3,3,10,24,01,036,,32,40,116,,1*64
-
$ echo at+qgpsgnmea=\"gga\" | sudo atinout - /dev/EG25.AT -
+QGPSGNMEA: $GPGGA,005644.00,4926.533926,N,01732.432013,E,1,06,0.9,295.2,M,43.0,M,,*6A
$ echo at+qgpsloc | sudo atinout - /dev/EG25.AT -
reports +CME ERROR: 502
, which, according to this description, it shouldn't. @carlosgonz0, how does it behave for you?
[1] Mobian wiki - location
[2] Quectel EG25-G GNSS Configuration and location tracking
from pinephone_modem_sdk.
@nesnera
I enabled location via mmcli but it seems to be working for me. Before running --location-get I had to run mmcli -m any --location-enable-gps-nmea
, but after that I get NMEA data correctly. There should be no need to explicitly set the modes via QGPSNMEA, it's enabling them by default.
Just as a test, disable runtime suspend of the usb port:
- Edit
/usr/lib/udev/rules.d/80-modem-eg25.rules
- On the line where "power" is set to "auto", replace "auto" with "on", then reboot. Is there any change in stability?
Unrelated, but while testing this I've seen the modem tends to crash if you suspend it for long enough with GPS on, so added that to my todo list
from pinephone_modem_sdk.
The # mmcli -m any --location-get
works for me (as seen above) and I use them exactly the same way = I enable NMEA by # mmcli -m any --location-enable-gps-nmea
first.
Surprisingly I can't say the same for # echo at+qgpsloc | sudo atinout - /dev/EG25.AT -
You?
from pinephone_modem_sdk.
AT+QGPSLOC only works if you previously enabled GPS via AT+QGPS=1 and it has a fix on the satellites, do you see if it is reporting correct data in ttyUSB1?
Edit:
QGPSLOC doesn't seem to work for me in stock either (firmware 002):
AT+QGPS=1
OK
AT+QGPSLOC
+CME ERROR: 502
So I get the same results (that was with a fix).
Note we shouldn't be needing to do any of this as ModemManager should provide the location data and enable or disable GPS functionality as requested by the system, but I have no idea on how well does that work
from pinephone_modem_sdk.
I'm glad we have the same results, even if they don't match expectations. As far as practice goes, the browser positioning works. I have several routes recorded on PP using osmin as well.
from pinephone_modem_sdk.
OK i already testing firmodem 0.5.5 and it has same issues no more gnss detecting satellites on Sailfish OS. what happening?
on firmodem 0.4.2 was detecting satellites pretty fast, i not tested again going back for 0.4.2 to checking.
from pinephone_modem_sdk.
@carlosgonz0: I have also updated to v0.5.5 and I have no problem with satellite signal reception. Geolocation in the browser, GNOME Maps, osmin and the mmcli -m any --location-get
command works as described above. | PP/Manjaro/Phosh-dev
from pinephone_modem_sdk.
Thank you @nesnera for your troubleshooting on this issue.
I am sorry @Biktorgj because i do not give you the log that you wanted i am too busy. Thank you @Biktorgj
from pinephone_modem_sdk.
Related Issues (20)
- Unable to build 0.7.4 HOT 2
- After modem randomly goes dead, 30% of the time it won't recover HOT 2
- alsa configure file name and location may vary: user should be warned HOT 2
- kernel shuts down USB connection to modem on incoming call HOT 20
- Call failure on T-Mobile
- I Need Help Searching for Open Source Software Stack for 3G
- Modem Not Working HOT 12
- Pressing "1" on the dialpad a lot after call established causes entire modem to disappear (crash?) HOT 1
- O2 Germany cell broadcast doesn't seem to work HOT 1
- 0.7.4 is not available on LVFS HOT 1
- extreme battery life delta from 30.007.30.007 to 30.006.30.006 HOT 1
- All people I ever talk to complain I'm very quiet (jack plug, headset, pulseaudio/postmarketOS) HOT 4
- PPP: Call audio heavily distorts HOT 2
- Move code to GitLab or Codeberg HOT 2
- aboot.bb needs 11.4.0/libgcc.a
- IMEI showing unkown after firmware update HOT 1
- Can't see anymore modem with Mobian 12 on PinePhone Pro Explorer Edition HOT 1
- `flashall` script stuck HOT 2
- EG25GGBR07A08M2G_01.001.01.001 HOT 2
- Configuring the modem's timezone? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pinephone_modem_sdk.