GPS drivers

1,053 views
Skip to first unread message

priya

unread,
Jul 10, 2009, 1:38:31 AM7/10/09
to Android Linux Kernel Development
Hi,

I am using 2.6.27 Android Kernel version.

I have an application (Java) which requires to communicate to real GPS
device. I need to find whether the required GPS drivers are present in
the built kernel. Where do I check them.

Regards,
Priya

deepak singal

unread,
Jul 10, 2009, 2:39:17 AM7/10/09
to android...@googlegroups.com
Hi,

---> Port GPS HAL layer for your target hardware
---> connect GPS device on UART port or USB port (enable usb option in kernel)
---> switch ON real GPS device
----> After android booting its
showing below log messages (on my target board).


D/libhardware(  642): GPS hardware on this device start
D/LocationManagerService(  642): Found dir /data/location/gps
D/LocationManagerService(  642): name = gps
D/GpsLocationProvider(  642): enable
D/gps_celestial(  642): gps will read from /dev/ttyS2
D/gps_celestial(  642): gps state initialized
D/GpsLocationProvider(  642): GpsNetworkThread start
D/gps_celestial(  642): gps thread running
D/GpsLocationProvider(  642): GpsEventThread starting
D/GpsLocationProvider(  642): NetworkThread starting
...
...
....

Mike Lockwood

unread,
Jul 10, 2009, 9:07:23 AM7/10/09
to android...@googlegroups.com
Right, android does not rely on anything in the Linux kernel for GPS.
You just need to implement the interface in gps.h however makes the
most sense for your GPS implementation.

Mike
--
Mike Lockwood
Google android team
Reply all
Reply to author
Forward
0 new messages