LinuxQuestions.org
Register a domain and help support LQ
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-02-2007, 07:43 PM   #1
pajoe
Member
 
Registered: May 2005
Location: South Central Pennsylvania
Distribution: Kubuntu 12.04
Posts: 41

Rep: Reputation: 15
Problem connecting Magellan Roadmate 3050T + ttyUSB0 + Suse 10.2


dmesg gives me the following:

ohci_hcd 0000:00:0c.0: wakeup
usb 2-1: new full speed USB device using ohci_hcd and address 9
usb 2-1: new device found, idVendor=120f, idProduct=524d
usb 2-1: new device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-1: Product: Magellan RoadMate USB Sync
usb 2-1: Manufacturer: MiTAC.
usb 2-1: configuration #1 chosen from 1 choice
usbserial_generic 2-1:1.0: generic converter detected
usb 2-1: generic converter now attached to ttyUSB0


I used chmod 666 /dev/ttyUSB0

I used gpsd -p /dev/ttyUSB0 plus tried several settings for the nema/4800 gps in gpsdrive and still nothing. I also tried using gpsbabel with numerous settings, even Magellan Roadmate Tools running in wine. I also used lk -s /dev/ttyUSB0 ~/.wine/dosdevices/com1 ( also tried COM1 and a few other variations)Likewise I tried gpsman with various similar setttings, just can't get any response from the gps. I have read many links through Google and it appears the linux users are getting their gps units to work with linus and wine, I just haven't found much on the Magellan Roadmate gps units.


Any help in how to get this working will be sincerely appreciated. My preference would be to have it work in wine so I can use the RoadMate tools, but before I can get there I must get a working connection with linux.


thanks in advance


joe
 
Old 01-03-2007, 06:02 PM   #2
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
If you use the command ' cat /dev/ttyUSB0 ' does it show data on the device block?

Brian
 
Old 01-03-2007, 07:46 PM   #3
pajoe
Member
 
Registered: May 2005
Location: South Central Pennsylvania
Distribution: Kubuntu 12.04
Posts: 41

Original Poster
Rep: Reputation: 15
Thanks for the response, cat /dev/ttyUSB0 produces nothing

Today I found more information and did the following

I tried setting the port using stty -F /dev/ttyS1 speed 4800 raw cs8, as I found a web page where a fellow was monitoring a serial port with a the nema gps devices use this setting.

stty -a -F /dev/ttyUSB0 =

speed 4800 baud; rows 0; columns 0; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>;
start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; 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

I then followed again with cat < /dev/ttyUSB0 >| nema_cmd_version_response.txt and got an empty file. I am unable to get anything from the gps

It appears, according to the sourceforge web site I need to send a command to the gps for it to start sending data - on sourceforge a fellow uses another port and special hookup to send the commands to the gps so he can monitor the output. (http://nst.sourceforge.net/nst/docs/user/ch11s02.html) I don't have these additional hookups.

I tried running gpsd and using telnet to send commands through gpsd to get some type of respone, but nothing, and nothing going to the cat /dev/ttyUSB0 either during this time.
 
  


Reply

Tags
gps


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Problem connecting to access point in Suse 10.0 Flashpass Linux - Networking 3 03-01-2007 02:23 AM
Problem connecting graphical FTP clients to vsftpd on SuSE 10.1 nickj6282 Linux - Networking 0 07-06-2006 09:21 PM
ADSL problem with suse 9.2 (when connecting i mean) monoloulou Linux - Networking 1 03-03-2005 04:03 AM
ttyUSB0 an pl2303 H2O-linux Slackware 3 12-08-2004 06:30 PM
Problem connecting Suse 8.0 to internet via cable modem traveler Linux - Newbie 2 09-25-2002 01:22 PM


All times are GMT -5. The time now is 05:10 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration