Originally Posted by liu2002
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
Then you can use
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
stty -a -F /dev/ttyUSB0
to obtain more informations on your dev.
You can also verify read/write access rights of the device
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
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).
PS: the name of the device should really be something like /dev/ttyUSB0
, so if you try to use "\dev\ttyUSB0"
as your device name il will not work and it's normal.