LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-09-2009, 04:16 PM   #1
morty346
Member
 
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

Greg
 
Old 02-09-2009, 05:04 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,751

Rep: Reputation: 271Reputation: 271Reputation: 271
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.

http://tldp.org/HOWTO/Serial-HOWTO.html

http://linux.die.net/man/1/minicom

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


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
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


All times are GMT -5. The time now is 06:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration