I've interfaced a UART based GPS device within Android and for that I
wrote a driver that opened up the UART, grab the NMEA strings and
parsed. I use the freerunner's GPS file as a starting point,
especially for the NMEA parsing stuff. You can do the same, the only
difference being that instead of opening a UART to get access to the
GPS chip, you'll need to figure out how this USB-based GPS chip wants
to communicate and open up the device in that manner.

If the chip wants to behave like a UART device, you'll want to enable
the USB-Serial driver to create a /dev/ttyACM0 device or something and
read from that device..

Regards
-- Ashwin



On Wed, Oct 20, 2010 at 2:56 AM, Ne0 <[email protected]> wrote:
> Hi guys,
> Im trying to interface a USB based GPS device on Beagleboard running
> Android eclair. I have connected the GPS device through a USB hub.
>
> Everytime I connect the GPS device, i get the following msg on the
> console:
>
> usb 1-2.4: new full speed USB device using ehci-omap and address 5
>
> My goal is to get the NMEA data on the console or in a file. Any idea
> whr i need to start??
> I was looking at the documentation given with the distribution which
> talks about adding your own device etc.
>
> Thanks in advance :)
>
> --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-porting
>

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to