Can someone support the USB GPS

Search This thread

herbert1

Senior Member
Jul 25, 2007
207
68
Hi Herbert
First of all many thanks for jour work.
But after having installed your application on my Cube U30gt, i have plugged my Bu 353 till i got sattelites (led blinking) ,
Your appli was ont able to detect my GPS .
i ami running Android 4.11
Coule y ou help me please
Jpm
Yea, it's still experimental.
If you have a BU-353, it should start UsbGps when you plug it in. Can you confirm that ?
You should see the usb device, if it finds one, in if the first option ("Choose USB GPS"). On mine it's something like "/dev/bus/usb/001/045".
If you start UsbGps manually, then the app will also ask you to confirm access permission to the USB device.
The app assume also that the GPS is configures to use NMEA protocol (not SIRF binary), 4800 baud (device speed), 8 bits parity none and 1 stop bit. This is the default configuration for BU-353, however this can be modified. Can you verify that using a laptop and something like SiRFDemo ?
As your tablet don't have any internal GPS it's also possible that you have to enable "Replace internal GPS" option and "Auto-enable location provider" option in UsbGps "Location provider option". On devices without GPS Location provider is sometime disabled by manufacturers.

If you could give more details on what happens and dump some logcat, this could also help to understand what happens...

Herbert
 

Bishop Sad Clown

New member
Sep 28, 2012
4
0
Nice
today, after several weeks of search, I had forget any kind of hope to use my BU-353 on my cube tablet... It so sad but nothing to do, still the same error message... ='( ThX Herbert1 for your past aid and good work on the UsbGPS apk

Cheers...

@++
 

og444

New member
Nov 1, 2012
1
0
cp2104 support

Could you please explain how to add the cp210x module to the kernel! As I'm trying to get a cp2104 to work with a MK802..

Many thanks
Zero

I'm also need help with that: I have a samaung galaxy s3 with paranoid Android JB on it, and i can't succeed connecting to the usb host a device with cp2104 chip on it.
It seems it doesn't attaching the device to the ttyUSB port.
Please help.:crying:
thank you
Ofir
 

userdownload

New member
Oct 26, 2012
2
0
USB GPS with BU-353

Yea, it's still experimental.
If you have a BU-353, it should start UsbGps when you plug it in. Can you confirm that ?
You should see the usb device, if it finds one, in if the first option ("Choose USB GPS"). On mine it's something like "/dev/bus/usb/001/045".
If you start UsbGps manually, then the app will also ask you to confirm access permission to the USB device.
The app assume also that the GPS is configures to use NMEA protocol (not SIRF binary), 4800 baud (device speed), 8 bits parity none and 1 stop bit. This is the default configuration for BU-353, however this can be modified. Can you verify that using a laptop and something like SiRFDemo ?
As your tablet don't have any internal GPS it's also possible that you have to enable "Replace internal GPS" option and "Auto-enable location provider" option in UsbGps "Location provider option". On devices without GPS Location provider is sometime disabled by manufacturers.

If you could give more details on what happens and dump some logcat, this could also help to understand what happens...

Herbert
"USB GPS" does not start when in plug my bu 353 , opening manualy "USB GPS" i dont see any any device in " Choose Usb GPS".
"replace internal gps" option and "auto enable location" are selected in "USB GPS" .My BU-353 is configured to use NMEA (i tried with sirfdemo ) . As you said my tablet as no internal gps and the manufactuer disable "GPS Location provider" as i am a new user of android could you tell me where to find "logcat"
many thanks for your help @
 

herbert1

Senior Member
Jul 25, 2007
207
68
"USB GPS" does not start when in plug my bu 353 , opening manualy "USB GPS" i dont see any any device in " Choose Usb GPS".
"replace internal gps" option and "auto enable location" are selected in "USB GPS" .My BU-353 is configured to use NMEA (i tried with sirfdemo ) . As you said my tablet as no internal gps and the manufactuer disable "GPS Location provider" as i am a new user of android could you tell me where to find "logcat"
many thanks for your help @
It looks like the tablet doesn't recognize the BU-353... It's weird

If you have the Android sdk, you can iew the logcat via the command "adb logcat" (http://developer.android.com/tools/help/adb.html#commandsummary) or using the device monitor (http://developer.android.com/tools/help/monitor.html)

Herbert

---------- Post added at 01:46 AM ---------- Previous post was at 01:13 AM ----------

I'm also need help with that: I have a samaung galaxy s3 with paranoid Android JB on it, and i can't succeed connecting to the usb host a device with cp2104 chip on it.
It seems it doesn't attaching the device to the ttyUSB port.
Please help.:crying:
thank you
Ofir

Have you tried to load the cp210x driver ? If you need to get it or compile it, you should perhaps ask on the S3 and/or paranoid forums.

Since you're using JB, you could also try the new version (for Honeycomb, ICS and JB - http://xdaforums.com/showpost.php?p=32851757&postcount=58) which uses the Android USB Host API. It's still an early alpha version, but normally it won't need root access or manual manipulation. So it should be simpler to use...

On the Galasy S3, both solution will require to use a micro usb OTG cable (basic micro usb cables won't work). Is there some led blinking on your USB GPS ?

Herbert
 

sdegtyarev

Member
Feb 29, 2012
12
0
Hello.

Will it work with /dev/ttyACM0 Microchip usb-serial converter?

Sent from my Nexus S using xda app-developers app
 

sdegtyarev

Member
Feb 29, 2012
12
0
Hello.

Will it work with /dev/ttyACM0 Microchip usb-serial converter?

Sent from my Nexus S using xda app-developers app

I will answer to myself.
No. It's not working.

herbert1 could you add to devices list /dev/ttyACM0?

<6>[55240.383300] usb 1-1.1: new full speed USB device number 4 using ehci-omap
<6>[55240.509826] usb 1-1.1: New USB device found, idVendor=04d8, idProduct=00df
<6>[55240.510253] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
<6>[55240.510498] usb 1-1.1: Product: MCP2200 USB Serial Port Emulator
<6>[55240.510925] usb 1-1.1: Manufacturer: Microchip Technology Inc.
<6>[55240.511169] usb 1-1.1: SerialNumber: 0000321211
<3>[55240.528015] cdc_acm 1-1.1:1.0: This device cannot do calls on its own. It is not a modem.
<6>[55240.528350] cdc_acm 1-1.1:1.0: ttyACM0: USB ACM device

It works as usual GPS device:

gpsd:INFO: /dev/ttyACM0 identified as type Generic NMEA (9.826532 sec @ 19200bps)
 

herbert1

Senior Member
Jul 25, 2007
207
68
I will answer to myself.
No. It's not working.

herbert1 could you add to devices list /dev/ttyACM0?

<6>[55240.528350] cdc_acm 1-1.1:1.0: ttyACM0: USB ACM device
gpsd:INFO: /dev/ttyACM0 identified as type Generic NMEA (9.826532 sec @ 19200bps)
It works as usual GPS device:

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.
 

sdegtyarev

Member
Feb 29, 2012
12
0
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.

Hello Herbert.
Thank you a lot!

It looks like I have no possibility to lock speed on 4800 so I will wait for next release.
Is sources on github actual?
 

sdegtyarev

Member
Feb 29, 2012
12
0
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.

Hello Herbert.
Finally I have a possibility to lock speed for current session but no success with usbgps.
Could you please update you github repositories with the latest sources?

UPDATE: new information available. No more segfaults. Correct device in "Choose USB GPS". But NMEA log is empty. How to check device is working?
 
Last edited:

herbert1

Senior Member
Jul 25, 2007
207
68
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
 

Attachments

  • UsbGPS4Honeycomb_MR1_alpha1.apk
    77.7 KB · Views: 1,166
Last edited:

sdegtyarev

Member
Feb 29, 2012
12
0
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

Thank you!
Will try ASAP.
 

markzo

New member
Nov 22, 2012
2
0
usbgps delorme earthmate

I'm new and glad to be here. I have been following this thread for a few days. it seems to be the only one making progress on USB GPS. A big thank you to all involved.
I am trying to get a Delorme Earthmate USB GPS recognized by my recently purchased android tablet. I have installed usbgps4honeycomb and it runs with no errors (woowoo!) but, it can't find the GPS. When I select "Choose USB GPS", nothing shows up on the list except the word cancel.
The GPS functions fine on my laptop set at 4800, 8, n, 1. My tablet was inexspensive (cheap) and has a full size USB port that accepts keyboard, mouse and mass storage (also links to PC with cable). Is there a way to find out if the USB port was disabled for other serial options? Is the a diagnostic app to check this?
I have emailed the manufacturer with no response.
Any Ideas?

Tablet specs

Craig CMP 745e

:•10 inch Digital Capacitance Touch Screen (1024 x 600 , 16:9)
Processing Speed 1.3GHz
•Operating System : Powered By Google Android 4.0, Flash 11.1
•4 GB Built-in Flash Memory
•Built-in 1GB DDR III RAM
•Built-in Front camera
•Built-in WiFi (802.11b/g/n)
•Multi-Point Touch Screen
•Support 3D Gaming Accelerometer
•Mini HDMI AV Out Jack (1080p)
•Mini USB to Connect to Computer
•USB Host for Jump Drive Connection
•Micro SD Card Slot (Supports Max. 32GB)
•3.5mm Stereo Headphone Jack
•Connect With PC as Mass Storage Drive

looks to be ARM Cortex A8 RK2918
 
Last edited:

sdegtyarev

Member
Feb 29, 2012
12
0
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

Hello Herbert.

Ok. it's not segfaults but not reading data from port.
I have one usb device in /dev/bus/usb/001/ and one serial device /dev/ttyACM0. Your software use /dev/bus/usb. When your software is running my serial device still available throw microcom:

/ # busybox microcom -s 19200 /dev/ttyACM0
$GLGSV,2,1,08,69,16,011,47,70,39,067,00,71,22,126,30,76,23,216,01*6D
$GLGSV,2,2,08,77,46,279,34,78,24,338,41,85,26,080,25,86,78,050,00*62
$GNGSA,A,3,16,13,10,02,30,,,,,,,,06.7,03.2,05.9*15
$GNGSA,A,3,78,77,69,,,,,,,,,,06.7,03.2,05.9*10
$PORZD,A,025.7*3C
$GPGGA,073438.00,5954.9277,N,03020.5320,E,1,08,03.2,018.8,M,17.9,M,,*53
$GPRMC,073438.00,A,5954.9277,N,03020.5320,E,00.00,033.3,221112,,,A*56
 

herbert1

Senior Member
Jul 25, 2007
207
68
Hello Herbert.

Ok. it's not segfaults but not reading data from port.
I have one usb device in /dev/bus/usb/001/ and one serial device /dev/ttyACM0. Your software use /dev/bus/usb. When your software is running my serial device still available throw microcom:

Hello,

If you could dump a logcat that could perhaps help to understand what happens and why it doesn't work as expected....

Herbert

---------- Post added at 10:12 PM ---------- Previous post was at 10:10 PM ----------

I'm new and glad to be here. I have been following this thread for a few days. it seems to be the only one making progress on USB GPS. A big thank you to all involved.
I am trying to get a Delorme Earthmate USB GPS recognized by my recently purchased android tablet. I have installed usbgps4honeycomb and it runs with no errors (woowoo!) but, it can't find the GPS. When I select "Choose USB GPS", nothing shows up on the list except the word cancel.
The GPS functions fine on my laptop set at 4800, 8, n, 1. My tablet was inexspensive (cheap) and has a full size USB port that accepts keyboard, mouse and mass storage (also links to PC with cable). Is there a way to find out if the USB port was disabled for other serial options? Is the a diagnostic app to check this?
I have emailed the manufacturer with no response.
Any Ideas?

Tablet specs

Craig CMP 745e

:•10 inch Digital Capacitance Touch Screen (1024 x 600 , 16:9)
Processing Speed 1.3GHz
•Operating System : Powered By Google Android 4.0, Flash 11.1
•4 GB Built-in Flash Memory
•Built-in 1GB DDR III RAM
•Built-in Front camera
•Built-in WiFi (802.11b/g/n)
•Multi-Point Touch Screen
•Support 3D Gaming Accelerometer
•Mini HDMI AV Out Jack (1080p)
•Mini USB to Connect to Computer
•USB Host for Jump Drive Connection
•Micro SD Card Slot (Supports Max. 32GB)
•3.5mm Stereo Headphone Jack
•Connect With PC as Mass Storage Drive

looks to be ARM Cortex A8 RK2918

It looks like the app is not able to recognize the usb GPS...
If you could dump a logcat that could perhaps help to understand what happens.

Herbert
 
  • Like
Reactions: markzo

markzo

New member
Nov 22, 2012
2
0
usbgps problems

As requested, here is a logcat file. hope it comes thru.

I also ran an app "USB Host Controller" and it makes the 2 following statements:

S3C USB host driver not found
and
Root hub present, USB host mode active

the same app also recognizes the gps when i plug it in as:
0200:1163 (Earthmate GPS HID)
DeLorme Publishing DeLorme USB Earthmate


Thanks again for helping. If you need more info, let me know.
markzo
 

Attachments

  • log.txt
    180.2 KB · Views: 35
Last edited:

sdegtyarev

Member
Feb 29, 2012
12
0
Hello,
If you could dump a logcat that could perhaps help to understand what happens and why it doesn't work as expected....

Hello Herbert. Sorry for late answer. Here is part of logcat. I will try to solve problem by myself if you post source code because I really need this GPS device working.

Code:
11-27 15:26:05.875: V/UsbGPS(3117): current device: /dev/bus/usb/001/003
11-27 15:26:05.875: D/UsbGPS(3117): We have permession, good!
11-27 15:26:05.875: V/UsbGPS(3117): will set devive speed: 19200
11-27 15:26:05.875: V/UsbGPS(3117): starting usb reading task
11-27 15:26:05.875: D/UsbGPS(3117): claiming interface
11-27 15:26:05.882: D/UsbGPS(3117): data claimtrue
11-27 15:26:05.882: E/UsbGPS(3117): trying to find speed 
11-27 15:26:05.890: V/UsbGPS(3117): usb reading thread started
11-27 15:26:05.890: D/UsbGPS(3117): data available 0
11-27 15:26:05.890: D/UsbGPS(3117): data read buffer - offset: 0 length: 8192
11-27 15:26:05.890: I/UsbGPS(3117): data read buffer empty [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
11-27 15:26:05.890: D/UsbGPS(3117): closing USB GPS output sream
11-27 15:26:05.890: D/UsbGPS(3117): closing USB GPS input streams
11-27 15:26:05.890: E/UsbGPS(3117): releasing usb interface for connection: android.hardware.usb.UsbDeviceConnection@411cbb58
11-27 15:26:05.898: I/cat(601): <3>[  555.516998] cdc_acm 1-1.4:1.0: This device cannot do calls on its own. It is not a modem.
11-27 15:26:05.898: I/cat(601): <6>[  555.517547] cdc_acm 1-1.4:1.0: ttyACM0: USB ACM device
11-27 15:26:05.898: E/UsbGPS(3117): unable to release usb interface for connection: android.hardware.usb.UsbDeviceConnection@411cbb58
11-27 15:26:05.898: E/UsbGPS(3117): closing usb connection: android.hardware.usb.UsbDeviceConnection@411cbb58
11-27 15:26:05.898: D/UsbDeviceConnectionJNI(3117): close
11-27 15:26:05.898: E/UsbGPS(3117): Unable to establish connection
11-27 15:26:05.898: D/NotificationService(1587): new notification:  numberDiff: 1 ticker: null pkg: org.broeuschmeul.android.gps.usb.provider id: 2131099786 tag: null priority: 0
11-27 15:26:05.898: D/NotificationService(1587): ANS send cat: 0 number: 1 msg:
 

herbert1

Senior Member
Jul 25, 2007
207
68
Hello Herbert. Sorry for late answer. Here is part of logcat. I will try to solve problem by myself if you post source code because I really need this GPS device working.
All the code is in the public repository ! And that's the case for every version published.
Code:
11-27 15:26:05.875: V/UsbGPS(3117): current device: /dev/bus/usb/001/003
11-27 15:26:05.875: D/UsbGPS(3117): We have permession, good!
11-27 15:26:05.875: V/UsbGPS(3117): will set devive speed: 19200
11-27 15:26:05.875: V/UsbGPS(3117): starting usb reading task
11-27 15:26:05.875: D/UsbGPS(3117): claiming interface
11-27 15:26:05.882: D/UsbGPS(3117): data claimtrue
11-27 15:26:05.882: E/UsbGPS(3117): trying to find speed 
11-27 15:26:05.890: V/UsbGPS(3117): usb reading thread started
11-27 15:26:05.890: D/UsbGPS(3117): data available 0
11-27 15:26:05.890: D/UsbGPS(3117): data read buffer - offset: 0 length: 8192
11-27 15:26:05.890: I/UsbGPS(3117): data read buffer empty [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
11-27 15:26:05.890: D/UsbGPS(3117): closing USB GPS output sream
11-27 15:26:05.890: D/UsbGPS(3117): closing USB GPS input streams
11-27 15:26:05.890: E/UsbGPS(3117): releasing usb interface for connection: android.hardware.usb.UsbDeviceConnection@411cbb58
11-27 15:26:05.898: I/cat(601): <3>[  555.516998] cdc_acm 1-1.4:1.0: This device cannot do calls on its own. It is not a modem.
11-27 15:26:05.898: I/cat(601): <6>[  555.517547] cdc_acm 1-1.4:1.0: ttyACM0: USB ACM device
11-27 15:26:05.898: E/UsbGPS(3117): unable to release usb interface for connection: android.hardware.usb.UsbDeviceConnection@411cbb58
11-27 15:26:05.898: E/UsbGPS(3117): closing usb connection: android.hardware.usb.UsbDeviceConnection@411cbb58
11-27 15:26:05.898: D/UsbDeviceConnectionJNI(3117): close
11-27 15:26:05.898: E/UsbGPS(3117): Unable to establish connection
11-27 15:26:05.898: D/NotificationService(1587): new notification:  numberDiff: 1 ticker: null pkg: org.broeuschmeul.android.gps.usb.provider id: 2131099786 tag: null priority: 0
11-27 15:26:05.898: D/NotificationService(1587): ANS send cat: 0 number: 1 msg:

The app finds the usb device, it has rights to access it and tries to read the data from the gps device bit is not able read anything, so it gives up !

Herbert
 

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.