andreasgal/B2G — Issue #185: gps not working on galaxy s2
Author: davidflanagan
Created: 2012-02-18 01:00:56+00:00
State: open

When I try to use navigator.geolocation in a gaia app, I see these lines in adb logcat:

E/gps-wrapper( 2614): load: module=/system/lib/hw/vendor-gps.smdkv310.so
E/gps-wrapper( 2614): Cannot load library: load_library[1105]: Library '/system/lib/hw/vendor-gps.smdkv310.so' not found

But when I adb shell into my device, I see that there is a /system/lib/hw/gps.smdkv310.so file, without the "vendor-" prefix in it.

The file glue/gonk/device/samsung/c1-common/gpswrapper/gps.c hardcodes that filename with the "vendor-" prefix, so I'm hoping that removing the prefix will fix the gps issue.

I'm building to test that now, and will add a note here if it works.