2012年5月18日 星期五

Generic USB-Serial GPS HAL driver Using GPS througth usb serial

http://www.slatedroid.com/topic/27852-generic-usb-serial-gps-hal-driver/page__p__300006__hl__pl2303.zip__fromsearch__1#entry300006

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)


沒有留言:

張貼留言