LinuxQuestions.org
Visit Jeremy's Blog.
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 02-21-2010, 11:41 PM   #1
golden_boy615
Member
 
Registered: Dec 2008
Distribution: Ubuntu Fedora
Posts: 445

Rep: Reputation: 18
USB to serial converter for linux


Hello every body
as you know many laptops have not serial port. in windows there are several software as USB to SERIAL converters that can make a virtual com for other softwares that need serial port is there any thing like those software for linux that install and work easily and with no problem for all distributions.

Thanks for any help.
 
Old 02-22-2010, 12:25 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
I've used these with no problem. Just plug it in and the kernel knows what to do.

Cheers,

Evo2.
 
Old 02-22-2010, 01:27 AM   #3
cgtueno
Member
 
Registered: Jul 2003
Posts: 363

Rep: Reputation: 50
Hi

Just a note of caution from a hardware perspective.
USB to Serial converters sometimes present an interfacing problem on the serial side when taking into account the fact that the device is "simulating" the serial handshake line signals during data communication. This can present timing sequence issues when these devices are used with some serial equipment.

Chris
 
Old 02-22-2010, 11:16 PM   #4
golden_boy615
Member
 
Registered: Dec 2008
Distribution: Ubuntu Fedora
Posts: 445

Original Poster
Rep: Reputation: 18
Quote:
I've used these with no problem. Just plug it in and the kernel knows what to do.
what do you mean ? you mean that this is on all linux distributions by default? because I want to test it on all distributions (debian ,fedora ,desktop ubuntu ,ubuntu server, CentOS)
How can I test that? I mean to see if it is there or not?
which device file should I use in /dev?how can I use it?
how can I test it through minicom?
how can I change its paramiter like baud rate and so on ?
 
Old 02-23-2010, 12:38 AM   #5
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by golden_boy615 View Post
what do you mean ? you mean that this is on all linux distributions by default?
It is in the mainline kernel, but I don't generally memorize the config files that every distro uses to compile their kernels.

Quote:
because I want to test it on all distributions (debian ,fedora ,desktop ubuntu ,ubuntu server, CentOS)
Go ahead and test it on "all distributions" if that's what you want to do.
Quote:
How can I test that? I mean to see if it is there or not?
which device file should I use in /dev?how can I use it?
Use dmesg. Look in /dev/ You can use it in exactly the same way as a normal serial port.
Quote:
how can I test it through minicom?
how can I change its paramiter like baud rate and so on ?
Read the minicom manual if you want to know how to use minicom.

Evo2.

Last edited by evo2; 02-23-2010 at 01:09 AM.
 
Old 02-23-2010, 03:52 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,699

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
USB serial adapaters will have device IDs beginning with /dev/ttyUSB0.
If your adapter is automatically recognized the modules will load and the device ID will be created so as stated there is nothing special required. However, it depends on the kernel version and adapter chipset (pl2303 and FTDI are probably the most common chipsets). Look at the output of the lsusb command to see the manufacture/chipset information. Some adapters may not be automatically recognized. You can look at the output of the dmesg command to see if your device is recognized.

As stated to test your adapter you can use minicom with a serial loopback plug or connect it to another computer using a NULL modem serial cable. Both computer need to be configured with the same settings i.e. baudrate, parity etc.
 
1 members found this post helpful.
Old 02-23-2010, 10:12 AM   #7
JonathanWilson
Member
 
Registered: Aug 2009
Location: Ilkeston, England
Distribution: ubuntu, xp, embeded
Posts: 79

Rep: Reputation: 1
I reciently brought a USB/Serial from Digikey to access my "beagleboard" as I'm playing around with small/embeded stuff (not very well I might add, it makes my head hurt doing everything from scratch and source, lol) it worked out of the box.

The numbers are BBC01-ND (serial 9pin female, which obviates the need for a null modem/cable.) and AE10289-ND (USB/serial 9pin Male)

It shows up as ttyUSB0 or ttyUSB1 so i need to occasionally change the minicom setting.
 
  


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 to serial converter asprakash Linux - Hardware 2 03-14-2007 11:47 PM
pilot-link not working with USB Serial-USB Converter with m105 calmofthestorm Linux - Laptop and Netbook 0 09-03-2005 02:03 PM
USB to Serial Converter on Serial Modem bongski55 Linux - General 3 08-29-2005 10:04 AM

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

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