As a proof of concept i've built a gps hal driver for accessing serial GPS modules using a usb-serial converter
Actually i'm using FTDI and Prolific converters but if you compile from kernel aditional converter modules it should work....
The hal drivers implements the Location and NMEA traces callbacks....
It use the
ro.kernel.android.gps
property to get the GPS device
It should be compatible with all tablets based on Allwinner ( sun4i hardware ) .. but who knows....
The archive includes:
- FTDI and Prolific kernel modules: ftdio_si.ko, pl2303.ko
- GPS HAl driver: sun4i.gps.so
- Simple linux install script: install_sun4i_gps_hal.sh
Notes:
The install script assumes that the adb program is in the PATH and the Tablet is connected to your linux box by USB (-s 20080411 device )
The install script set the GPS device to ttyUSB0 you can edit the script to change it.
The install script try to make backups of the modified files an
There is not warranty of any kind... Use it at your risk.
You can download it here
Attached File(s)
sun4i_gps_hal_patch.zip (166.32K)
Number of downloads: 103
沒有留言:
張貼留言