Can someone support the USB GPS

Search This thread

captaniglu

Member
Feb 7, 2013
5
1
If no usb device is shown in the option selection menu, that means the usb gps is not recognized by the android layer.
With pl2303 recognized usb devices, when you plug them, the android tablet should also ask you the permission to start GPS4Honeycomb...
If it don't see any usb device, it won't work... normal

If the usb device is recognized by the kernel but is not shown using android api, than the problem is perhaps somewhere between both.

Can you see any nmea data using ttyusb0 ?
Which firmware do you use ?

Herbert

PS: I don't know pl203gps, won't help since it's closed source...
klgctl or klogctl ?
...klogctl...is ok ..sorry..

thanks a lot for your quick answer..

1. if i plug the gps in..i can see /usb/tty 1-1 but emty..
2. ttyusb0 is also empty..
3.nmea empty..
4. tablet dont also ask me the permission to start GPS4Honeycomb.
5.firmware... kernel 3.0.8+ mainbord new rk3066 with android 4.1
6. it looks like the gsm modem converter is attached to usb 1-1:ttyusb0 instead auf the gps ?
7. any idea ?
mike
 

herbert1

Senior Member
Jul 25, 2007
207
68
...klogctl...is ok ..sorry..

thanks a lot for your quick answer..

1. if i plug the gps in..i can see /usb/tty 1-1 but emty..
2. ttyusb0 is also empty..
3.nmea empty..
4. tablet dont also ask me the permission to start GPS4Honeycomb.
5.firmware... kernel 3.0.8+ mainbord new rk3066 with android 4.1
6. it looks like the gsm modem converter is attached to usb 1-1:ttyusb0 instead auf the gps ?
7. any idea ?
mike

Is it a stock rom or a custom one ?
The kernel messages (dmesg) should show if the kernel module is loaded correctly and which devices are associated to the usb gps.
If everything is ok, the tty has also to be readable and correctly configured (using stty).
For UsbGps you can use the logcat to obtain more debug informations, however it won't give anything interesting if the usb gps is not correctly configured...
For the klogctl error you will find more informations here:
http://www.linuxquestions.org/questions/slackware-14/current-$dmesg-klogctl-operation-not-permitted-868186/

Herbert
 

captaniglu

Member
Feb 7, 2013
5
1
Is it a stock rom or a custom one ?
The kernel messages (dmesg) should show if the kernel module is loaded correctly and which devices are associated to the usb gps.
If everything is ok, the tty has also to be readable and correctly configured (using stty).
For UsbGps you can use the logcat to obtain more debug informations, however it won't give anything interesting if the usb gps is not correctly configured...
For the klogctl error you will find more informations here:

Herbert

thanks a lot for your answer..

its a stock rom..rooted..

what else can i do to get him running..

mike
 

captaniglu

Member
Feb 7, 2013
5
1
I think I've seen cyanogen based custom roms for rockship tablets with pl2303 support. If I remember correctly, several users were able to use pl2303 usb gps with these roms.

but the cyanogen rom dont fit to my special tablet..
what do you think about this..

1 - add a file named android.hardware.usb.host.xml on /system/etc/permissions
2 - containing the following lines:
<permissions>
<feature name="android.hardware.usb.host">
</feature></permissions>
3 - open in /system/etc/permissions file named handheld_core_hardware.xml or tablet_core_hardware.xml and add <feature name="android.hardware.usb.host"> into <permissions> section
4 - Reboot your device. Usb host api should work

You have to have root access to these files. After the changes and reboot it worked for me.
i got it from here
.basic4ppc.com/forum/additional-libraries-classes-official-updates/11449-pl2303-usb-rs232-adaptor-driver-5
 
  • Like
Reactions: herbert1

herbert1

Senior Member
Jul 25, 2007
207
68
but the cyanogen rom dont fit to my special tablet..
what do you think about this..

1 - add a file named android.hardware.usb.host.xml on /system/etc/permissions
2 - containing the following lines:
<permissions>
<feature name="android.hardware.usb.host">
</feature></permissions>
3 - open in /system/etc/permissions file named handheld_core_hardware.xml or tablet_core_hardware.xml and add <feature name="android.hardware.usb.host"> into <permissions> section
4 - Reboot your device. Usb host api should work

You have to have root access to these files. After the changes and reboot it worked for me.
i got it from here
.basic4ppc.com/forum/additional-libraries-classes-official-updates/11449-pl2303-usb-rs232-adaptor-driver-5
Good news ! It's an information which could be useful to other users.
I haven't looked very deeply in the kernel code or Android source code myself (everything works without problems on all devices I can access).

So were you able to use UsbGps ? And then which version are you using ?

Herbert
 
  • Like
Reactions: al73r

captaniglu

Member
Feb 7, 2013
5
1
Good news ! It's an information which could be useful to other users.
I haven't looked very deeply in the kernel code or Android source code myself (everything works without problems on all devices I can access).

So were you able to use UsbGps ? And then which version are you using ?

Herbert

hi herbert..
thanks a lot for your help..

that was the solution..
when i pluged in the gps , your program usv4honeycomb_mr1_alpha1.apk poppt up and ask for permission..
the gps data are in nmea file ..
ok ...that it..worked for chipset rk3066..
thanks a lot..

mike
 

al73r

New member
Jan 15, 2013
3
0
well I installed the honeycomb usbgps apk

On a kindle fire
rooted
4.04 system

I'm getting some type of data but so far nothing showing up on google maps but I don't know if that part of the program is functional yet.

Code:
$CLK: 96000    
$CHNL:12 
$Baud rate: 4800  System clock: 12.277MHz 
$HW Type: S2AM 
$Asic Version: 0x23 
$Clock Source: GPSCLK 
$Internal Beacon: None 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$POS: 6378137  0        0        
$CLK: 96000    
$CHNL:12 
$Baud rate: 4800  System clock: 12.277MHz 
$HW Type: S2AM 
$Asic Version: 0x23 
$Clock Source: GPSCLK 
$Internal Beacon: None 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$POS: 6378137  0        0        
$CLK: 96000    
$CHNL:12 
$Baud rate: 4800  System clock: 12.277MHz 
$HW Type: S2AM 
$Asic Version: 0x23 
$Clock Source: GPSCLK 
$Internal Beacon: None 
$GPGGA,235948.000,0000.0000,N,00000.0000,E,0,00,50.0,0.0,M� 
$ 
$PharNav S/W Ve 
$ 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$POS: 6378137  0        0        
$CLK: 96000    
$CHNL:12 
$Baud rate: 4800  System clock: 12.277MHz 
$HW Type: S2AM 
$Asic Version: 0x23 
$Clock Source: GPSCLK 
$Internal Beacon: None 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$PharNav S/W Ve 
$ 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000� 
$ 
$PharNav S/W Version: 07S213 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$POS: 6378137  0        0        
$CLK: 96000    
$CHNL:12 
$Baud rate: 4800  System clock: 12.277MHz 
$HW Type: S2AM 
$Asic Version: 0x23 
$Clock Source: GPSCLK 
$Internal Beacon: None 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$POS: 6378137  0        0        
$CLK: 96000    
$CHNL:12 
$Baud rate: 4800  System clock: 12.277MHz 
$HW Type: S2AM 
$Asic Version: 0x23 
$Clock Source: GPSCLK 
$Internal Beacon: None 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$POS: 6378137  0        0        
$CLK: 96000    
$CHNL:12 
$Baud rate: 4800  System clock: 12.277MHz 
$HW Type: S2AM 
$Asic Version: 0x23 
$Clock Source: GPSCLK 
$Internal Beacon: None 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$POS: 6378137  0        0        
$CLK: 96000    
$CHNL:12 
$Baud rate: 4800  System clock: 12.277MHz 
$HW Type: S2AM 
$Asic Version: 0x23 
$Clock Source: GPSCLK 
$Internal Beacon: None 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$POS: 6378137  0        0        
$CLK: 96000    
$CHNL:12 
$Baud rate: 4800  System clock: 12.277MHz 
$HW Type: S2AM 
$Asic Version: 0x23 
$Clock Source: GPSCLK 
$Internal Beacon: None 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$POS: 6378137  0        0        
$CLK: 96000    
$CHNL:12 
$Baud rate: 4800  System clock: 12.277MHz 
$HW Type: S2AM 
$Asic Version: 0x23 
$Clock Source: GPSCLK 
$Internal Beacon: None 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$POS: 6378137  0        0        
$CLK: 96000    
$CHNL:12 
$Baud rate: 4800  System clock: 12.277MHz 
$HW Type: S2AM 
$Asic Version: 0x23 
$Clock Source: GPSCLK 
$Internal Beacon: None 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$POS: 6378137  0        0        
$CLK: 96000    
$CHNL:12 
$Baud rate: 4800  System clock: 12.277MHz 
$HW Type: S2AM 
$Asic Version: 0x23 
$Clock Source: GPSCLK 
$Internal Beacon: None 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$POS: 6378137  0        0        
$CLK: 96000    
$CHNL:12 
$Baud rate: 4800  System clock: 12.277MHz 
$HW Type: S2AM 
$Asic Version: 0x23 
$Clock Source: GPSCLK 
$Internal Beacon: None 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$POS: 6378137  0        0        
$CLK: 96000    
$CHNL:12 
$Baud rate: 4800  System clock: 12.277MHz 
$HW Type: S2AM 
$Asic Version: 0x23 
$Clock Source: GPSCLK 
$Internal Beacon: None 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$POS: 6378137  0        0        
$CLK: 96000    
$CHNL:12 
$Baud rate: 4800  System clock: 12.277MHz 
$HW Type: S2AM 
$Asic Version: 0x23 
$Clock Source: GPSCLK 
$Internal Beacon: None 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$POS: 6378137  0        0        
$CLK: 96000    
$CHNL:12 
$Baud rate: 4800  System clock: 12.277MHz 
$HW Type: S2AM 
$Asic Version: 0x23 
$Clock Source: GPSCLK 
$Internal Beacon: None 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$POS: 6378137  0        0        
$CLK: 96000    
$CHNL:12 
$Baud rate: 4800  System clock: 12.277MHz 
$HW Type: S2AM 
$Asic Version: 0x23 
$Clock Source: GPSCLK 
$Internal Beacon: None 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$POS: 6378137  0        0        
$CLK: 96000    
$CHNL:12 
$Baud rate: 4800  System clock: 12.277MHz 
$HW Type: S2AM 
$Asic Version: 0x23 
$Clock Source: GPSCLK 
$Internal Beacon: None 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$POS: 6378137  0        0        
$CLK: 96000    
$CHNL:12 
$Baud rate: 4800  System clock: 12.277MHz 
$HW Type: S2AM 
$Asic Version: 0x23 
$Clock Source: GPSCLK 
$Internal Beacon: None 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$POS: 6378137  0        0        
$CLK: 96000    
$CHNL:12 
$Baud rate: 4800  System clock: 12.277MHz 
$HW Type: S2AM 
$Asic Version: 0x23 
$Clock Source: GPSCLK 
$Internal Beacon: None 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$POS: 6378137  0        0        
$CLK: 96000    
$CHNL:12 
$Baud rate: 4800  System clock: 12.277MHz 
$HW Type: S2AM 
$Asic Version: 0x23 
$Clock Source: GPSCLK 
$Internal Beacon: None 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$POS: 6378137  0        0        
$CLK: 96000    
$CHNL:12 
$Baud rate: 4800  System clock: 12.277MHz 
$HW Type: S2AM 
$Asic Version: 0x23 
$Clock Source: GPSCLK 
$Internal Beacon: None 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$POS: 6378137  0        0        
$CLK: 96000    
$CHNL:12 
$Baud rate: 4800  System clock: 12.277MHz 
$HW Type: S2AM 
$Asic Version: 0x23 
$Clock Source: GPSCLK 
$Internal Beacon: None 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$POS: 6378137  0        0        
$CLK: 96000    
$CHNL:12 
$Baud rate: 4800  System clock: 12.277MHz 
$HW Type: S2AM 
$Asic Version: 0x23 
$Clock Source: GPSCLK 
$Internal Beacon: None 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$POS: 6378137  0        0        
$CLK: 96000    
$CHNL:12 
$Baud rate: 4800  System clock: 12.277MHz 
$HW Type: S2AM 
$Asic Version: 0x23 
$Clock Source: GPSCLK 
$Internal Beacon: None 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$POS: 6378137  0        0        
$CLK: 96000    
$CHNL:12 
$Baud rate: 4800  System clock: 12.277MHz 
$HW Type: S2AM 
$Asic Version: 0x23 
$Clock Source: GPSCLK 
$Internal Beacon: None 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$POS: 6378137  0        0        
$CLK: 96000    
$CHNL:12 
$Baud rate: 4800  System clock: 12.277MHz 
$HW Type: S2AM 
$Asic Version: 0x23 
$Clock Source: GPSCLK 
$Internal Beacon: None 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$POS: 6378137  0        0        
$CLK: 96000    
$CHNL:12 
$Baud rate: 4800  System clock: 12.277MHz 
$HW Type: S2AM 
$Asic Version: 0x23 
$Clock Source: GPSCLK 
$Internal Beacon: None 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$POS: 6378137  0        0        
$CLK: 96000    
$CHNL:12 
$Baud rate: 4800  System clock: 12.277MHz 
$HW Type: S2AM 
$Asic Version: 0x23 
$Clock Source: GPSCLK 
$Internal Beacon: None 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$POS: 6378137  0        0        
$CLK: 96000    
$CHNL:12 
$Baud rate: 4800  System clock: 12.277MHz 
$HW Type: S2AM 
$Asic Version: 0x23 
$Clock Source: GPSCLK 
$Internal Beacon: None 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$POS: 6378137  0        0        
$CLK: 96000    
$CHNL:12 
$Baud rate: 4800  System clock: 12.277MHz 
$HW Type: S2AM 
$Asic Version: 0x23 
$Clock Source: GPSCLK 
$Internal Beacon: None 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$POS: 6378137  0        0        
$CLK: 96000    
$CHNL:12 
$Baud rate: 4800  System clock: 12.277MHz 
$HW Type: S2AM 
$Asic Version: 0x23 
$Clock Source: GPSCLK 
$Internal Beacon: None 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$POS: 6378137  0        0        
$CLK: 96000    
$CHNL:12 
$Baud rate: 4800  System clock: 12.277MHz 
$HW Type: S2AM 
$Asic Version: 0x23 
$Clock Source: GPSCLK 
$Internal Beacon: None 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$POS: 6378137  0        0        
$CLK: 96000    
$CHNL:12 
$Baud rate: 4800  System clock: 12.277MHz 
$HW Type: S2AM 
$Asic Version: 0x23 
$Clock Source: GPSCLK 
$Internal Beacon: None 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$POS: 6378137  0        0        
$CLK: 96000    
$CHNL:12 
$Baud rate: 4800  System clock: 12.277MHz 
$HW Type: S2AM 
$Asic Version: 0x23 
$Clock Source: GPSCLK 
$Internal Beacon: None 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$POS: 6378137  0        0        
$CLK: 96000    
$CHNL:12 
$Baud rate: 4800  System clock: 12.277MHz 
$HW Type: S2AM 
$Asic Version: 0x23 
$Clock Source: GPSCLK 
$Internal Beacon: None 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000� 
$ 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000� 
$ 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$POS: 6378137  0        0        
$CLK: 96000    
$CHNL:12 
$Baud rate: 4800  System clock: 12.277MHz 
$HW Type: S2AM 
$Asic Version: 0x23 
$Clock Source: GPSCLK 
$Internal Beacon: None 
$GPGGA,235948.000,0000.0000,N,00000.0000,E,0,00,50.0,0.0,M,0.0,M,0 
$ 
$PharNav S/W Version: 07S213 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$POS: 6378137  0        0        
$CLK: 96000    
$CHNL:12 
$Baud rate: 4800  System clock: 12.277MHz 
$HW Type: S2AM 
$Asic Version: 0x23 
$Clock Source: GPSCLK 
$Internal Beacon: None� 
$ 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$POS: 6378137  0        0        
$CLK: 96000    
$CHNL:12 
$Baud rate: 4800  System clock: 12.277MHz 
$HW Type: S2AM 
$Asic Version: 0x23 
$Clock Source: GPSCLK 
$Internal Beacon: None 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES 
$TOW: 0        
$WK:  1192 
$POS: 6378137  0        0        
$CLK: 96000    
$CHNL:12 
$Baud rate: 4800  System clock: 12.277MHz 
$HW Type: S2AM 
$Asic Version: 0x23 
$Clock Source: GPSCLK 
$Internal Beacon: None 
$PharNav S/W Version: 07S213 
$Build date: May 17 2005  10:22:54 
$SiRF FAM Version 231.000.000ES
 

herbert1

Senior Member
Jul 25, 2007
207
68
well I installed the honeycomb usbgps apk

On a kindle fire
rooted
4.04 system

I'm getting some type of data but so far nothing showing up on google maps but I don't know if that part of the program is functional yet.

The std nmea sentences are the ones beginning with "$GP" (like "$GPGGA,235948.000,0000.0000,N,00000.0000,E,0,00,50.0,0.0,M,0.0,M,0").

If these data come from the NMEA log from UsbGps than it works. However the NMEA data data show that the gps has not already made its first fix (when you have some fix you will have something like "$GPGGA,123519,4807.038,N,01131.000,E,1,08,0.9,545.4,M,46.9,M,,*47" and "$GPRMC,123519,A,4807.038,N,01131.000,E,022.4,084.4,230394,003.1,W*6A").
You should perhaps wait a little bit longer. On cold start,especially indoor or when the reception is poor, the first fix can be long: the gps has to obtain ephemerids, aso... The next ones should be faster.

Have you enabled the "mock provider" option in android settings ?

Herbert
 

Nyvki

New member
Mar 5, 2013
4
0
Vitaliy

This is an old version developed for this project [GUIDE] How to install Internal GPS Module . They have since decided to use another approach allowing a deeper integration ;)

You should try UsbGps4Droid or better the new version for Honeycomb, ICS or Jelly Bean...
This last version works great with PL2303 serial interface GPS.

Herbert

Hi Herbert. I still have problem with connection of BU-353 Usb GPS. I used you usb4honeycomb_mr1_alpha1.apk and I can't Choose Usb GPS. In this menu nothing appear.
And I can't start Usb GPS.
Can You help me?
I use Android 4.1.1. with SDK 3.0.8+, USB GPS BU-353.
Please contact me by e-mail: nyvki@mail.ru
If You need additional information please send me request, and I will send You back response.
Thanks a lot.

---------- Post added at 01:11 AM ---------- Previous post was at 01:05 AM ----------

hi herbert..
thanks a lot for your help..

that was the solution..
when i pluged in the gps , your program usv4honeycomb_mr1_alpha1.apk poppt up and ask for permission..
the gps data are in nmea file ..
ok ...that it..worked for chipset rk3066..
thanks a lot..

mike

Hi!
Can You describe step-by-step, how You connect USB GPS to You tablet.
I have same RK3066 with Android 4.1.1 (stok rom, not rooted) and BU-353 USB GPS.
I don't have enough knowledge in Android.
Thanks a lot.
Vitaliy
 

herbert1

Senior Member
Jul 25, 2007
207
68
Hi!
Can You describe step-by-step, how You connect USB GPS to You tablet.
I have same RK3066 with Android 4.1.1 (stok rom, not rooted) and BU-353 USB GPS.
I don't have enough knowledge in Android.
Thanks a lot.
Vitaliy
I guess it's in the post from captaniglu just above...
It implies to add (or modify) a file named android.hardware.usb.host.xml on /system/etc/permissions.

Herbert
 
  • Like
Reactions: Nyvki

Nyvki

New member
Mar 5, 2013
4
0
I guess it's in the post from captaniglu just above...
It implies to add (or modify) a file named android.hardware.usb.host.xml on /system/etc/permissions.

Herbert

Hi.
I don't have root on my device. Can I something else add that file without root?
Just simply copying, does not work.
I tried to rename bluetooth.xml, does not save.
How can I create this file?
Help!
Thanks.
Vitaliy
 
Last edited:

herbert1

Senior Member
Jul 25, 2007
207
68
Hi.
I don't have root on my device. Can I something else add that file without root?
Just simply copying, does not work.
I tried to rename bluetooth.xml, does not save.
How can I create this file?
Help!
Thanks.
Vitaliy
/system/etc/permissions and all files in this directory are read only (except for root). If you want to change them or add a file you have to gain root acces !
You need these files in /system/etc/permissions to enable USB host API. I you don't want to root your device then you won't have USB Host API...

Herbert

PS : you can also write to your device manufacturer and ask him to make a new and improved firmware.
 

Nyvki

New member
Mar 5, 2013
4
0
/system/etc/permissions and all files in this directory are read only (except for root). If you want to change them or add a file you have to gain root acces !
You need these files in /system/etc/permissions to enable USB host API. I you don't want to root your device then you won't have USB Host API...

Herbert

PS : you can also write to your device manufacturer and ask him to make a new and improved firmware.

Thanks for all!

After getting of root access, I want try again to launch Usb GPS receiver.
Which kind of your apk do you recommend, UsbGPS4Honeycomb_MR1_alpha1 or UsbGPS4Droid_alpha5?
Which apk would be better?

Vitaliy
 

iizak

New member
Mar 7, 2013
1
0
UsbGPS4Droid won't start GPS after boot

UsbGPS4Droid

every time when I start this software it shows me that it is enabled and gps service started but it's not. You have to stop it and then re-enable again. Is there any patch for this? Thanks

I am having same kind of difficulties and I have UsbGPS4Droid_alpha5.apk installed. The only way to get the GPS working after Android boot is to uncheck the "Start/Stop GPS"-option and check it again, then it works. If leave the check there and reboot Android, the GPS won't work again.

Does anyone know reason for this, herbert1? Great work anyway.
 

herbert1

Senior Member
Jul 25, 2007
207
68
I am having same kind of difficulties and I have UsbGPS4Droid_alpha5.apk installed. The only way to get the GPS working after Android boot is to uncheck the "Start/Stop GPS"-option and check it again, then it works. If leave the check there and reboot Android, the GPS won't work again.

Does anyone know reason for this, herbert1? Great work anyway.

It never occurred to me that someone could really want to do things like that. If you want, you can fill a bug using the github bugtracker on the github repository. I will eventually try to fix it, however it wont be a top priority.

Herbert
 
  • Like
Reactions: davidxlee

davidxlee

Member
Aug 1, 2012
5
0
Navistick

First I don't have any USB GPS. So actually my own interest in USB GPS solution is quite limited ;)

Hi Herbert,
Do you now have an USB GPS device? If I could send you our USB GPS device (called navistick) for you to test, please pm me.
We have two types of USB GPS devices, one with just USB GPS, one with USB GPS+memory. Both are using cp210x.

Thanks,
David
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Here is a quick and dirty adapted version of BlueGPS4droid in order to read NMEA data from a file/device.
    Instead of giving the name of a bluetooth device you have to give the path of a file.
    Don't know if it will work: since I don't have any usb Gps, I cannot test.
    However it's working with plain files, so I hope it will also work with /dev/ttyUSB0.

    You should be able to see on the logcat if it recognizes NMEA sentences or not.
    If you can post a copy of the logcat it could be useful for me.

    If it's working, I will put the code in a new repository (forked from BlueGps4Droid), clean the code, re-inject other languages and advanced functionalities we have inblueGPS4droid, etc.

    How to use it :
    0) plug the GPS usb device
    1) allow GPS use, if possible (don't know if you can)
    2) enable mock locations in "Settings/Applications/Development/Allow mock locations" (It's important !)
    3) start UsbGps
    4) choose a NMEA device (device path: ako /dev/ttyUSB0 - it has to be readable ! )
    5) eventually activate "auto-enable location provider" in "location provider options" (useful if you cannot enable "Use GPS satellites" option (in step 1)
    6) start the service using the start checkbox
    7) look if something happens in the logcat...
    2
    Hi Herbert!
    If you can help me please!
    I have a tablet with Android 1.6 and USB GPS dongle DN-100 by usglobalsat.

    This is a peace of dmesg when it attached:

    usb 1-2.3: new full speed USB device using ehci_hcd and address 6
    usb 1-2.3: New USB device found, idVendor=067b, idProduct=2303
    usb 1-2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    usb 1-2.3: Product: USB-Serial Controller D
    usb 1-2.3: Manufacturer: Prolific Technology Inc.
    usb 1-2.3: configuration #1 chosen from 1 choice
    pl2303 1-2.3:1.0: pl2303 converter detected
    usb 1-2.3: pl2303 converter now attached to ttyUSB5

    If run the code:

    su root
    stty -F /dev/ttyUSB5 ispeed 38400 && cat < /dev/ttyUSB5

    see standard NMEA sentences (GGA / RMC / ...) (speed 38400 from user manual)

    But you aplication USBGPS4DROID dont install in my tablet (I think it to another version Android)
    Any idea?

    Google has changed the API used to start Android services between Donuts (Android 1.6) version and Eclair (Android 2.0).
    As bluetooth API has been introduced in the SDK with Eclair, BlueGPS4Droid was initially made for Eclair.
    When I've made the USB version, I've kept the Eclair target.

    Since I've made a BlueGPS version specifically for Cupcake and Donuts, I can also try do so for UsbGPS... (but as stated before I won't be able to test it, so...).

    You will find the sources and the APK on github : https://github.com/HvB/UsbGps4Droid - https://github.com/HvB/UsbGps4Droid/downloads

    Herbert


    If you're happy with this work, you can use the thanks button... :)
    2
    This is just an early preliminary version. Actually it assumes 4800 bps GPS (default speed for Globalsat BU-353) . The next version will have the speed option reactivated and even (if I can manage it) an auto configure option.
    If you can reconfigure your GPS to use 4800bps instead of 19200bps there is a chance it will work.
    Or you can wait for the next version and try again : since your gps is recognized, normally the next version should be able to managed it
    Herbert.

    Here it is.
    With this new version (note that's still an early preliminary version) you will be able to specify the USB GPS connection speed and, eventually, to auto detect it. It should also, normally, better manage the USB connections. SiRF configuration has also been reactivated :)

    Herbert
    1
    According your steps, gps running, but it seemed not get the data. No gps searching notification icon flashed and in the log data I don't see any thing. The information in my pm is not correct. I use the wrong device folder. But changed back to \dev\ttyUSB0, I can connect but no data.

    I don't have any usb GPS, so I cannot test anything myself! If you want something I will need a little more informations.

    So here are some little things you can do to provide more details.

    First you can verify if you receive something from your usb GPS:
    Connect your android device to you computer and open a command shell on your android device using
    Code:
    adb shell
    Then you can use
    Code:
    hexdump -c /dev/ttyUSB0
    to display what the gps is sending (replace /dev/ttyUSB0 with your usb gps dev). You should see standard nmea sentences...

    If you don't see valid nmea sentences you can use
    Code:
    stty -a -F /dev/ttyUSB0
    to obtain more informations on your dev.

    You can also verify read/write access rights of the device
    Code:
    ls -l /dev/ttyUSB0
    We need at least read access. If we don't then you will need to root the android device in order to be able to change the access rights on the dev.

    If the hexdump command works well then you can run usbGps and use the
    Code:
    logcat
    command to obtain more informations on what happens in the the usbGps app (it would help me a lot!).

    Also if usbGps doesn't work it should display a notification (not very useful but it can help a little).

    Herbert

    PS: the name of the device should really be something like /dev/ttyUSB0 with "/" not "\", so if you try to use "\dev\ttyUSB0" as your device name il will not work and it's normal.
    1
    Hi Herbert,
    On the advice of Ian Fernandez of USGlobalSat I tried your usbGPS4Honeycomb_MR1_alpha.apk application on my 7" Double Power model EM63 tablet (Jellybean 4.1.1, Kernel version 3.0.8) using their model BU-353 GPS receiver and am unable to get any response (the GPS LED never blinks and there is no recognition of a GPS on any of several GPS programs) . I am now looking into the USB lines as I connected the male cable from the GPS to the male USB cable that came with the tablet through a male-to-male USB adapter (female-female). Other than something there, or possibly a USB problem with the tablet, it appears that your app does not function on this DoPo tablet. I will keep you posted on progress.
    Jim

    FWIW on my tablet one USB port wouldn't work for t he GPS...but would work for a keyboard or thumb drive. With the GPS you HAVE to use an OTG cable. With that, I was able to get it work.