Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-09-2009, 04:16 PM   #1
Registered: Feb 2009
Posts: 52

Rep: Reputation: 15
How do I find the serial ports COM number?

I am porting over code from windows and need to talk to a com device. I have used lspci to see that my pci card is showing up, but it does not show the com ports associated with it, I have looked everywhere and cannot find this information.

Also I am looking for a good tutorial on com communication of linux. I have found a few, but none of them are very in depth

Thank you

Old 02-09-2009, 05:04 PM   #2
LQ Guru
Registered: Feb 2003
Location: Mineral, Virginia
Distribution: Debian 8
Posts: 7,893

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
The association between com ports and Linux devices is:

com1 -> /dev/ttyS0
com2 -> /dev/ttyS1
com3 -> /dev/ttyS2
com4 -> /dev/ttyS3

Steve Stites

P.S. The com ports are serial devices. The handy Linux program for using serial ports is minicom. Literature on serial communications in general applies to Linux since Linux is completely standard in the way it uses the serial ports.

Last edited by jailbait; 02-09-2009 at 05:09 PM.


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
How to find Machine serial number of solaris machine? adastane Solaris / OpenSolaris 15 01-09-2012 09:29 AM
harddisk serial number secret_force Linux - Hardware 5 01-05-2006 10:15 AM
Find Serial Number of Machine zael Programming 4 10-27-2003 01:39 PM
Floppy serial number k__ Linux - General 1 06-29-2002 11:29 PM
where can I find the serial number and the key of Kylix2.0? wolfshome Linux - Software 5 05-29-2002 07:28 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:47 PM.

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