LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   globalsat bu-353 gps device need some setup assistance. (https://www.linuxquestions.org/questions/linux-hardware-18/globalsat-bu-353-gps-device-need-some-setup-assistance-923351/)

BlackHawk 01-11-2012 08:39 PM

globalsat bu-353 gps device need some setup assistance.
 
well when i first got my bu-353 gps device it worked really great with ubuntu linux. I mean i didn't have to do much...

All that i really had to do was make sure that the usb bu-353 gps device was connected to my guest os linux operating system with vmware player and then run the gpsd daemon with the following command:

gpsd /dev/ttyUSB0 -b -n

and then i would load up tangogps and it would work great.

To make sure that it was working i would do this command:
"cat /dev/ttyUSB0" and i would get this kind of output...
$GPGSV,3,61,12,18,68,010,42,21,65,066,36,22,51,270,367,06,45,295,39*7B
$GPGSV,3,62,162,03,33,3043,3441,15,340,048,32,14,232,192,31,29,18,159,27*77
$GPGSV,3,63,162,16,13,265,19,09,11,102,29,27,11,078,,19,06,321,*73


But now for some reason i am getting this kind of encrypted non readable text...
Code:

root@bt:~# cat /dev/ttyUSB0
!  `?��M�ˋ�▒▒▒▒▒▒▒ O��6�▒▒▒▒▒▒▒▒▒J[������)������_�69M������� ����
                                                                                -�`z�������w��}�)�������[)�*��
                                                                                                              %�@�H�O�U��}���8���r�W�-�������,

here is some stty info for you...

Code:

root@bt:~# stty -a -F /dev/ttyUSB0
speed 4800 baud; rows 0; columns 0; line = 0;
intr = <undef>; quit = <undef>; erase = <undef>; kill = <undef>; eof = <undef>; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = <undef>; stop = <undef>;
susp = <undef>; rprnt = <undef>; werase = <undef>; lnext = <undef>; flush = <undef>; min = 1; time = 0;
-parenb -parodd cs8 hupcl -cstopb cread clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon -ixoff -iuclc -ixany -imaxbel -iutf8
-opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
-isig -icanon -iexten -echo -echoe -echok -echonl -noflsh -xcase -tostop -echoprt -echoctl -echoke

Now 4800 is the correct baud rate for my gps device -> (bu-353) and i really stuck on how to change it back to readable text...

I could really use your help because i have a project due and i need to get this fixed right away...

If you need any other info please let me know and i will happily provide it.

Thank you,

BlackHawk

BlackHawk 01-12-2012 05:43 PM

Hello linuxquestions.org users,

Well i figured out the problem to this situation. First thing i did was try my usb gps device with another linux distro and when i did -> "cat /dev/ttyUSB0" it was still printing out non readable text. The reason that it is doing this is because for some reason my usb gps device has gone from NMEA mode (default mode for gpsd) top Sirf mode. I believe that gpsd now supports both modes because my gps device was still working the only difference is when i was printing "cat /dev/ttyUSB0" it was printing non readable text.

So the only way i was able to fix this issue is to load the software that came with my usb gps device on windows and change it back to nmea mode on baudrate 4800. If you come across this issue changes are you will need windows to fix your problem because i am not sure that there is a way to change it back with linux...if anyone knows a way i would love to hear about it.

Well i hope this has helped someone else and thats it

=-P


All times are GMT -5. The time now is 12:54 PM.