Re: Verify Serial Port Working?
From: Joe (joe_at_jretrading.com)
Date: 07/22/03
- Next message: LVB: "Background on Evolution"
- Previous message: nobody_at_nowhere.com: "Re: SCO turns up the FUD"
- In reply to: Scott Gallatin: "Verify Serial Port Working?"
- Next in thread: Kevin: "Re: Verify Serial Port Working?"
- Reply: Kevin: "Re: Verify Serial Port Working?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 22 Jul 2003 21:21:51 +0100
In message <0PeTa.85850$EQ5.11110@twister.nyroc.rr.com>, Scott Gallatin
<scottg@ccfingerlakes.org> writes
>I am trying to get apcupsd working with /dev/ttyS0.
>
>It keeps telling me that it can't talk with the UPS.
>
>I have exhausted all help from the author of apcupsd,
>so I'm trying to make sure my serial port is good to go.
>
>Here's some output of what I've tried:
>
>[root@gabriel root]# lsof /dev/ttyS0
>[root@gabriel root]# dmesg | egrep tty
>ttyS0 at 0x03f8 (irq = 4) is a 16550A
>ttyS1 at 0x02f8 (irq = 3) is a 16550A
>
>[root@gabriel root]# setserial /dev/ttyS0
>/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
>
>Does this definitely tell me that the serial port is ready?
>I don't have any equipment (line analyzer) etc, so what else
>would I be able to do to verify?
>
Any chance you can borrow an external modem from someone for a while? A
modem will quite happily converse over a serial cable with a program
like minicom, without actually having to go online or anything.
Of course, the wiring to a UPS is not likely to be the same as a modem
cable, but at least you can establish whether the serial port itself
works. Having got that far, you can mess around with the wiring much
more confidently.
-- Joe
- Next message: LVB: "Background on Evolution"
- Previous message: nobody_at_nowhere.com: "Re: SCO turns up the FUD"
- In reply to: Scott Gallatin: "Verify Serial Port Working?"
- Next in thread: Kevin: "Re: Verify Serial Port Working?"
- Reply: Kevin: "Re: Verify Serial Port Working?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|