LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-14-2009, 09:23 PM   #1
Russ
LQ Newbie
 
Registered: Dec 2004
Posts: 21

Rep: Reputation: 0
Device Name for the tty on a USB to Serial Dongle


Because I work with Cisco gear, I absolutely, positively must have a serial port. I am running Ubuntu 8.10 on an old Compaq Armada E500 laptop. It does have a serial port at /dev/ttyS0 but one of the pins is physically failing on the male 9-pin and I'd like to get the USB to serial converter working. Can it be as simple as knowing the correct /dev/tty* device for the port in question? Any assistance would be great. TIA.

Russ
 
Old 10-14-2009, 09:40 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,632

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by Russ View Post
Because I work with Cisco gear, I absolutely, positively must have a serial port. I am running Ubuntu 8.10 on an old Compaq Armada E500 laptop. It does have a serial port at /dev/ttyS0 but one of the pins is physically failing on the male 9-pin and I'd like to get the USB to serial converter working. Can it be as simple as knowing the correct /dev/tty* device for the port in question? Any assistance would be great. TIA.

Russ
Should be something like /dev/ttyUSB0, etc. At least it usually is for me, on OpenSUSE.
 
Old 10-14-2009, 09:58 PM   #3
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
if the pin is still there and still works
i would plug an extension cord like plug into it
and never unplug it and hook the device to the other end
that way it does not physically strain the serial port any more
 
Old 10-15-2009, 12:11 AM   #4
Russ
LQ Newbie
 
Registered: Dec 2004
Posts: 21

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TB0ne View Post
Should be something like /dev/ttyUSB0, etc. At least it usually is for me, on OpenSUSE.
Thanks TB0ne, there is one like that in /dev but it doesn't seem to work.

Russ
 
Old 10-15-2009, 12:16 AM   #5
Russ
LQ Newbie
 
Registered: Dec 2004
Posts: 21

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by smeezekitty View Post
if the pin is still there and still works
i would plug an extension cord like plug into it
and never unplug it and hook the device to the other end
that way it does not physically strain the serial port any more
Oddly enough, that is what I do now. I have my "sky-blue cable" plugged in and screwed down more or less permenantly. I am also looking ahead to when it does give up the ghost and to when I finally get a new laptop. None of the new crop (actually for a couple of generations now) comes with a serial port which is why I've stuck with "Old Faithful" for almost ten years.

Russ
 
Old 10-15-2009, 09:34 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,632

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by Russ View Post
Thanks TB0ne, there is one like that in /dev but it doesn't seem to work.

Russ
Huh...what does it do? Pardon the obvious question, but are you running minicom to talk to that port, and you've checked the baud rate, parity, etc? Also, do you have more than one /dev/ttyUSB device, and have you tried the others?

That device works fine for me, but I'm not talking to Cisco devices, though. Other serial devices work just fine, though, so this may be a settings issue (baud, etc.), or maybe you need a null-modem for your USB dongle. Just a thought...I've used these alot, and have always just used the /dev/ttyUSB* device.
 
Old 10-15-2009, 09:15 PM   #7
Russ
LQ Newbie
 
Registered: Dec 2004
Posts: 21

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TB0ne View Post
Huh...what does it do? Pardon the obvious question, but are you running minicom to talk to that port, and you've checked the baud rate, parity, etc? Also, do you have more than one /dev/ttyUSB device, and have you tried the others?

That device works fine for me, but I'm not talking to Cisco devices, though. Other serial devices work just fine, though, so this may be a settings issue (baud, etc.), or maybe you need a null-modem for your USB dongle. Just a thought...I've used these alot, and have always just used the /dev/ttyUSB* device.
TB0ne,
It does work! I set the port in Minicom to /dev/ttyUSB0 and just on a hunch, I saved the setup, exited minicom and re-started it. It came up just fine and works great. When it didn't work, I was getting no blinking lights on my elderly Belkin dongle. Now the lights blink and it works great.

Thanks for your assistance, now I have another tool in my kit.
 
Old 10-16-2009, 12:40 PM   #8
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,632

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by Russ View Post
TB0ne,
It does work! I set the port in Minicom to /dev/ttyUSB0 and just on a hunch, I saved the setup, exited minicom and re-started it. It came up just fine and works great. When it didn't work, I was getting no blinking lights on my elderly Belkin dongle. Now the lights blink and it works great.

Thanks for your assistance, now I have another tool in my kit.
No problem, glad to be of help.
 
  


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
USB Serial device name? edM Slackware 7 03-26-2009 08:08 PM
Serial input device using usb-serial connector slackiz Linux - Hardware 4 01-12-2009 05:04 AM
USB device as serial device BlackHatRob Linux - Hardware 1 06-08-2006 07:09 PM
USB->Serial Device hugoveiga Linux - Hardware 0 01-06-2005 07:04 AM
Closing serial tty device cgobbe Linux - Newbie 2 09-03-2004 04:19 PM

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

All times are GMT -5. The time now is 01:22 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