Re: [Om2008.9] How to use GPS?

2008-10-31 Thread Alastair Johnson
Matthias Apitz wrote:
 El día Tuesday, October 28, 2008 a las 10:02:08AM -0400, Stefan Monnier 
 escribió:
 
 TangoGPS starts fine, connects to the 'gpsd' and downloads the maps
 through the USB interface from Internet; sometimes is just segfaults :-(
 Mine says it's version 0.9.2, so I might have gotten it from elsewhere.

 I can't see if TangoGPS knows where I am;
 how can I prove this if GSM is really working?
 You'll see when it knows.  Also look at the I/J/K numbers at the end of
 the bottom line, they indicate how many satellites are in view and how
 many are in sync.

 You probably need to manually turn the GPS on in the Settings, sadly.
 
 Hi,
 
 Any idea about this problem:
 
 I'm using tangogps-0.9.3-r1 and  gpsd-2.34-r9 in the GTA-02 FreeRunner
 with Om2008.9; sometimes I get (with clean sky) a Fix after some seconds,
 some times not even after 20 minutes in the same location; the status
 line of tangoGPS shows a lot of sattelites but none used of them, for
 enexample 12/0/0.0 What could I do? Thx

I used to see odd behaviour a bit like that from gpsd when the gps was 
powered up after gpsd was started. To save a bit of power I took to 
running gpsd only while the gps was powered up, starting and stopping 
both from a script. After I started doing that I stopped seeing the odd 
behaviour, but it could have been coincidence as there was a lot going 
on around gps in those days.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Om2008.9] How to use GPS?

2008-10-31 Thread Matthias Apitz
El día Tuesday, October 28, 2008 a las 10:02:08AM -0400, Stefan Monnier 
escribió:

  TangoGPS starts fine, connects to the 'gpsd' and downloads the maps
  through the USB interface from Internet; sometimes is just segfaults :-(
 
 Mine says it's version 0.9.2, so I might have gotten it from elsewhere.
 
  I can't see if TangoGPS knows where I am;
  how can I prove this if GSM is really working?
 
 You'll see when it knows.  Also look at the I/J/K numbers at the end of
 the bottom line, they indicate how many satellites are in view and how
 many are in sync.
 
 You probably need to manually turn the GPS on in the Settings, sadly.

Hi,

Any idea about this problem:

I'm using tangogps-0.9.3-r1 and  gpsd-2.34-r9 in the GTA-02 FreeRunner
with Om2008.9; sometimes I get (with clean sky) a Fix after some seconds,
some times not even after 20 minutes in the same location; the status
line of tangoGPS shows a lot of sattelites but none used of them, for
enexample 12/0/0.0 What could I do? Thx

matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
A computer is like an air conditioner, it stops working when you open Windows
Una computadora es como aire acondicionado, deja de funcionar si abres Windows

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Om2008.9] How to use GPS?

2008-10-31 Thread Matthias Apitz
El día Friday, October 31, 2008 a las 11:05:46AM +, Alastair Johnson 
escribió:

 Any idea about this problem:
 
 I'm using tangogps-0.9.3-r1 and  gpsd-2.34-r9 in the GTA-02 FreeRunner
 with Om2008.9; sometimes I get (with clean sky) a Fix after some seconds,
 some times not even after 20 minutes in the same location; the status
 line of tangoGPS shows a lot of sattelites but none used of them, for
 enexample 12/0/0.0 What could I do? Thx
 
 I used to see odd behaviour a bit like that from gpsd when the gps was 
 powered up after gpsd was started. To save a bit of power I took to 
 running gpsd only while the gps was powered up, starting and stopping 
 both from a script. After I started doing that I stopped seeing the odd 
 behaviour, but it could have been coincidence as there was a lot going 
 on around gps in those days.

The 'gpsd' is launched at boot time by the script /etc/init.d/gpsd; I've
added support for power-on and power-off in the script before 'start'
and after 'stopping' the 'gpsd'; as well I've expanded the file
/usr/share/applications/tangogps.desktop to restart 'gpsd' before
launching 'tangogps' and to stop the 'gpsd' after end of 'tangogps' (to
save power) by this line:

   Exec=/etc/init.d/gpsd restart;tangogps;/etc/init.d/gpsd stop

this worked well in the sense of the processes itself (I've checked this
in the log files and with ps(1)); but after this change in
/usr/share/applications/tangogps.desktop the above described behaviour 
started to occur; I've revoked now the change and don't touch 'gpsd'
anymore after it was started at boot; it now works again as one expect;

it seems that 'gpsd' needs its time to sync with the stars (the
sattelites) and/or 'tangogps' does not like a freshly booted 'gpsd';
with more time I will debug the logs deeper ...

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
A computer is like an air conditioner, it stops working when you open Windows
Una computadora es como aire acondicionado, deja de funcionar si abres Windows

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[Om2008.9] How to use GPS?

2008-10-28 Thread Matthias Apitz

Hello,

The next think I want to try is using GPS on my FR with Om2008.9.
I've never used GPS before and so I'm a bit lost in how to do with FR
:-)
The desktop has an icon 'Locations' and by launching it it asks me if I
want to switch-o GPS, I press 'yes' and then nothing more happens, there
is only a map with a red dot in Asia. What to do next?
The information in the Wiki is not very helpful. Like in all cases it
reflects the 2007.x version I think; any other useful pointers?

TIA

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
A computer is like an air conditioner, it stops working when you open Windows
Una computadora es como aire acondicionado, deja de funcionar si abres Windows

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Om2008.9] How to use GPS?

2008-10-28 Thread Stefan Monnier
 The next think I want to try is using GPS on my FR with Om2008.9.
 I've never used GPS before and so I'm a bit lost in how to do with FR
 :-)
 The desktop has an icon 'Locations' and by launching it it asks me if I
 want to switch-o GPS, I press 'yes' and then nothing more happens, there
 is only a map with a red dot in Asia. What to do next?

That's it.  All you need to do next is wait for the GPS to get a first
fix.  This may take a minute or so if you're in an outside open area
with a nice view of the sky, and it may take forever (literally) if
you're in a building, or if the GPS antenna (which is located at the
top of your FR) is buried in your coat pocket or facing towards
the earth.

You only need to be that careful in order to get the first fix.
Afterwards, you can go about your business, put the FR in a pocket,
etc and the GPS will keep track of your movements.


Stefan


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Om2008.9] How to use GPS?

2008-10-28 Thread Matthias Apitz
El día Tuesday, October 28, 2008 a las 04:37:24AM -0400, Stefan Monnier 
escribió:

  The next think I want to try is using GPS on my FR with Om2008.9.
  I've never used GPS before and so I'm a bit lost in how to do with FR
  :-)
  The desktop has an icon 'Locations' and by launching it it asks me if I
  want to switch-o GPS, I press 'yes' and then nothing more happens, there
  is only a map with a red dot in Asia. What to do next?
 
 That's it.  All you need to do next is wait for the GPS to get a first
 fix.  This may take a minute or so if you're in an outside open area
 with a nice view of the sky, and it may take forever (literally) if
 you're in a building, or if the GPS antenna (which is located at the
 top of your FR) is buried in your coat pocket or facing towards
 the earth.

I was in a building when I tried this last night; will test it outside
again (when it stops raining here :-));

 You only need to be that careful in order to get the first fix.
 Afterwards, you can go about your business, put the FR in a pocket,
 etc and the GPS will keep track of your movements.

does this mean as well that I will get some map on my screen? is there some
interfacing for exmaple with this:
http://www.openstreetmap.org/?lat=23.11725lon=-82.42706zoom=15layers=B000FTF

Thx for your help

matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
A computer is like an air conditioner, it stops working when you open Windows
Una computadora es como aire acondicionado, deja de funcionar si abres Windows

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Om2008.9] How to use GPS?

2008-10-28 Thread Matthias Apitz
El día Tuesday, October 28, 2008 a las 06:26:24AM -0400, Stefan Monnier 
escribió:

  does this mean as well that I will get some map on my screen? is there some
  interfacing for exmaple with this:
  http://www.openstreetmap.org/?lat=23.11725lon=-82.42706zoom=15layers=B000FTF
 Yes, you'll get an openstreetmap, provided you are somehow connected to
 the internet.  The `locations' application is about as basic as
 it gets.  The next step up is TangoGPS, which is still very basic.
 There's also Navit (which offers routing), and lots more.

I have now installed and configured:

   # opkg install gpsd
   # opkg install http://www.tangogps.org/downloads/tangogps_0.9.3-r1_armv4t.ipk

   # vi /etc/default/gpsd
   GPS_DEV=/dev/ttySAC1

   # /etc/init.d/gpsd stop
   # /etc/init.d/gpsd start

because 'Locations' always claims that in can't find the Fix for my
actual location;

TangoGPS starts fine, connects to the 'gpsd' and downloads the maps
through the USB interface from Internet; sometimes is just segfaults :-(

I can't see if TangoGPS knows where I am;
how can I prove this if GSM is really working?

matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
A computer is like an air conditioner, it stops working when you open Windows
Una computadora es como aire acondicionado, deja de funcionar si abres Windows

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Om2008.9] How to use GPS?

2008-10-28 Thread Joel Newkirk
On Tue, 28 Oct 2008 14:19:04 +0100, Matthias Apitz [EMAIL PROTECTED]
wrote:

 I have now installed and configured:
 
# opkg install gpsd
# opkg install
 http://www.tangogps.org/downloads/tangogps_0.9.3-r1_armv4t.ipk
 
# vi /etc/default/gpsd
GPS_DEV=/dev/ttySAC1
 
# /etc/init.d/gpsd stop
# /etc/init.d/gpsd start
 
 because 'Locations' always claims that in can't find the Fix for my
 actual location;
 
 TangoGPS starts fine, connects to the 'gpsd' and downloads the maps
 through the USB interface from Internet; sometimes is just segfaults :-(
 
 I can't see if TangoGPS knows where I am;
 how can I prove this if GSM is really working?
 
   matthias

http://www.tangogps.org/gps/articles/8-User-Manual.html

Below the map display in TangoGPS is a line of text.  If it starts with 'D'
followed by digits then it has that many map tiles it's queued up to
download.  Following that, or first if it's not downloading, are speed,
heading, etc.  

Or tap over to the 'Trip' tab and check the status there.  'Satellites'
will be X/Y where X is the number it can see and Y (hopefully 4) is how
many it's using.

j


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community