Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jun 1999 08:53:00 -0400 (EDT)
From:      Patrick Gardella <patrick@cre8tivegroup.com>
To:        apcupsd-devel@ro.com, freebsd-questions@freebsd.org
Subject:   PANIC: Cannot talk to UPS!
Message-ID:  <XFMail.990622085300.patrick@cre8tivegroup.com>

next in thread | raw e-mail | index | archive | help
I recently purchased another APC UPS (APC BackUPS Pro 280) for a machine
here in the office.  When I went to run a known working copy of
apcupsd, it failed with a "PANIC! Cannot talk to UPS" error.  I've set
the /etc/apcupsd.conf file correctly (UPSTYPE backupspro, UPSCABLE
940-0024B DEVICE /dev/ttyd0).

As I said, this is a known working version of apcupsd (since I have it
running on our main SmartUPS 1400 on another FreeBSD system.).  I've
tried 3.5.8, 3.5.6, 3.4.9.  The cable is a 940-0024B from APC, and in
Windows95, it works fine.

I've tried communicating directly with the serial port and get nothing
back from the UPS.

So, do you have any suggestions on where to look?  I have a feeling
it's in the serial port/serial port code on FreeBSD and not the UPS or
cable.

I also tried the WildWind upsd-2.0.1.6 and smartupstools-0.40.2.  The
latter gave me:
gateway# /usr/local/ups/bin/backupspro /dev/ttyd0
Smart UPS Tools - Back-UPS Pro driver 1.00
/dev/ttyd0 is locked by another process
(Ditto for /dev/cuaa0)

Some specifics:
APC UPS BackUPS-Pro 280
FreeBSD 3.2-STABLE
Serial Port= /dev/ttyd0 (on linux, this would be /dev/ttyS0)
The serial port is correctly detected by the kernel:
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A

Patrick
 
---
Patrick S. Gardella                    Director of Web Development 
The Creative Group    1-800-804-0783 ext 29     606-858-8029 (fax)    
http://www.cre8tivegroup.com                 PGP Key ID 0xEE2D47A9


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.990622085300.patrick>