[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE:Serial port question



stan writes:
 > I'm porting a small application that reads some temperature probes conected
 > to srvial ports from HP-UX to Debian Woody.
 > 
 > It opens up the serial ports, sends a few charatcers, and then listens for
 > the reply. What serial port device names should I be using for the 2
 > onboard serail ports on my mother (com1 & com2)?

/dev/ttyS0 and /dev/ttyS1, respectively.  If you have a USB<->Serial
convertor, the first of those ports will be /dev/ttyUSB0, assuming you 
have that device node.

Andrew.



Reply to: