Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jun 1999 09:49:38 -0400 (EDT)
From:      Patrick Gardella <patrick@cre8tivegroup.com>
To:        Michael.Still@ipaustralia.gov.au
Cc:        freebsd-questions@freebsd.org
Subject:   Re: PANIC: Cannot talk to UPS!
Message-ID:  <XFMail.990622094938.patrick@cre8tivegroup.com>
In-Reply-To: <4A256798.004B40F5.00@noteshub01.aipo.gov.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <patrick@cre8tivegroup.com>
> cc:   freebsd-questions@freebsd.org
> 
> 
> Is there a getty running on that serial port? Check /etc/gettytab...
> 
> Cheers,
> Michael
> 
> 
> 
> 
> 
> 
> Patrick Gardella <patrick@cre8tivegroup.com> 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 <patrick@cre8tivegroup.com>
>> 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 <patrick@cre8tivegroup.com> 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




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