From owner-freebsd-questions Tue Jun 22 6:49:43 1999 Delivered-To: freebsd-questions@freebsd.org Received: from iglou.com (iglou1.iglou.com [192.107.41.3]) by hub.freebsd.org (Postfix) with ESMTP id 7C39A152CF for ; Tue, 22 Jun 1999 06:49:24 -0700 (PDT) (envelope-from patrick@cre8tivegroup.com) Received: from [204.255.227.53] (helo=gateway.cre8tivegroup.com) by iglou.com with esmtp (8.9.1/8.9.1) id 10wQvO-0007eS-00; Tue, 22 Jun 1999 09:49:19 -0400 Content-Length: 3320 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 In-Reply-To: <4A256798.004B40F5.00@noteshub01.aipo.gov.au> Date: Tue, 22 Jun 1999 09:49:38 -0400 (EDT) From: Patrick Gardella To: Michael.Still@ipaustralia.gov.au Subject: Re: PANIC: Cannot talk to UPS! Cc: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Getty is not running on that port. And in light of your previous questions, I moved the ups to COM2 (/de v/ttyd1) and my mouse to COM1 (/dev/ttyd0). Same error. Patrick On 22-Jun-99 Michael.Still@ipaustralia.gov.au wrote: > > 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 --- 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