On Sunday 23 August 2009, e.waelde wrote:
> Hello,
>
> after my "install from scratch" (reported here:
> http://lists.linuxtogo.org/pipermail/smartphones-userland/2009-August/00186
>1.html) I can't get anything useful from GPS. This used to work without a
> problem, so I exclude a possible hardware problem at the moment).
>
> I did install the firmware update some time ago:
> +CGMR: "GSM:
> gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0-Moko11"

This has nothing to do with GPS.

> I decided to enable logging of frameworkd ...
> Lots of lines like these:
> 2009.08.23 13:08:30 ogpsd    DEBUG    Discarded data not UBX '\n$GPGSA,'
> 2009.08.23 13:08:30 ogpsd    DEBUG    Discarded data not UBX
> 'A,1,,,,,,,,,,,,,'
> 2009.08.23 13:08:30 ogpsd    DEBUG    Discarded data not UBX '99.99,99'
> 2009.08.23 13:08:30 ogpsd    DEBUG    Discarded data not UBX '.99,99.9'
> 2009.08.23 13:08:30 ogpsd    DEBUG    Discarded data not UBX
> '9*30\r\n$G'

Check further up the log to see where data stops arriving as UBX and starts 
arriving as NMEA. My guess is you'll see the GPS crash and restart. This used 
to be a problem when loading bad almanac and/or ephemeris data, but I thought 
that was fixed long ago. You could try deleting the pickle file that holds the 
almanac and ephemeris.

> So it seems that ogpsd is expecting UBX data but is instead getting
> NMEA data. So I changed /etc/frameworkd.conf
>  [ogpsd]
>  # set 1 to disable a module
>  disable = 0
>  # possible options are NMEADevice, UBXDevice, GTA02Device, EtenDevice
> -device = GTA02Device
> +device = NMEADevice
>  # possible options are SerialChannel, GllinChannel, UDPChannel,
> FileChannel
>  channel = SerialChannel
>  # For UDPChannel the path defines the port to listen to
>  path = /dev/ttySAC1
>
> And presto: there comes the fix again.
>
> So questions remain:
> 1. is the update to Moko11 firmware changing the behaviour?
> 2. is ogpsd not requesting UBX data correctly?
> 3. is this the way its supposed to be?
> 4. what exactly is introducing the change?
> 5. where should it be fixed?


_______________________________________________
Smartphones-userland mailing list
Smartphones-userland@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland

Reply via email to