Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

COM1 in Linux??

Status
Not open for further replies.

RajVerma

Programmer
Jun 11, 2003
62
DE
hi,

I have the following code for a tk interface in windows that communicates through COM1.

set chan [open com1 r+]
fconfigure $chan -mode 19200,n,8,2 -translation binary -buffering none -blocking 0

this code is just a part of my program. here I'm able to run it successfully on a windows machine. Now I want to modify this code so that it words fine with Linux system as well. so I want to know how to capture this COM1 in Linux? I mean what is this port called in Linux and how to access it??

thanx,
Raj.
 
COM1 has no meaning with Linux.
The serial ports are devices with names as /dev/sd0...
(Please check the devices name: I've not a Linux handy and can't verify).

ulis
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top