Re: shr- GPS howto?

2009-01-27 Thread Helge Hafting
arne anka wrote:

 - the solution you are pointing to, was only some rough first draft.
 the kernel patch used eventuially works different.

Thank you for the information.

Helge Hafting

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


Re: shr- GPS howto?

2009-01-26 Thread Helge Hafting
arne anka wrote:
 slot. If it isn't there, then your phone have this problem.
 
 not necessarily. in fact, if you really have this problem you didn't  
 update your kernel a very long time.
 the gps/sd card fix is in all kernels available for a very long time now,  
 the hw fix is not necessary.

Really? The problem was noise from the SDcard electronics disturbing the 
gps receiver.  The software fix was to turn the sdcard clock off while 
the card isn't actively used.  But that don't help at all if the card 
_is_ in use most of the time - for example if you're running your linux 
distribution from the card. Or are playing songs stored on the card. Or 
have your map tiles on the card.

The capacitor makes the SDcard less noisy - even when it is being used 
all the time. I can get a fix and use the gps while listening to music, 
for example.

Helge Hafting

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


Re: shr- GPS howto?

2009-01-26 Thread arne anka
 Really? The problem was noise from the SDcard electronics disturbing the
 gps receiver.  The software fix was to turn the sdcard clock off while
 the card isn't actively used.  But that don't help at all if the card
 _is_ in use most of the time - for example if you're running your linux
 distribution from the card. Or are playing songs stored on the card. Or
 have your map tiles on the card.

 The capacitor makes the SDcard less noisy - even when it is being used
 all the time. I can get a fix and use the gps while listening to music,
 for example.

iirc
- the problem was not noise as such but difficulties of coexistence on the  
sdio
- the solution you are pointing to, was only some rough first draft.
the kernel patch used eventuially works different.

and imo andy wrote some time ago that the sw patch ist better than the hw  
one ...

feel free, to check the archives.

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


Re: shr- GPS howto?

2009-01-26 Thread Al Johnson
On Monday 26 January 2009, Helge Hafting wrote:
 arne anka wrote:
  slot. If it isn't there, then your phone have this problem.
 
  not necessarily. in fact, if you really have this problem you didn't
  update your kernel a very long time.
  the gps/sd card fix is in all kernels available for a very long time now,
  the hw fix is not necessary.

 Really? The problem was noise from the SDcard electronics disturbing the
 gps receiver.  The software fix was to turn the sdcard clock off while
 the card isn't actively used.  But that don't help at all if the card
 _is_ in use most of the time - for example if you're running your linux
 distribution from the card. Or are playing songs stored on the card. Or
 have your map tiles on the card.

That is only half the software fix. The other half reduces the default drive 
strength on all the SD signal lines. This is similar in effect to putting a 
capacitor on all the signal lines, not just the clock line that is affected 
by the hardware mod. I have no difference in GPS performance if rootfs is in 
NAND or on SD, and I have no hardware mod.

 The capacitor makes the SDcard less noisy - even when it is being used
 all the time. I can get a fix and use the gps while listening to music,
 for example.

So can I, but I don't have the hardware mod ;-)

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


Re: shr- GPS howto?

2009-01-24 Thread Fernando Martins
Thanks, arne, Helge,

I just made my second try this morning and I got a lock in 35 secs 
(tried two times, consistent lock time).  8-)

I don't know why the different behaviors, but I did the tests inside a 
party tent I've in the garden and after reading how GPS behaves in 
weather (rain, cloud, snow makes no perceptible difference), the only 
thing that comes to my mind is that last time the tent was probably wet 
or might even had a thin layer of ice (temp was 0ºC). I don't know if it 
was sufficient to compromise the reception (tent now is dry), but I'll 
test it again when I get similar conditions.

Cheers,
Fernando


arne anka wrote:
 slot. If it isn't there, then your phone have this problem.
 

 not necessarily. in fact, if you really have this problem you didn't  
 update your kernel a very long time.
 the gps/sd card fix is in all kernels available for a very long time now,  
 the hw fix is not necessary.

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

   


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


Re: shr- GPS howto?

2009-01-24 Thread Yorick Moko
satellites move, that can make a difference

On Sat, Jan 24, 2009 at 12:31 PM, Fernando Martins ferna...@cmartins.nl wrote:
 Thanks, arne, Helge,

 I just made my second try this morning and I got a lock in 35 secs
 (tried two times, consistent lock time).  8-)

 I don't know why the different behaviors, but I did the tests inside a
 party tent I've in the garden and after reading how GPS behaves in
 weather (rain, cloud, snow makes no perceptible difference), the only
 thing that comes to my mind is that last time the tent was probably wet
 or might even had a thin layer of ice (temp was 0ºC). I don't know if it
 was sufficient to compromise the reception (tent now is dry), but I'll
 test it again when I get similar conditions.

 Cheers,
 Fernando


 arne anka wrote:
 slot. If it isn't there, then your phone have this problem.


 not necessarily. in fact, if you really have this problem you didn't
 update your kernel a very long time.
 the gps/sd card fix is in all kernels available for a very long time now,
 the hw fix is not necessary.

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




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


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


Re: shr- GPS howto?

2009-01-23 Thread Helge Hafting
Fernando Martins wrote:
 Very nice, thanks. It's indeed working, sort of:
 
 - on my SHR image (08.12.16), settings has no option for GPS

You are right, of course.
These days, no option for turning the gps hardware on or off. Gps is 
turned on automatically by fso-gpsd, when an app tries to use it.
 
 - it took at least 4 minutes to get a fix. Last time, I gave up after 10 
 min. All tests this evening, same place, tallest buildings almost 100mt 
 away; my house is ~10mt high.

Check if you have one of the older freerunners that have problems using 
gps and SDcard at the same time. Take the sdcard out, and rund from 
flash. If the gps is better, then that was the problem. You should also 
be able to see a tiny capacitor between two of the pins under the sdcard 
slot. If it isn't there, then your phone have this problem.

Helge Hafting

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


Re: shr- GPS howto?

2009-01-23 Thread arne anka
 slot. If it isn't there, then your phone have this problem.

not necessarily. in fact, if you really have this problem you didn't  
update your kernel a very long time.
the gps/sd card fix is in all kernels available for a very long time now,  
the hw fix is not necessary.

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


Re: shr- GPS howto?

2009-01-16 Thread Fernando Martins
Thanks Hemantha,
I could not yet come back to GPS testing but I'll try it.
Cheers,
Fernando

Hemantha Holla M wrote:


 On 14/01/2009, *Fernando Martins* ferna...@cmartins.nl 
 mailto:ferna...@cmartins.nl wrote:

 so something with the device is not working. Also, TangoGPS tells
 me no
 GPS found.


 Probably unrelated, but on Om2008.*, I saw this TangoGPS complaint 
 quite often ; this was because somehow 'lo' interface was down and was 
 solved by '/etc/init.d/networking restart'

 Hemantha

 Any further suggestions from here?

 Regards,

 Fernando


 Michael Sheldon wrote:
  You can test fso-gpsd by running telnet localhost 2947 then
 typing r
  and pressing return. You should the receive GPS data.
 
  Cheers,
Mike.
 
  Fernando Martins wrote:
 
  Actually I just thought I had to start manually fso-gpsd
 (that's what's
  on the shr wiki page) but as a matter of fact I checked now
 that it is
  being actually started at boot time. I'm now trying to figure
 out how to
  check whether gps is on/off and how to control it.
 
  Thomas des Courières wrote:
 
  did you
 try  http://lists.openmoko.org/nabble.html#nabble-td2104833 ?
 
  2009/1/13 Timo Juhani Lindfors timo.lindf...@iki.fi
 mailto:timo.lindf...@iki.fi
  mailto:timo.lindf...@iki.fi mailto:timo.lindf...@iki.fi
 
  Fernando Martins ferna...@cmartins.nl
 mailto:ferna...@cmartins.nl
  mailto:ferna...@cmartins.nl
 mailto:ferna...@cmartins.nl writes:
   receiving no coords. What can I do to test GSP services?
 
  1) is the GPS chip powered on?
  2) is there a process that has the serial port for GPS open?
  3) is that reading any data?
 
  ___
  Openmoko community mailing list
  community@lists.openmoko.org
 mailto:community@lists.openmoko.org
 mailto:community@lists.openmoko.org
 mailto:community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community
 
 
 
 
 
  ___
  Openmoko community mailing list
  community@lists.openmoko.org mailto:community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community
 
 
  ___
  Openmoko community mailing list
  community@lists.openmoko.org mailto:community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community
 
 
 
 
  ___
  Openmoko community mailing list
  community@lists.openmoko.org mailto:community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community
 
 


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




 -- 
 Hemantha Holla M
 

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


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


Re: shr- GPS howto?

2009-01-15 Thread Johny Tenfinger
I will suggest to install Zhone, disable autostarting with X and use
it's GPS panel to debugging. It's really good...

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


Re: shr- GPS howto?

2009-01-14 Thread Helge Hafting
Fernando Martins wrote:
 No luck:
 
 - I've setup date and timezone;
 - GPS is on, per /sys/class... incantation
 - demon fso-gpsd is on, checked with ps
 - telnet comunicates with gpsd but no good data
 - tangoGPS doesn't find GPS device
 
 I have no idea of the reception capabilities of om (or GPS devices in 
 general): is it supposed to work indoors?

Open shr settings (one of the icons) and make sure
gps is on there.  I don't need any sys/class stuff
to use the gps with SHR. SHR image of dec.16 should be ok,
one of the earlier ones had gps not working. Also,
not all alternative kernels have working gps.


Go outside, get away from tall buildings.
Start tangogps, stand still.
It may take 2 minutes to get a fix with some bad luck.
Moving around makes this worse. Tall buildings make this worse.
Starting tangogps indoors and then going outside may take
more time. So if you look at the map indoors, restart tangogps
when you get outside.

The gps may or may not work indoors - if you come in from
outside. Don't expect the gps to start up indoors though.
don't expect gps to work at all in a building with several floors
above you.

Gps units generally need a stronger signal to start up,
then they can follow weaker signals in less
than ideal areas. But it won't start up in bad places.

Helge Hafting

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


Re: shr- GPS howto?

2009-01-13 Thread Timo Juhani Lindfors
Fernando Martins ferna...@cmartins.nl writes:
 receiving no coords. What can I do to test GSP services?

1) is the GPS chip powered on?
2) is there a process that has the serial port for GPS open?
3) is that reading any data?

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


Re: shr- GPS howto?

2009-01-13 Thread Thomas des Courières
did you try  http://lists.openmoko.org/nabble.html#nabble-td2104833 ?

2009/1/13 Timo Juhani Lindfors timo.lindf...@iki.fi

 Fernando Martins ferna...@cmartins.nl writes:
  receiving no coords. What can I do to test GSP services?

 1) is the GPS chip powered on?
 2) is there a process that has the serial port for GPS open?
 3) is that reading any data?

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

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


Re: shr- GPS howto?

2009-01-13 Thread Fernando Martins
Timo Juhani Lindfors wrote:
 Fernando Martins ferna...@cmartins.nl writes:
   
 receiving no coords. What can I do to test GSP services?
 

 1) is the GPS chip powered on?
   
I remember in original om had an option to turn on/off  GPS but I can't 
find it in SHR. Anyway, I assumed gpsd would take care of it. So, in 
SHR, how can I check whether GPS is on/off and how to switch it on/off?

 2) is there a process that has the serial port for GPS open?
 3) is that reading any data?

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

   


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


Re: shr- GPS howto?

2009-01-13 Thread Fernando Martins
Actually I just thought I had to start manually fso-gpsd (that's what's 
on the shr wiki page) but as a matter of fact I checked now that it is 
being actually started at boot time. I'm now trying to figure out how to 
check whether gps is on/off and how to control it.

Thomas des Courières wrote:
 did you try  http://lists.openmoko.org/nabble.html#nabble-td2104833 ?

 2009/1/13 Timo Juhani Lindfors timo.lindf...@iki.fi 
 mailto:timo.lindf...@iki.fi

 Fernando Martins ferna...@cmartins.nl
 mailto:ferna...@cmartins.nl writes:
  receiving no coords. What can I do to test GSP services?

 1) is the GPS chip powered on?
 2) is there a process that has the serial port for GPS open?
 3) is that reading any data?

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


 

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


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


Re: shr- GPS howto?

2009-01-13 Thread Michael Sheldon
You can test fso-gpsd by running telnet localhost 2947 then typing r 
and pressing return. You should the receive GPS data.

Cheers,
  Mike.

Fernando Martins wrote:
 Actually I just thought I had to start manually fso-gpsd (that's what's 
 on the shr wiki page) but as a matter of fact I checked now that it is 
 being actually started at boot time. I'm now trying to figure out how to 
 check whether gps is on/off and how to control it.
 
 Thomas des Courières wrote:
 did you try  http://lists.openmoko.org/nabble.html#nabble-td2104833 ?

 2009/1/13 Timo Juhani Lindfors timo.lindf...@iki.fi 
 mailto:timo.lindf...@iki.fi

 Fernando Martins ferna...@cmartins.nl
 mailto:ferna...@cmartins.nl writes:
  receiving no coords. What can I do to test GSP services?

 1) is the GPS chip powered on?
 2) is there a process that has the serial port for GPS open?
 3) is that reading any data?

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


 

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


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


Re: shr- GPS howto?

2009-01-13 Thread Timo Juhani Lindfors
Fernando Martins ferna...@cmartins.nl writes:
 I remember in original om had an option to turn on/off  GPS but I can't 
 find it in SHR. Anyway, I assumed gpsd would take care of it. So, in 

normal gpsd does nothing about freerunner specific power controls.

 SHR, how can I check whether GPS is on/off and how to switch it on/off?

I cat 
/sys/class/i2c-adapter/i2c-0/0-0073/pcf50633-regltr.7/neo1973-pm-gps.0/pwron


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


Re: shr- GPS howto?

2009-01-13 Thread Fernando Martins
ok, it's the first time I'm looking into this GPS stuff.

Following the suggestion from Timo in another post, I do a

cat /sys/class/i2c-adapter/i2c-0/0-0073/neo1973-pm-gps.0/pwron

(which is different from his 
/sys/class/i2c-adapter/i2c-0/0-0073/pcf50633-regltr.7/neo1973-pm-gps.0/pwron, 
but that's what I found)

and that gives me 0. A echoed a 1 to it, but it's the first time a learn 
about sysfs and I'm not sure this way of setting configuration really works.

Anyway, I telneted then to the port but I'm not really familiar with 
these GPS codes. This seems to be NEMEA data and a quick reading tells 
me that $GPRMC should give me my coordinates but I'm getting empty stuff

$GPRMC,,V,,*31

so something with the device is not working. Also, TangoGPS tells me no 
GPS found.

Any further suggestions from here?

Regards,
Fernando

Michael Sheldon wrote:
 You can test fso-gpsd by running telnet localhost 2947 then typing r 
 and pressing return. You should the receive GPS data.

 Cheers,
   Mike.

 Fernando Martins wrote:
   
 Actually I just thought I had to start manually fso-gpsd (that's what's 
 on the shr wiki page) but as a matter of fact I checked now that it is 
 being actually started at boot time. I'm now trying to figure out how to 
 check whether gps is on/off and how to control it.

 Thomas des Courières wrote:
 
 did you try  http://lists.openmoko.org/nabble.html#nabble-td2104833 ?

 2009/1/13 Timo Juhani Lindfors timo.lindf...@iki.fi 
 mailto:timo.lindf...@iki.fi

 Fernando Martins ferna...@cmartins.nl
 mailto:ferna...@cmartins.nl writes:
  receiving no coords. What can I do to test GSP services?

 1) is the GPS chip powered on?
 2) is there a process that has the serial port for GPS open?
 3) is that reading any data?

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


 

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

 


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

   


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


Re: shr- GPS howto?

2009-01-13 Thread Michael Sheldon
You don't need to power on the GPS device yourself, FSO will handle this 
for you when a client requests the GPS resource (and then power it down 
again when there are no longer any clients using it). You'll get empty 
data until the device acquires a fix.

  From what I've read elsewhere it seems important to make sure that 
your time-zone settings and date/time are correct, as it seems FSO uses 
these when getting a fix.

Cheers,
  Mike.

Fernando Martins wrote:
 ok, it's the first time I'm looking into this GPS stuff.
 
 Following the suggestion from Timo in another post, I do a
 
 cat /sys/class/i2c-adapter/i2c-0/0-0073/neo1973-pm-gps.0/pwron
 
 (which is different from his 
 /sys/class/i2c-adapter/i2c-0/0-0073/pcf50633-regltr.7/neo1973-pm-gps.0/pwron, 
 but that's what I found)
 
 and that gives me 0. A echoed a 1 to it, but it's the first time a learn 
 about sysfs and I'm not sure this way of setting configuration really works.
 
 Anyway, I telneted then to the port but I'm not really familiar with 
 these GPS codes. This seems to be NEMEA data and a quick reading tells 
 me that $GPRMC should give me my coordinates but I'm getting empty stuff
 
 $GPRMC,,V,,*31
 
 so something with the device is not working. Also, TangoGPS tells me no 
 GPS found.
 
 Any further suggestions from here?
 
 Regards,
 Fernando
 
 Michael Sheldon wrote:
 You can test fso-gpsd by running telnet localhost 2947 then typing r 
 and pressing return. You should the receive GPS data.

 Cheers,
   Mike.

 Fernando Martins wrote:
   
 Actually I just thought I had to start manually fso-gpsd (that's what's 
 on the shr wiki page) but as a matter of fact I checked now that it is 
 being actually started at boot time. I'm now trying to figure out how to 
 check whether gps is on/off and how to control it.

 Thomas des Courières wrote:
 
 did you try  http://lists.openmoko.org/nabble.html#nabble-td2104833 ?

 2009/1/13 Timo Juhani Lindfors timo.lindf...@iki.fi 
 mailto:timo.lindf...@iki.fi

 Fernando Martins ferna...@cmartins.nl
 mailto:ferna...@cmartins.nl writes:
  receiving no coords. What can I do to test GSP services?

 1) is the GPS chip powered on?
 2) is there a process that has the serial port for GPS open?
 3) is that reading any data?

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


 

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

 

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

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


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


Re: shr- GPS howto?

2009-01-13 Thread Timo Juhani Lindfors
Fernando Martins ferna...@cmartins.nl writes:
 about sysfs and I'm not sure this way of setting configuration really works.

Yes it works just like that.

 Anyway, I telneted then to the port but I'm not really familiar with 

Telnet'ed to what port? The gpsd port 2947 should not return NMEA but
just reply to one-letter commands:

li...@ginger:~$ netcat localhost gpsd
p
GPSD,P=?
d
GPSD,D=?

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


Re: shr- GPS howto?

2009-01-13 Thread Michael Sheldon
Timo Juhani Lindfors wrote:
 Telnet'ed to what port? The gpsd port 2947 should not return NMEA but
 just reply to one-letter commands:

The 'r' command switches fso-gpsd to raw mode, so it'll give a constant 
stream of NMEA data as it receives it from ogpsd.

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


Re: shr- GPS howto?

2009-01-13 Thread Fernando Martins
No luck:

- I've setup date and timezone;
- GPS is on, per /sys/class... incantation
- demon fso-gpsd is on, checked with ps
- telnet comunicates with gpsd but no good data
- tangoGPS doesn't find GPS device

I have no idea of the reception capabilities of om (or GPS devices in 
general): is it supposed to work indoors?

Any further suggestions?

Thanks for all the help so far,
Fernando

Michael Sheldon wrote:
 You don't need to power on the GPS device yourself, FSO will handle this 
 for you when a client requests the GPS resource (and then power it down 
 again when there are no longer any clients using it). You'll get empty 
 data until the device acquires a fix.

   From what I've read elsewhere it seems important to make sure that 
 your time-zone settings and date/time are correct, as it seems FSO uses 
 these when getting a fix.

 Cheers,
   Mike.

 Fernando Martins wrote:
   
 ok, it's the first time I'm looking into this GPS stuff.

 Following the suggestion from Timo in another post, I do a

 cat /sys/class/i2c-adapter/i2c-0/0-0073/neo1973-pm-gps.0/pwron

 (which is different from his 
 /sys/class/i2c-adapter/i2c-0/0-0073/pcf50633-regltr.7/neo1973-pm-gps.0/pwron,
  
 but that's what I found)

 and that gives me 0. A echoed a 1 to it, but it's the first time a learn 
 about sysfs and I'm not sure this way of setting configuration really works.

 Anyway, I telneted then to the port but I'm not really familiar with 
 these GPS codes. This seems to be NEMEA data and a quick reading tells 
 me that $GPRMC should give me my coordinates but I'm getting empty stuff

 $GPRMC,,V,,*31

 so something with the device is not working. Also, TangoGPS tells me no 
 GPS found.

 Any further suggestions from here?

 Regards,
 Fernando

 Michael Sheldon wrote:
 
 You can test fso-gpsd by running telnet localhost 2947 then typing r 
 and pressing return. You should the receive GPS data.

 Cheers,
   Mike.

 Fernando Martins wrote:
   
   
 Actually I just thought I had to start manually fso-gpsd (that's what's 
 on the shr wiki page) but as a matter of fact I checked now that it is 
 being actually started at boot time. I'm now trying to figure out how to 
 check whether gps is on/off and how to control it.

 Thomas des Courières wrote:
 
 
 did you try  http://lists.openmoko.org/nabble.html#nabble-td2104833 ?

 2009/1/13 Timo Juhani Lindfors timo.lindf...@iki.fi 
 mailto:timo.lindf...@iki.fi

 Fernando Martins ferna...@cmartins.nl
 mailto:ferna...@cmartins.nl writes:
  receiving no coords. What can I do to test GSP services?

 1) is the GPS chip powered on?
 2) is there a process that has the serial port for GPS open?
 3) is that reading any data?

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


 

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

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

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

 


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

   


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


Re: shr- GPS howto?

2009-01-13 Thread Michael Sheldon
You're unlikely to get a fix indoors, you might be able to get one 
pressed up against a window, but for best results you should be outside.

Fernando Martins wrote:
 No luck:
 
 - I've setup date and timezone;
 - GPS is on, per /sys/class... incantation
 - demon fso-gpsd is on, checked with ps
 - telnet comunicates with gpsd but no good data
 - tangoGPS doesn't find GPS device
 
 I have no idea of the reception capabilities of om (or GPS devices in 
 general): is it supposed to work indoors?
 
 Any further suggestions?
 
 Thanks for all the help so far,
 Fernando
 
 Michael Sheldon wrote:
 You don't need to power on the GPS device yourself, FSO will handle this 
 for you when a client requests the GPS resource (and then power it down 
 again when there are no longer any clients using it). You'll get empty 
 data until the device acquires a fix.

   From what I've read elsewhere it seems important to make sure that 
 your time-zone settings and date/time are correct, as it seems FSO uses 
 these when getting a fix.

 Cheers,
   Mike.

 Fernando Martins wrote:
   
 ok, it's the first time I'm looking into this GPS stuff.

 Following the suggestion from Timo in another post, I do a

 cat /sys/class/i2c-adapter/i2c-0/0-0073/neo1973-pm-gps.0/pwron

 (which is different from his 
 /sys/class/i2c-adapter/i2c-0/0-0073/pcf50633-regltr.7/neo1973-pm-gps.0/pwron,
  
 but that's what I found)

 and that gives me 0. A echoed a 1 to it, but it's the first time a learn 
 about sysfs and I'm not sure this way of setting configuration really works.

 Anyway, I telneted then to the port but I'm not really familiar with 
 these GPS codes. This seems to be NEMEA data and a quick reading tells 
 me that $GPRMC should give me my coordinates but I'm getting empty stuff

 $GPRMC,,V,,*31

 so something with the device is not working. Also, TangoGPS tells me no 
 GPS found.

 Any further suggestions from here?

 Regards,
 Fernando

 Michael Sheldon wrote:
 
 You can test fso-gpsd by running telnet localhost 2947 then typing r 
 and pressing return. You should the receive GPS data.

 Cheers,
   Mike.

 Fernando Martins wrote:
   
   
 Actually I just thought I had to start manually fso-gpsd (that's what's 
 on the shr wiki page) but as a matter of fact I checked now that it is 
 being actually started at boot time. I'm now trying to figure out how to 
 check whether gps is on/off and how to control it.

 Thomas des Courières wrote:
 
 
 did you try  http://lists.openmoko.org/nabble.html#nabble-td2104833 ?

 2009/1/13 Timo Juhani Lindfors timo.lindf...@iki.fi 
 mailto:timo.lindf...@iki.fi

 Fernando Martins ferna...@cmartins.nl
 mailto:ferna...@cmartins.nl writes:
  receiving no coords. What can I do to test GSP services?

 1) is the GPS chip powered on?
 2) is there a process that has the serial port for GPS open?
 3) is that reading any data?

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


 

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

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

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

 

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

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


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