gps on Android x86 3.2

444 views
Skip to first unread message

DIng Li

unread,
Sep 9, 2012, 2:22:38 AM9/9/12
to andro...@googlegroups.com
Hi, I am trying to use a USB GPS on Android x86 3.2, I have already compiled pl2303 driver in kernel and I have /dev/ttyUSB0 file. But the location manager cannot detect the GPS. I have tried the InternalGPS but it cannot get the signals.... I also tried the jch.shin's method on https://groups.google.com/forum/?fromgroups=#!topic/android-x86/01Abk2leVjI, but it is not working.

I found there is gps.c under the hardware folder, but it seems that it will not be visited during compiling. I tried to add BOARD_HAS_GPS_HARDWARE := true in build/target/generic_x86/BoardConfig.mk, but it is not working. 

Is there any one knows how to make it work? Is there any one knows how to compile the hardware/gps.c? 

Joseph Hayhoe

unread,
Sep 9, 2012, 5:38:30 AM9/9/12
to andro...@googlegroups.com

I personally use usbgps4droid apk

https://github.com/HvB/UsbGps4Droid/downloads

--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-x86/-/m7nxjok_OB8J.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-x86...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-x86?hl=en.

DIng Li

unread,
Sep 9, 2012, 4:35:01 PM9/9/12
to andro...@googlegroups.com
Thanks Joseph, I have tried it but I cannot get any signals.....what platform are you useing?

Somdutta Roy

unread,
Sep 10, 2012, 2:20:47 AM9/10/12
to andro...@googlegroups.com
For LocationManager to understand GPS location from the physical hardware, you will have to install GAPI and also make some changes in settings xmls

--

Joseph Hayhoe

unread,
Sep 10, 2012, 5:25:23 AM9/10/12
to andro...@googlegroups.com
What does the output of lspci from terminal show?

DIng Li

unread,
Sep 10, 2012, 9:10:08 PM9/10/12
to andro...@googlegroups.com
Thanks, but could you specify how to do it? i.e. which xml to change?

DIng Li

unread,
Sep 10, 2012, 9:46:07 PM9/10/12
to andro...@googlegroups.com
It looks like this 
00:00.0 Class 0600: 8086:a010
00:02.0 Class 0300: 8086:a011
00:02.1 Class 0380: 8086:a012
00:1b.0 Class 0403: 8086:27d8
00:1c.0 Class 0604: 8086:27d0
00:1c.1 Class 0604: 8086:27d2
00:1c.2 Class 0604: 8086:27d4
00:1c.3 Class 0604: 8086:27d6
00:1d.0 Class 0c03: 8086:27c8
00:1d.1 Class 0c03: 8086:27c9
00:1d.2 Class 0c03: 8086:27ca
00:1d.3 Class 0c03: 8086:27cb
00:1d.7 Class 0c03: 8086:27cc
00:1e.0 Class 0604: 8086:2448
00:1f.0 Class 0601: 8086:27bc
00:1f.2 Class 0101: 8086:27c0
00:1f.3 Class 0c05: 8086:27da
02:00.0 Class 0200: 10ec:8168
03:00.0 Class 0200: 10ec:8168
04:00.0 Class 0106: 197b:2363
04:00.1 Class 0101: 197b:0368
Reply all
Reply to author
Forward
0 new messages