libera/#maemo/ Sunday, 2023-03-26

hexnewbieIs there an app that allows me to view GPS status? As I'm waiting several hours for a fix? Other than GPSRecorder - that one sets my year to 200318:17
sixwheeledbeastit takes a least 15 minutes outside in clear weather.18:49
hexnewbieI waited 1h30m on Friday, and 1h today, I don't know if any data downloaded from the satellites on Friday was helpful. That's not my issue, though. The blinking icon doesn't tell me if it sees satellites and what their quality is, so I cannot check easily if I see satellites from e.g. an attic (rebar in the roof preventing reception), and stuff like that. I cannot troubleshoot the getting fix part18:51
hexnewbieGPSRecorder shows me the information, but immediately as it gets a fix synchronises my date to 200318:51
hexnewbieAnd yeah, it doesn't seem to have a setting to prevent that18:52
sixwheeledbeasttime and date has to be correct18:56
sixwheeledbeastgpsdata is the app your thinking of18:57
hexnewbieThanks, I installed this one too. Will see how it fares the next time :)18:59
sixwheeledbeastThere is gps epoch issue which maybe related to your 2003 issue, but that maybe just that app. I don't know enough about it just that it's a 10 bit rollover for the week counter.19:07
joergfor GPS you *need* a relatively correct local system time20:01
joergaaah, sixwheeledbeast had that already20:01
LjLjoerg, by relatively what sort of imprecision would you say is probably still okay?20:03
joerg30s, a few minutes, I don't know20:07
joergalso, there's that SUPL stuff that doesn't work anymore. A valid and enabled SIM for 3G cellular/WWAN may help with that a lot20:08
joerg3G does its own "SUPL", even U-TDOA20:09
joergI placed my IroN900 on the window board with "Location Test" app running, it now - after 10 minutes - says "0/2 sats", started with "0/0"20:12
joergnow "satellites in view:4, in use:0"20:14
* joerg moves the powerbank away from the N90020:14
joerghmm, down to 0/3 again20:15
hexnewbieWell, the time was correct, before GPSRecorder set it to year 200320:34
hexnewbie2003 August 1020:34
hexnewbiehttps://wiki.maemo.org/N900_The_Perfect_Setup says supl.google.com works, but either it doesn't work, or my mobile data is not working (and that was part of what I intend to eventually troubleshoot)20:35
joergso, 45min ago I started the test. And already we got 11 sats on GPS, FIX20:45
joergmode: GNSS only20:47
sixwheeledbeastI don't think I ever got another supl server working when nokia died.20:48
sixwheeledbeastI never used data so it wasn't an issue, I just waited for a fix without.20:49
joerg5/1320:51
joerggoogle SUPL works for some months20:52
joergworked*20:52
joergnow you need to select plain "GNSS" as mode20:52
bencohI've had google work using supl-proxy back then21:53
bencohI don't think that works anymore but I'd need to dig into it21:53
joergdoesn't work anymore, google stopped the service or rather modified it so it can't get used without ${google-account?}21:54
bencohhmm, are you sure about that?21:55
joerganyway, my N900 did get a fix in a narrow street with 4 floors high buildings a 10m away, so <10% of sky visible, and a cloudy sky with rain. Took "GNSS" mode in "Location Test" app and a 30 minutes to download the up-to-date almanach and ephemerals21:58
hexnewbieI've been told the whole issue is downloading the almanac and other information (i.e. why going to N900 significantly improved my fix time compared to what I got with Neo Freerunner)21:58
joergbencoh: no, not sure about it, it was like some 3 year5s ago that I last time looked into that topic21:59
hexnewbieWhat I don't understand is if once downloaded, it can be reused21:59
joergyes, the cellmo chip stores the almanac and ephem internally22:00
bencohjoerg: http://pastebin.notk.org/pastebin.php?show=d516ff139 (random cell, supl-client running in my fremantle scratchbox :) )22:01
hexnewbieSo I should expected... shorter fix time if I try again in a week, if I already got one today?22:01
joergand it also internally does "sensor fusion" of sorts, merging data from GPS with info from UMTS network and whatnot else22:02
joergyes, my somewhat educated guess is: _should_ be shorter, unless you rebooted your device in between22:03
joerga working UMTS network you can log in to, usually helps *a lot*22:04
joergwith UMTS enabled and connected, my GPS fix never took more than 30s22:05
joergas long as there were more than 4 sats visible22:06
bencohjoerg: I verified result from supl.google.com when submitting a real cellid against opencellid's data and I got a lat/long match22:07
joergbencoh: wow, supl-client, interesting22:07
bencohyeah, I imported it to fremantle back then22:07
bencohit has a proxy server as well, but that thing lacks real client/server code22:08
joergso what's the URL for the fremantle/hildon settings?22:08
bencoh(I mean, it only serves one request)22:08
bencohshould be 127.0.0.1 after some tweaking22:08
bencohbut last I checked using fremantle it didn't work properly, probably because of the multiple request thing22:09
joergno idea22:09
bencohI think one would need to patch supl-proxy to properly handle multiple requests/clients22:09
joergbeyond my paygrade now22:09
bencohI havent used the gps on n900 for ages and haven't had time to debug that22:09
joergthat sounds really nifty and cool22:10
bencohit's pretty cool yeah22:11
sixwheeledbeastwas it a cert error it not working directly on the device then?22:14
bencohyou mean, the fact that the liblocation cannot connect directly to supl.google.com? I think it was more protocol-related than a cert error22:15
bencohbecause I added google's cert back then22:15
bencohand iirc it worked until some point22:15
bencohit's supposedly not tls-related since both use the same obsolete tls lib (openssl 0.9.8(z?))22:16
bencohhttp://cgit.notk.org/bencoh/supl.git/22:17
bencohin case anyone wishes to investigate / rebuild / patch - and maybe run it on a different platform22:18
bencohhere is the debian11 branch (it works): http://cgit.notk.org/bencoh/supl.git/?h=debian1122:30
joergbencoh: I didn't get the "proxy" part in your >><bencoh> I've had google work using supl-proxy back then<<, that's why I answered on a different topic: I seem to have google SUPL work directly on the genuine (liblocation?) fremantle stuff, but that eventually stopped working, prolly when google changed the protocol22:57
bencohand after that stopped working directly, I used supl-proxy on n900 as a proxy between liblocation and supl.google.com22:59
bencohwhich afair worked for me for some time22:59
joergyeah, now I got it right22:59
joergsorry for not reading carefully22:59
bencohI think the way to go now is to patch supl-proxy with proper server forking support, to allow multiple requests properly, and see if it works23:00
joerg...and once it works, install and run it on maemo infra :-)23:01
bencohyeah23:02
bencohthe fact that it builds&runs on both maemo5 and debian11 is already a good sign23:03

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!