shr- GPS howto?
Fernando Martins
fernando at cmartins.nl
Tue Jan 13 23:06:45 CET 2009
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.lindfors at iki.fi
>>> <mailto:timo.lindfors at iki.fi>>
>>>
>>> Fernando Martins <fernando at cmartins.nl
>>> <mailto:fernando at 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 at lists.openmoko.org <mailto:community at lists.openmoko.org>
>>> http://lists.openmoko.org/mailman/listinfo/community
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Openmoko community mailing list
>>> community at lists.openmoko.org
>>> http://lists.openmoko.org/mailman/listinfo/community
>>>
>>>
>> _______________________________________________
>> Openmoko community mailing list
>> community at lists.openmoko.org
>> http://lists.openmoko.org/mailman/listinfo/community
>>
>>
>
>
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
>
More information about the community
mailing list