From owner-freebsd-questions Tue Jun 22 5:52:49 1999 Delivered-To: freebsd-questions@freebsd.org Received: from iglou.com (iglou3.iglou.com [192.107.41.6]) by hub.freebsd.org (Postfix) with ESMTP id E282514A0B for ; Tue, 22 Jun 1999 05:52:42 -0700 (PDT) (envelope-from patrick@cre8tivegroup.com) Received: from [204.255.227.53] (helo=gateway.cre8tivegroup.com) by iglou.com with esmtp (8.9.3/8.9.3) id 10wQ2X-0005AA-00; Tue, 22 Jun 1999 08:52:38 -0400 Content-Length: 1480 Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Tue, 22 Jun 1999 08:53:00 -0400 (EDT) From: Patrick Gardella To: apcupsd-devel@ro.com, freebsd-questions@freebsd.org Subject: PANIC: Cannot talk to UPS! Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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