![]() |
2008-04-23
, 22:32
|
Posts: 155 |
Thanked: 69 times |
Joined on Apr 2008
|
#12
|
![]() |
2008-04-24
, 04:34
|
Posts: 69 |
Thanked: 10 times |
Joined on Nov 2007
|
#13
|
![]() |
2008-04-24
, 19:21
|
Posts: 52 |
Thanked: 22 times |
Joined on Apr 2008
|
#14
|
The Following User Says Thank You to adaviel For This Useful Post: | ||
![]() |
2008-04-24
, 19:36
|
|
Posts: 481 |
Thanked: 65 times |
Joined on Aug 2007
@ Westcountry, UK
|
#15
|
Hmmm I might be onto something. I've managed to get a lock on the first floor of my 2 story house 10' from any exterior walls. Yes, it took a few minutes, but that's kinda incredible from my understanding of GPS.
![]() |
2008-04-25
, 01:23
|
Posts: 227 |
Thanked: 53 times |
Joined on Feb 2008
@ Lyon, France
|
#16
|
![]() |
2008-04-25
, 08:17
|
Posts: 2,102 |
Thanked: 1,309 times |
Joined on Sep 2006
|
#17
|
As reported in https://bugs.maemo.org/show_bug.cgi?id=2877, gpsdriver loads files
from /var/lib/gps/ when the GPS starts and saves them when it stops.
It ought to be possible to update these from an approximate position (guessed, from
Google Maps, from your cellphone cell ID via Bluetooth/Gnokii, from nearby WiFi ESSIDs
as per Google's projects...) to address the appalling TTFF seen when arriving at the airport
from another country.
I confirm that facing the south improves first-fix time a lot: Yesterday I was surrounded by a few buildings, only 3 satellites were visible and I couldn't get a fix after several minutes. Then I moved a bit, with more building around me but a hole to the south, and my N810 could see 6 or 7 satellites, and I got the fix after about 10 seconds!
![]() |
2008-04-25
, 17:15
|
|
Posts: 1,310 |
Thanked: 820 times |
Joined on Mar 2006
@ Irving, TX
|
#18
|
![]() |
2008-04-25
, 17:54
|
|
Posts: 4,930 |
Thanked: 2,272 times |
Joined on Oct 2007
|
#19
|
![]() |
2008-04-25
, 19:31
|
|
Posts: 2,535 |
Thanked: 6,681 times |
Joined on Mar 2008
@ UK
|
#20
|
Not sure if it will be ready for first Diablo release, but it shouldn't be too much of a problem since with SSU the update should be easy. (No reflashing...)
Get socat (or something that can connect to unix sockets).
Start (/usr/sbin/) gpsdriver, in background
This will create a listen unix socket at /var/lib/gps/gps_driver_ctrl
Connect with "socat /var/lib/gps/gps_driver_ctrl stdio"
Typing "P 3\n" (P space 3 enter_newline)
resulted in:
Got Power Management level request
with argument
gps status received
gps status received
inject customer conf
inject recv conf
P 3
at which point NMEA sentences started emerging from "/dev/pgps". strace on gpsdriver is also interesting.
Send "P 0\n" and it shuts down.
There may be some way to do this via dbus or a library.
There is probably more interesting stuff, but this at least activates (and shuts down) the internal GPS.