Hi there,

no follow-up from now, I just tested yesterday with another gps module (one 
working from a friend) but after 5 minutes, it doesn't work either.
I tried my module into his phone and it seems it wasn't working.
I need to run more tests, I didn't have enough time yesterday.
I noticed the wire between the connector and the gps module was flappy so I 
maybe need to resolder it
Weird thing is sometimes, nothing come from /dev/ttySAC1 but I can get data as 
mentioned below with the DEBUG mode of frameworkdlogd

Regards,

Yann

----- Mail Original -----
De: "Vasco Névoa" <[email protected]>
À: "Yann SLADEK" <[email protected]>
Cc: [email protected]
Envoyé: Lundi 4 Janvier 2010 03:37:32 GMT +01:00 Amsterdam / Berlin / Berne / 
Rome / Stockholm / Vienne
Objet: Re: [Shr-User] [SHR unstable] GPS not working

Was there a follow-up on this? 
My GPS also disappeared after my reflashing from SHR-U September to the last 
version... 
Tangogps says "no gps", and in SHR Settings there never is a fix or even 
satellite list. 
"hwclock" and "date" give pretty close times. 

Yann SLADEK wrote: 

Hi Joachim,

sorry for the delay, the test was done on Sunday but I just post the 
results now

Yes my init is similar to yours :
2009.12.08 18:49:01.950 frameworkd.resource  INFO     setting resource 
status for GPS from disabled to enabling
2009.12.08 18:49:01.962 ogpsd.gpsdevice      INFO     enabling
2009.12.08 18:49:01.987 ogpsd                WARNING  (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.08 18:49:02.585 frameworkd.resource  INFO     setting resource 
status for GPS from enabling to enabled

My module is activated (I can see it through a dbus call, via the 
GetConnectionStatus method returning TRUE) but my antenna might be in cause

When the gps module is activated, I can get through data collected (in 
/dev/ttySAC1) as below :

$GPTXT,01,01,02,u-blox ag - www.u-blox.com*50 $GPTXT,01,01,02,ANTARIS ATR062x 
HW 80040001*26
$GPTXT,01,01,02,ROM CORE       5.00    Jan 09 2006 12:00:00*76
$GPTXT,01,01,02,LIC 1EBF-BD07-E83D-6BE1-0F7A*50
$GPRMC,,V,,,,,,,,,,N*53
$GPVTG,,,,,,,,,N*30
$GPGGA,,,,,,0,00,99.99,,,,,,*48
$GPGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99*30
$GPGSV,1,1,00*79
$GPGLL,,,,,,V,N*64
$GPZDA,,,,,00,00*48

Then, using DEBUG mode of frameworkd.log, I got the following output 
once a second, and that's all, no time sync, no gps fix :

2009.12.08 19:29:31.46 ogpsd                DEBUG    Got UBX packet of 
type NAV-DOP: [{'GDOP': 9999, 'TDOP': 9999, 'VDOP': 9999, 'HDOP': 9999, 
'PDOP': 9999, 'ITOW': 35000, 'NDOP': 9999, 'EDOP': 9999}]      
2009.12.08 19:29:31.71 ogpsd                DEBUG    Got UBX packet of 
type NAV-STATUS: [{'DiffS': 0, 'GPSfix': 0, 'Flags': 32, 'ITOW': 35000, 
'TTFF': 0, 'MSSS': 35038}]                                     
2009.12.08 19:29:31.120 ogpsd                DEBUG    Got UBX packet of 
type NAV-VELNED: [{'SAcc': 99999904, 'GSpeed': 0, 'Speed': 0, 'Heading': 
0, 'ITOW': 35000, 'CAcc': 36000000, 'VEL_N': 0, 'VEL_E': 0, 'V
2009.12.08 19:29:31.146 ogpsd                DEBUG    Got UBX packet of 
type NAV-TIMEUTC: [{'Hour': 0, 'Nano': 0, 'Min': 0, 'Month': 1, 'Valid': 
0, 'Sec': 35, 'ITOW': 35000, 'Year': 1980, 'TAcc': 3335637760L
2009.12.08 19:29:32.26 ogpsd                DEBUG    Got UBX packet of 
type NAV-POSLLH: [{'LON': 0, 'HMSL': 487000, 'HEIGHT': 500000, 'ITOW': 
36000, 'LAT': 900000000, 'Vacc': 999998976, 'Hacc': 999998976}] 

What else can I do ?

Thanks for your help

Yann 

2009/12/6 Yann SLADEK <[email protected]> : 

Hi,

Today I tried to start gps with dbus. So first, I started the device
(there is 2 method for that one with Device.Start, one with
Resource.Enable) but both failed Better let's make sure that device is ok 
before trying more with
mdbus. Can you do "grep -i gps /var/log/frameworkd.log" and paste the
lines after "launching internal subsystem ogpsd" - if this are more
than 100 lines, put them on pastebin.com or such.

A successful init of the device should look similar like this:

2009.12.06 21:52:21.601 frameworkd.resource  INFO     setting resource
status for GPS from disabled to enabling
2009.12.06 21:52:21.621 ogpsd.gpsdevice      INFO     enabling
2009.12.06 21:52:21.689 ogpsd                WARNING  (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.06 21:52:22.283 frameworkd.resource  INFO     setting resource
status for GPS from enabling to enabled 
_______________________________________________
Shr-User mailing list [email protected] 
http://lists.shr-project.org/mailman/listinfo/shr-user
_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user

Reply via email to