Second serial port
Hi, see if anybody can give a hand...
I just bought a UPS, APC Back-UPS Pro, inserted it between CPU and mains
supply, and connected to serial port 2.
I then downloaded package upsd-1.0-8 (10.7k) via dselect/apt for my
Debian-2.1. On configure I get
upsd: /etc/init.d/ups: Port not-configured
I have the mouse attached to /dev/ttyS0, and default serial port configura-
tion on bootup script /etc/rc.boot/0setserial for two serial ports. This is the
output of setserial:
# setserial -a /dev/ttyS0
/dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4
Baud_base: 115200, close_delay: 50, divisor: 0
closing_wait: 3000, closing_wait2: infinte
Flags: spd_normal skip_test session_lockout
# setserial -a /dev/ttyS1
/dev/ttyS1, Line 1, UART: unknown, Port: 0x02f8, IRQ: 3
Baud_base: 115200, close_delay: 50, divisor: 0
closing_wait: 3000, closing_wait2: infinte
Flags: spd_normal session_lockout
# setserial -b /dev/ttyS0
/dev/ttyS0 at 0x03f8 (irq = 4) is a 16550A
# setserial -b /dev/ttyS1
#
I.e., no response to setserial -b /dev/ttyS1. What can I do to activate it?
N.B.: Mainboard is W6LXB-0 (AGP, Pentium II), kernel is 2.2.14.
Hope somebody can give a hand. Best,
Alberto
--
J. Alberto Lobo
Departament de Fisica Fonamental
Diagonal 647
08028 Barcelona, Spain
Tel: +34 93402 1161
Fax: +34 93402 1149
Reply to: