LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-11-2012, 08:39 PM   #1
BlackHawk
Member
 
Registered: Mar 2011
Location: Southern California
Distribution: Fedora 14
Posts: 62

Rep: Reputation: 1
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
 
Old 01-12-2012, 05:43 PM   #2
BlackHawk
Member
 
Registered: Mar 2011
Location: Southern California
Distribution: Fedora 14
Posts: 62

Original Poster
Rep: Reputation: 1
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bicycling - GPS device with no subscription/data plan namida12 Linux - Software 18 01-04-2012 01:37 PM
BU-353 GPS Receiver Deyna Slackware 5 12-22-2010 07:55 AM
Python script parse NMEA data from GlobalSat BU-353 buffdigger Linux - Newbie 1 04-07-2010 07:29 PM
[SOLVED] mount gps device on bootup lace28 Linux - Hardware 1 07-02-2009 10:08 AM
GPS receiver device - HCL known good devices? lazlow69 Linux - Hardware 1 08-12-2004 09:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration