shr- GPS howto?

Michael Sheldon mike at mikeasoft.com
Wed Jan 14 00:22:34 CET 2009


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.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
>>>>
>>>>   
>>>>       
>>> _______________________________________________
>>> 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