LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices

Reply
 
Search this Thread
Old 09-12-2008, 12:56 PM   #1
ebinjose
LQ Newbie
 
Registered: Jan 2008
Posts: 14

Rep: Reputation: 0
how to make a USB port as a COM port


Hi,

I have to communicate to a h/w platform through COM port.
But my IBM R52 laptop doesn't have COM port.
So I use a COM to USB convertor, and connect it to the USB port of my laptp.

On Windows, I use teraterm, to access this USB port as COM port, I select the COM4, and everything works fine.

How can I do the same on linux.
I used "minicom", to listen to "/dev/sda2" (this is the device node that corresponds to that USB port), but this didn't work. tried ttyS3 too (which may not make sense !)}

Do I need to install any special driver to do this on linux ?

Thanks in advance.

-Ebin.

Last edited by ebinjose; 09-12-2008 at 01:01 PM.
 
Old 09-12-2008, 02:08 PM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
Quote:
I used "minicom", to listen to "/dev/sda2" (this is the device node that corresponds to that USB port)
That device is either your HDD (if you are on SATA) or a USB storage device of some type, but it certainly isn't a USB-to-serial adapter.

The device node you want is more than likely: /dev/ttyUSB0
 
Old 09-13-2008, 08:01 AM   #3
ebinjose
LQ Newbie
 
Registered: Jan 2008
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by MS3FGX View Post
That device is either your HDD (if you are on SATA) or a USB storage device of some type, but it certainly isn't a USB-to-serial adapter.

The device node you want is more than likely: /dev/ttyUSB0

Thanks, I will try this on Monday.

-Ebin.
 
  


Reply


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
Can I make a udev rule for a particular usb port? kairen Slackware 3 02-15-2008 08:30 AM
USB to serail port adaptor COM port number areftaidi Linux - Software 2 09-25-2007 01:05 AM
How do I activate a USB Mini port? (B port) RonnyC Linux - Hardware 1 05-03-2006 03:39 PM
Using an USB port as a standard DB9 Serial Port Lsteele Linux - Newbie 1 10-22-2005 09:48 AM
how do I make the computer notice that there's something in the usb port? omfwtfbbq Linux - Newbie 2 04-12-2005 10:43 PM


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