[CentOS] CentOS-5 Need Help With Serial Ports

2007-12-21 Thread James B. Byrne
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. Byrnemailto:[EMAIL PROTECTED]
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

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS-5 Need Help With Serial Ports

2007-12-21 Thread Bob Beers
On Dec 21, 2007 1:16 PM, James B. Byrne [EMAIL PROTECTED] wrote:

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


try
setserial -g /dev/ttyS*

BTW, what does
dmesg | grep tty
show?

HTH,
-Bob
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos