Re: [shr-u] GPS not working

2009-12-27 Thread Neil Jerram
2009/12/27 Fox Mulder :
> Neil Jerram wrote:
>>
>> Apropos of that, I wonder why the software doesn't attempt to get a
>> fix both using and ignoring the AGPS data, simultaneously?
>
> The gps chip itself locates the satellites and get a fix and not the
> software. And the gps chip can only start with agps data or without it.
> You can't use one gps chip to do two simultanious gps locations with
> different start conditions.

Fair enough, thanks for the answer.  I suppose then that a better chip
might do as I suggested.

 Neil

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


Re: [shr-u] GPS not working

2009-12-27 Thread Fox Mulder
Neil Jerram wrote:
> 2009/12/22 Bill Kenworthy :
>> Use settings/position and "remove AGPS data" - I suspect that it
>> installs with a AGPS data file that by default doesnt suit your location
>> - I cant get a lock without cleaning it out after install, then its
>> fine.
> 
> Apropos of that, I wonder why the software doesn't attempt to get a
> fix both using and ignoring the AGPS data, simultaneously?

The gps chip itself locates the satellites and get a fix and not the
software. And the gps chip can only start with agps data or without it.
You can't use one gps chip to do two simultanious gps locations with
different start conditions.

Ciao,
 Rainer

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


Re: [shr-u] GPS not working

2009-12-27 Thread Neil Jerram
2009/12/22 Bill Kenworthy :
>
> Use settings/position and "remove AGPS data" - I suspect that it
> installs with a AGPS data file that by default doesnt suit your location
> - I cant get a lock without cleaning it out after install, then its
> fine.

Apropos of that, I wonder why the software doesn't attempt to get a
fix both using and ignoring the AGPS data, simultaneously?

 Neil

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


Re: [shr-u] GPS not working

2009-12-23 Thread Michele Brocco
On 12/22/09, Bill Kenworthy  wrote:
> On Mon, 2009-12-21 at 21:52 +0100, Michele Brocco wrote:
>> On 12/21/09, Michele Brocco  wrote:
>> > thanks for the info guys. I will install zhone and report whether I
>> > can find out something or not. Right now with fso disabled I can get
>> > GPS NMEA data out of it. However no fix, position data or something
>> > else interesting except sometimes some unreadable Date and Time (ZDA)
>> > information which adjusted my time from year 1970 to 1999.
>> >
>> > On 12/21/09, Daniel Willmann  wrote:
>> >> Hello,
>> >>
>> >> On 12/21/2009 02:54 PM, Michele Brocco wrote:
>> >>> since i installed the latest SHR-U GPS seem to not work at all. The
>> >>> SHR GUI for reading satellites shows no entry at all even after 20
>> >>> minutes outside. I think that may be related to the following problem
>> >>> with the interface naming extracted from frameworkd.log:
>> >> [...]
>> >>> 2009.12.21 11:49:13.961 ogpsdWARNING  (could not write
>> >>> to '/sys/bus/platform/devices/neo1973-pm-gps.0/pwron': [Errno 2] No
>> >>> such file or directory:
>> >>> '/sys/bus/platform/devices/neo1973-pm-gps.0/pwron')
>> >>>
>> >>> but the file is called power_on here. Am I the only one experiencing
>> >>> this (I know somebody having shr-u without that problem)? Is this
>> >>> really the reason why I dont get a single entry in the satellite list
>> >>> of the shr phoneui?
>> >>
>> >> This is "normal". Earlier kernel had pwron as node to control power to
>> >> GPS and since the change ogpsd just writes to both (and will always
>> >> complain about one not being there).
>> >> If you install zhone (which should be possible on SHR) you can open the
>> >> GPS tab and look at GPS in more detail. The chip will tell you which
>> >> SVs
>> >> it is currently looking for and if it is receiving data or not well
>> >> before they appear in the SHR GUI.
>> >>
>> I the meanwhile I tried with zhone and it seems to search for
>> approximately 13 different SVs without results for a lng while
>> (around 20 minutes). Power On seems to work since zhone's GPS icon
>> activates after turning gps on through the shr settings gui. Also no
>> time sync or any other value is set.
>>
>
>
> Use settings/position and "remove AGPS data" - I suspect that it
> installs with a AGPS data file that by default doesnt suit your location
> - I cant get a lock without cleaning it out after install, then its
> fine.
>
>
I tried to change GPS Antenna and to remove AGPS data but still no
luck so far. I will try to change with a third antenna in the next
days. Is there a way to see if there is some damage at the gps chip
itself? gpspipe and cat produce some nmea data in a 1Hz rate. thats
all i can see. but of course no fix data or meaningfull location data.

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


Re: [shr-u] GPS not working

2009-12-21 Thread Bill Kenworthy
On Mon, 2009-12-21 at 21:52 +0100, Michele Brocco wrote:
> On 12/21/09, Michele Brocco  wrote:
> > thanks for the info guys. I will install zhone and report whether I
> > can find out something or not. Right now with fso disabled I can get
> > GPS NMEA data out of it. However no fix, position data or something
> > else interesting except sometimes some unreadable Date and Time (ZDA)
> > information which adjusted my time from year 1970 to 1999.
> >
> > On 12/21/09, Daniel Willmann  wrote:
> >> Hello,
> >>
> >> On 12/21/2009 02:54 PM, Michele Brocco wrote:
> >>> since i installed the latest SHR-U GPS seem to not work at all. The
> >>> SHR GUI for reading satellites shows no entry at all even after 20
> >>> minutes outside. I think that may be related to the following problem
> >>> with the interface naming extracted from frameworkd.log:
> >> [...]
> >>> 2009.12.21 11:49:13.961 ogpsdWARNING  (could not write
> >>> to '/sys/bus/platform/devices/neo1973-pm-gps.0/pwron': [Errno 2] No
> >>> such file or directory:
> >>> '/sys/bus/platform/devices/neo1973-pm-gps.0/pwron')
> >>>
> >>> but the file is called power_on here. Am I the only one experiencing
> >>> this (I know somebody having shr-u without that problem)? Is this
> >>> really the reason why I dont get a single entry in the satellite list
> >>> of the shr phoneui?
> >>
> >> This is "normal". Earlier kernel had pwron as node to control power to
> >> GPS and since the change ogpsd just writes to both (and will always
> >> complain about one not being there).
> >> If you install zhone (which should be possible on SHR) you can open the
> >> GPS tab and look at GPS in more detail. The chip will tell you which SVs
> >> it is currently looking for and if it is receiving data or not well
> >> before they appear in the SHR GUI.
> >>
> I the meanwhile I tried with zhone and it seems to search for
> approximately 13 different SVs without results for a lng while
> (around 20 minutes). Power On seems to work since zhone's GPS icon
> activates after turning gps on through the shr settings gui. Also no
> time sync or any other value is set.
> 


Use settings/position and "remove AGPS data" - I suspect that it
installs with a AGPS data file that by default doesnt suit your location
- I cant get a lock without cleaning it out after install, then its
fine.


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


Re: [shr-u] GPS not working

2009-12-21 Thread Daniel Willmann
On 12/21/2009 09:52 PM, Michele Brocco wrote:
>>> If you install zhone (which should be possible on SHR) you can open the
>>> GPS tab and look at GPS in more detail. The chip will tell you which SVs
>>> it is currently looking for and if it is receiving data or not well
>>> before they appear in the SHR GUI.
>>>
> I the meanwhile I tried with zhone and it seems to search for
> approximately 13 different SVs without results for a lng while
> (around 20 minutes). Power On seems to work since zhone's GPS icon
> activates after turning gps on through the shr settings gui. Also no
> time sync or any other value is set.

Then I suspect that your GPS antenna is broken. I've encountered a
couple Freerunners which had this problem. If you have an external
antenna you can plug it in and see if it works.
If you can't send it back to the shop you bought your phone from and get
it repaired you can also follow the instructions on the wiki and
disassemble the phone replacing the GPS antenna is relatively easy. The
cable of the GPS antenna is probably stuck between the upper side of the
PCB and the GPS antenna itself and broke at that place due to the stress.

If you can't get a replacement antenna anywhere you can contact me and
we can arrange something.


Regards,
Daniel Willmann



signature.asc
Description: OpenPGP digital signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [shr-u] GPS not working

2009-12-21 Thread Michele Brocco
On 12/21/09, Michele Brocco  wrote:
> thanks for the info guys. I will install zhone and report whether I
> can find out something or not. Right now with fso disabled I can get
> GPS NMEA data out of it. However no fix, position data or something
> else interesting except sometimes some unreadable Date and Time (ZDA)
> information which adjusted my time from year 1970 to 1999.
>
> On 12/21/09, Daniel Willmann  wrote:
>> Hello,
>>
>> On 12/21/2009 02:54 PM, Michele Brocco wrote:
>>> since i installed the latest SHR-U GPS seem to not work at all. The
>>> SHR GUI for reading satellites shows no entry at all even after 20
>>> minutes outside. I think that may be related to the following problem
>>> with the interface naming extracted from frameworkd.log:
>> [...]
>>> 2009.12.21 11:49:13.961 ogpsdWARNING  (could not write
>>> to '/sys/bus/platform/devices/neo1973-pm-gps.0/pwron': [Errno 2] No
>>> such file or directory:
>>> '/sys/bus/platform/devices/neo1973-pm-gps.0/pwron')
>>>
>>> but the file is called power_on here. Am I the only one experiencing
>>> this (I know somebody having shr-u without that problem)? Is this
>>> really the reason why I dont get a single entry in the satellite list
>>> of the shr phoneui?
>>
>> This is "normal". Earlier kernel had pwron as node to control power to
>> GPS and since the change ogpsd just writes to both (and will always
>> complain about one not being there).
>> If you install zhone (which should be possible on SHR) you can open the
>> GPS tab and look at GPS in more detail. The chip will tell you which SVs
>> it is currently looking for and if it is receiving data or not well
>> before they appear in the SHR GUI.
>>
I the meanwhile I tried with zhone and it seems to search for
approximately 13 different SVs without results for a lng while
(around 20 minutes). Power On seems to work since zhone's GPS icon
activates after turning gps on through the shr settings gui. Also no
time sync or any other value is set.

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


Re: [shr-u] GPS not working

2009-12-21 Thread Michele Brocco
thanks for the info guys. I will install zhone and report whether I
can find out something or not. Right now with fso disabled I can get
GPS NMEA data out of it. However no fix, position data or something
else interesting except sometimes some unreadable Date and Time (ZDA)
information which adjusted my time from year 1970 to 1999.

On 12/21/09, Daniel Willmann  wrote:
> Hello,
>
> On 12/21/2009 02:54 PM, Michele Brocco wrote:
>> since i installed the latest SHR-U GPS seem to not work at all. The
>> SHR GUI for reading satellites shows no entry at all even after 20
>> minutes outside. I think that may be related to the following problem
>> with the interface naming extracted from frameworkd.log:
> [...]
>> 2009.12.21 11:49:13.961 ogpsdWARNING  (could not write
>> to '/sys/bus/platform/devices/neo1973-pm-gps.0/pwron': [Errno 2] No
>> such file or directory:
>> '/sys/bus/platform/devices/neo1973-pm-gps.0/pwron')
>>
>> but the file is called power_on here. Am I the only one experiencing
>> this (I know somebody having shr-u without that problem)? Is this
>> really the reason why I dont get a single entry in the satellite list
>> of the shr phoneui?
>
> This is "normal". Earlier kernel had pwron as node to control power to
> GPS and since the change ogpsd just writes to both (and will always
> complain about one not being there).
> If you install zhone (which should be possible on SHR) you can open the
> GPS tab and look at GPS in more detail. The chip will tell you which SVs
> it is currently looking for and if it is receiving data or not well
> before they appear in the SHR GUI.
>
>
> Regards,
> Daniel Willmann
>
>

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


Re: [shr-u] GPS not working

2009-12-21 Thread Daniel Willmann
Hello,

On 12/21/2009 02:54 PM, Michele Brocco wrote:
> since i installed the latest SHR-U GPS seem to not work at all. The
> SHR GUI for reading satellites shows no entry at all even after 20
> minutes outside. I think that may be related to the following problem
> with the interface naming extracted from frameworkd.log:
[...]
> 2009.12.21 11:49:13.961 ogpsdWARNING  (could not write
> to '/sys/bus/platform/devices/neo1973-pm-gps.0/pwron': [Errno 2] No
> such file or directory:
> '/sys/bus/platform/devices/neo1973-pm-gps.0/pwron')
> 
> but the file is called power_on here. Am I the only one experiencing
> this (I know somebody having shr-u without that problem)? Is this
> really the reason why I dont get a single entry in the satellite list
> of the shr phoneui?

This is "normal". Earlier kernel had pwron as node to control power to
GPS and since the change ogpsd just writes to both (and will always
complain about one not being there).
If you install zhone (which should be possible on SHR) you can open the
GPS tab and look at GPS in more detail. The chip will tell you which SVs
it is currently looking for and if it is receiving data or not well
before they appear in the SHR GUI.


Regards,
Daniel Willmann



signature.asc
Description: OpenPGP digital signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [shr-u] GPS not working

2009-12-21 Thread Dr. H. Nikolaus Schaller
Hi Michele,

Am 21.12.2009 um 14:54 schrieb Michele Brocco:

> to '/sys/bus/platform/devices/neo1973-pm-gps.0/pwron': [Errno 2] No
> such file or directory:
> '/sys/bus/platform/devices/neo1973-pm-gps.0/pwron')
>
> but the file is called power_on here. Am I the only one experiencing

I have not much experience to compare with earlier versions, but here  
it is on OM2009.5

r...@om-gta02:~# ls -l /sys/bus/platform/devices/neo1973-pm-gps.0/
lrwxrwxrwx1 root root0 Dec 18 11:35 bus - 
 > ../../../../../../bus/platform
lrwxrwxrwx1 root root0 Dec 18 11:35 driver - 
 > ../../../../../../bus/platform/drivers/neo1973-pm-gps
-rw-r--r--1 root root 4096 Dec 18 11:35  
keep_on_in_suspend
-r--r--r--1 root root 4096 Dec 18 11:35  
microamps_requested_RF_3V
-r--r--r--1 root root 4096 Dec 18 11:35 modalias
drwxr-xr-x2 root root0 Dec 18 11:35 power
-rw-r--r--1 root root 4096 Dec 18 11:35 power_on
lrwxrwxrwx1 root root0 Dec 18 11:35 subsystem - 
 > ../../../../../../bus/platform
-rw-r--r--1 root root 4096 Feb  1  2000 uevent

and SHR-U (December)

r...@om-gta02 ~ $ ls -l /sys/bus/platform/devices/neo1973-pm-gps.0/
lrwxrwxrwx1 root root0 Jan  1 00:06 driver - 
 > ../../../../../../../../bus/platform/drivers/neo1973-pm-gps
-rw-r--r--1 root root 4096 Jan  1 00:06  
keep_on_in_suspend
-r--r--r--1 root root 4096 Jan  1 00:06  
microamps_requested_RF_3V
-r--r--r--1 root root 4096 Jan  1 00:06 modalias
drwxr-xr-x2 root root0 Jan  1 00:06 power
-rw-r--r--1 root root 4096 Jan  1 00:02 power_on
lrwxrwxrwx1 root root0 Jan  1 00:06 subsystem - 
 > ../../../../../../../../bus/platform
-rw-r--r--1 root root 4096 Jan  1 00:06 uevent

They look quite similar and both use the filename "power_on". And  
never "pwron".

So I think there is a bug in (your?) version of ogpsd. Maybe it is not  
updated correctly?

Nikolaus

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


[shr-u] GPS not working

2009-12-21 Thread Michele Brocco
Hello list,

since i installed the latest SHR-U GPS seem to not work at all. The
SHR GUI for reading satellites shows no entry at all even after 20
minutes outside. I think that may be related to the following problem
with the interface naming extracted from frameworkd.log:

2009.12.21 11:48:09.340 ogpsdWARNING  (could not write
to '/sys/bus/platform/devices/neo1973-pm-gps.0/pwron': [Errno 2] No
such file or directory:
'/sys/bus/platform/devices/neo1973-pm-gps.0/pwron')
2009.12.21 11:48:09.887 ogpsdWARNING  (could not write
to '/sys/bus/platform/devices/neo1973-pm-gps.0/pwron': [Errno 2] No
such file or directory:
'/sys/bus/platform/devices/neo1973-pm-gps.0/pwron')
2009.12.21 11:48:10.49 ogpsd.gpsdevice  INFO GTA02Device
initialized. Serving org.freedesktop.Gypsy at /org/freedesktop/Gypsy
2009.12.21 11:48:10.169 frameworkd.subsystem INFO subsystem ogpsd
took 4.11 seconds to startup
2009.12.21 11:49:02.819 otimed   INFO loaded
timesources [, ]
2009.12.21 11:49:13.723 frameworkd.resource  INFO setting resource
status for GPS from unknown to disabling
2009.12.21 11:49:13.740 ogpsd.gpsdevice  INFO disabling
2009.12.21 11:49:13.762 ogpsdWARNING  Attempted to
send something while serial is not open.
2009.12.21 11:49:13.770 ogpsdWARNING  Attempted to
send something while serial is not open.
2009.12.21 11:49:13.789 ogpsdWARNING  Attempted to
send something while serial is not open.
2009.12.21 11:49:13.797 ogpsdWARNING  Attempted to
send something while serial is not open.
2009.12.21 11:49:13.816 ogpsdWARNING  Attempted to
send something while serial is not open.
2009.12.21 11:49:13.857 ogpsdWARNING  Attempted to
send something while serial is not open.
2009.12.21 11:49:13.866 ogpsdWARNING  Attempted to
send something while serial is not open.
2009.12.21 11:49:13.904 ogpsdWARNING  Attempted to
send something while serial is not open.
2009.12.21 11:49:13.913 ogpsdWARNING  Attempted to
send something while serial is not open.
2009.12.21 11:49:13.931 ogpsdWARNING  Attempted to
send something while serial is not open.
2009.12.21 11:49:13.941 ogpsdWARNING  Attempted to
send something while serial is not open.
2009.12.21 11:49:13.961 ogpsdWARNING  (could not write
to '/sys/bus/platform/devices/neo1973-pm-gps.0/pwron': [Errno 2] No
such file or directory:
'/sys/bus/platform/devices/neo1973-pm-gps.0/pwron')

but the file is called power_on here. Am I the only one experiencing
this (I know somebody having shr-u without that problem)? Is this
really the reason why I dont get a single entry in the satellite list
of the shr phoneui?

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