[Gta04-owner] Replicant GTA04 port changelog

Paul Kocialkowski contact at paulk.fr
Mon May 12 20:16:43 CEST 2014


In order to keep our trees up to date, I'll post the relevant changes I
add to the upstream Replicant repositories here (you might want to do
the same):

device/goldelico/gta04:

commit 621088cc180926d8341dc97e876187f76d1a36fe
Author: Paul Kocialkowski <contact at paulk.fr>
Date:   Mon May 12 20:04:53 2014 +0200

    gps: Report speed in meters per second
    
    Signed-off-by: Paul Kocialkowski <contact at paulk.fr>

This is needed to have proper speed. I didn't check that the units were
correct when reporting the speed from NMEA and I was wrong: NMEA reports
knots and Android excepts m/s. This resulted in having twice the correct
speed reported to applications (OsmAnd was showing 180 km/h when the
speed was actually 90 km/h). By the way, OsmAnd makes a wonderful
navigation application (probably as good as navit, perhaps even with
extra features), with software routing and voice indications and the
GTA04 makes a quite nice GPS navigator, too!

commit 415f68a8f66df504a7d5b6337b6765af3fe57695
Author: Paul Kocialkowski <contact at paulk.fr>
Date:   Sat May 3 23:03:13 2014 +0200

    gps: Abort thread only after two consecutive poll failures
    
    Signed-off-by: Paul Kocialkowski <contact at paulk.fr>

This is for safety: at some point, poll failed for no apparent reason
and I'm sure it could have recovered from this.

kernel/goldelico/gta04:

commit 6a93c9be394d42c085811b85cefa3284511533a4
Author: Paul Kocialkowski <contact at paulk.fr>
Date:   Sun May 11 11:51:36 2014 +0200

    gta04-audio: Wait for two consecutive button press values to report
    
    Signed-off-by: Paul Kocialkowski <contact at paulk.fr>

Mostly, this is because the 50ms polling time is short enough to report
a button press when the headset is removed (for a short moment, the
detection line is connected to ground before open circuit).

commit bdb7dbfe8039225429584f294233a909daedf69f
Author: Paul Kocialkowski <contact at paulk.fr>
Date:   Sun May 11 01:33:49 2014 +0200

    gta04-audio: Reliable headphones, headset and button press detection
    
    Signed-off-by: Paul Kocialkowski <contact at paulk.fr>

This only takes one button, though one can set more precise values for
other buttons (volume control on a samsung headset provided reliably
stable values, now that the twl4030-madc values are raw, so one could
easily report these buttons too).

commit 12f9fdbbccadde55fb6d8441ac2f9744f16f0372
Author: Paul Kocialkowski <contact at paulk.fr>
Date:   Sun May 11 01:32:53 2014 +0200

    twl4030-madc: Return raw values from twl4030_get_madc_conversion
    
    Signed-off-by: Paul Kocialkowski <contact at paulk.fr>

-- 
Paul Kocialkowski, Replicant developer

Replicant is a fully free Android distribution

Website: http://www.replicant.us/
Redmine: http://redmine.replicant.us/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.goldelico.com/pipermail/gta04-owner/attachments/20140512/7e4e5f58/attachment.asc>


More information about the Gta04-owner mailing list