[CentOS] CentOS-5 Need Help With Serial Ports

Fri Dec 21 18:16:29 UTC 2007
James B. Byrne <byrnejb at harte-lyne.ca>

I have been struggling with setting up two serial ports on an HP/Compaq
D512S (Intel P4) under CentOS-5.  I am not at all sure why these things
were not auto-configured when I initially installed the CentOS system from
CDs but they were not.

I have found various resources on the web and from them uncovered the
setserial utility.  What I need from somebody is guidance on how to use
this utility to properly configure the ports.

Currently in /dev/ I have:


crw------- 1 uucp uucp     4,   64 Dec 21 12:14 ttyS0
crw------- 1 root root     4,   65 Dec 20 17:36 ttyS1
crw------- 1 root root     4,   66 Dec 20 17:36 ttyS2
crw------- 1 root root     4,   67 Dec 20 17:36 ttyS3


When I run setserial -g ttyS* I get this:

# setserial -g ttyS*
Cannot get serial info: Invalid argument
ttyS1: No such device or address
ttyS2: No such device or address
ttyS3: No such device or address


Can someone walk me through this?  I setup hylafax previously on our
existing CentOS-4.5 server and never had this difficulty nor had to use
setserial, so far as I can recall.

Sincerely,

-- 
***          E-Mail is NOT a SECURE channel          ***
James B. Byrne                mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3