From owner-freebsd-questions Tue Jun 22 6:38:49 1999 Delivered-To: freebsd-questions@freebsd.org Received: from pericles.IPAustralia.gov.au (pericles.IPAustralia.gov.au [202.14.186.30]) by hub.freebsd.org (Postfix) with ESMTP id 9560B1517E for ; Tue, 22 Jun 1999 06:38:44 -0700 (PDT) (envelope-from Michael.Still@ipaustralia.gov.au) Received: (from smap@localhost) by pericles.IPAustralia.gov.au (8.9.1/8.9.1) id XAA13574; Tue, 22 Jun 1999 23:38:43 +1000 (EST) X-Authentication-Warning: pericles.IPAustralia.gov.au: smap set sender to using -f Received: from noteshub01.aipo.gov.au(10.0.100.21) by pericles.IPAustralia.gov.au via smap (V2.0) id xma013556; Tue, 22 Jun 99 23:38:19 +1000 Received: by noteshub01.aipo.gov.au(Lotus SMTP MTA v4.6.3 (778.2 1-4-1999)) id 4A256798.004B4195 ; Tue, 22 Jun 1999 23:41:59 +1000 X-Lotus-FromDomain: IP_AUSTRALIA From: Michael.Still@ipaustralia.gov.au To: Patrick Gardella Cc: freebsd-questions@freebsd.org Message-ID: <4A256798.004B40F5.00@noteshub01.aipo.gov.au> Date: Tue, 22 Jun 1999 23:36:51 +1000 Subject: Re: PANIC: Cannot talk to UPS! Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG To: Patrick Gardella cc: freebsd-questions@freebsd.org Is there a getty running on that serial port? Check /etc/gettytab... Cheers, Michael Patrick Gardella on 22/06/99 11:31:10 pm To: Michael Still cc: Subject: Re: PANIC: Cannot talk to UPS! My mouse is on /dev/ttyd1, so the /dev/ttyd0 is free. And I am in X, as well. Patrick On 22-Jun-99 Michael.Still@ipaustralia.gov.au wrote: > > To: Patrick Gardella > Do you have a moused running? Are you using X? > > In other words, is there something already trying to use that serial > port? > > Michael > > Patrick Gardella on 22/06/99 10:53:00 pm > > To: apcupsd-devel@ro.com, freebsd-questions@FreeBSD.ORG > cc: > > Subject: PANIC: Cannot talk to UPS! > > > > > 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 --- 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