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

Serial port (RS-232) problems



Hello!
I have a problem with UPS FSP EP650 with COM-port and Debian. The device
is workable (I have tested it under Windows), but under Linux it doesn't
works.

My hardware:
motherboard: Gigabyte GA-D510UD (Intel NM10, iTE IT8720 chipset)
UPS: FSP EP 650

My software:
Debian Squeeze with kernel 2.6.32-5
NUT

COM-ports has detected:
dmesg | grep tty
[    1.244470] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    1.244596] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[    1.245034] 00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    1.245223] 00:09: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A

but cat /dev/ttyS0 or cat /dev/ttyS1 shows blank screen
minicom doesn't work also

I use NUT for my ups with following ups.conf:
user = root

[fsp]
   driver = apcsmart
   port = /dev/ttyS0

nas:~# upsdrvctl start
Network UPS Tools - UPS driver controller 2.4.3
Network UPS Tools - APC Smart protocol driver 2.03 (2.4.3)
APC command table version 2.1
Unable to detect an APC Smart protocol UPS on port /dev/ttyS0
Check the cabling, port name or model name and try again
Driver failed to start (exit status=1)


Also I tried to write and read something from COM-ports using simple
program written in Python - no results.
A suppose, that it is lowlevel problem with modules or kernel.

Can anybody help me?

Best regards, Max Usachev







Reply to: