/dev/ttyS?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Matt Alexander
Date:  
Subject: /dev/ttyS?
Make sure that the serial port you want to use is enabled in your BIOS.
Then,

cat /proc/ioports

[snip]
03e8-03ef : serial(auto)
03f8-03ff : serial(auto)
[snip]

So on my laptop, 03e8 should be ttyS2 (COM3 in DOS) and 03f8 should be
ttyS0 (COM1 in DOS).

And try,

dmesg | grep tty

And make sure the serial kernel driver is installed,

dmesg | grep Serial

And try,

setserial /dev/ttyS0
setserial /dev/ttyS1
setserial /dev/ttyS2
setserial /dev/ttyS3

These commands should all show you whether or not Linux recognizes your
serial port(s) (assuming they're enabled in your BIOS).

Which serial port is the internal modem using? How many serial ports does
this box have?
~M

__
This email uses only 100% recycled electrons.

On Sat, 1 Dec 2001, Craig White wrote:

> Had a customer that purchased an APC Back-UPS Pro 650 for the linux
> server in his office (he jumped the gun on me - thinking he got a deal /
> I was thinking Smart UPS 1000).
>
> Anyway, downloaded the new PowerChute RPM from APC and installed it but
> it can't seem to find the serial port.
>
> I don't have a monitor/mouse/keyboard on this beast but I may actually
> have to do that to figure out where the serial ports are in the scheme
> of things in bios but can anyone tell me - how can I see which serial
> ports are active in a log or a command? (RH 7.1)
>
> lspci & pnpdump - /var/log/dmesg and /var/log/messages don't seem to
> mention any of these ports. They seem to find the US Robotics Sportster
> 33.6 internal modem and that's it.
>
> Craig
> ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post to the list quickly and you use Netscape to write mail.
>
> PLUG-discuss mailing list -
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>