Hello,
I'm porting GPS HAL on android 4.4. Tha's what I've done till now. 1) I started with freerunner_gps.c cause it seem the simplest solution, and it clearly works with a serial nmea port, wich is right my case. I've a ttyUSB1 wich produces just NMEA sentences. 2) I've created a directory: android/hardware/libhardware_legacy/gps and placed freerunner_gps.c , a link to referenced gps.h pointing at android/hardware/libhardware/include/hardware/gps.h and created an Android.mk so simple: ? <https://e2e.ti.com/support/embedded/android/f/509/t/412485#> 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_SRC_FILES := \ gps_freerunner.c LOCAL_MODULE := libgps.telit LOCAL_SHARED_LIBRARIES := \ libutils \ libcutils \ libdl \ libc include $(BUILD_SHARED_LIBRARY) it produces a libpgs.telit.so in output folder /system/lib 3) I added to my BoardConfig.mk the following: BOARD_GPS_LIBRARIES := libgps.telit 4) in my build.prop i added this line ro.kernel.android.gps=/dev/ttyUSB1 Where USB1 is a working serial that produces NMEA. After this, i checked if everything on board is ok, all files are in place. But I absolutely cant see any debug line or initialization string. It seems I have to do something else to enable the GPS part.. Android at moment is copletly ignoring this hardware. Any suggest? Regards, Gianmaria -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups "android-porting" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.