APC UPS Trip Lite - usb device keeps disconnecting

2012-02-08 Thread jbiskofski
Gentlemen,

I have recently purchased a small APC UPS unit for my office server. We
have power outages from time to time that can last a couple of hours (
Mexico City ).

I would like to setup apcupsd to automatically shutdown the server when
there is a power outage. Upon connecting the UPS with a USB cable to the
server I get this message :

ugen1.2: Tripp Lite at usbus1
uhid1: Tripp Lite Tripp Lite UPS, class 0/0, rev 1.10/0.07, addr 2 on
usbus1

And then about 20 seconds later :

ugen1.2: Tripp Lite at usbus1 (disconnected)
uhid1: at uhub1, port 2, addr 2 (disconnected)

20 seconds after that :

ugen1.2: Tripp Lite at usbus1
uhid1: Tripp Lite Tripp Lite UPS, class 0/0, rev 1.10/0.07, addr 2 on
usbus1

Another 20 seconds :

ugen1.2: Tripp Lite at usbus1 (disconnected)
uhid1: at uhub1, port 2, addr 2 (disconnected)



So on and so forth forever.

I'm using 8.2-STABLE. I cvsupd, builttheworld, installedtheworld and all
that in hopes that would solve the problem. But unfortunately it did not. I
was unable to find a similar situation in Google.

Any help would be very appreciated.

Thank you!

- Jose from Mexico
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: APC UPS Trip Lite - usb device keeps disconnecting

2012-02-08 Thread Matt Mullins
On Wed, Feb 8, 2012 at 9:29 AM, jbiskofski jbiskof...@gmail.com wrote:
 And then about 20 seconds later :

    ugen1.2: Tripp Lite at usbus1 (disconnected)
    uhid1: at uhub1, port 2, addr 2 (disconnected)

 20 seconds after that :

    ugen1.2: Tripp Lite at usbus1
    uhid1: Tripp Lite Tripp Lite UPS, class 0/0, rev 1.10/0.07, addr 2 on
 usbus1

I have a TrippLite UPS that does this too -- it seems to stop
disconnecting once the monitoring software runs and connects to the
device.

I personally use Network UPS Tools for monitoring, but it was a bit
more complicated to set up than when I used apcupsd back when I had an
APC-branded UPS.

Hope this helps,
Matt Mullins
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: using nut-ups with apc UPS on USB

2007-03-28 Thread Derek Ragona
I still have one server running 5.X release.  5.X also should automatically 
generate the devs.  Do you have support for usb in your kernel?  If you do 
have usb compiled in your kernel, check your dmesg that the usb devices are 
properly being identified.


-Derek


At 07:27 PM 3/27/2007, Michael P. Soulier wrote:

On 27/03/07 Derek Ragona said:

 Which FreeBSD version are you running?  In 6.X the devs are created
 automatically on bootup.  In earlier versions you may need to make
 it.  Look at the Makefile in /dev for the correct make option.

I'm running 5-STABLE. I don't see a Makefile in /dev.

Mike


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: using nut-ups with apc UPS on USB

2007-03-28 Thread Michael P. Soulier
On 28/03/07 Derek Ragona said:

 I still have one server running 5.X release.  5.X also should automatically 
 generate the devs.  Do you have support for usb in your kernel?  If you do 
 have usb compiled in your kernel, check your dmesg that the usb devices are 
 properly being identified.

It's there. 

ugen0: APC Back-UPS ES 500 FW:824.B1.D USB FW:B1, rev 1.10/1.06, addr 2

[EMAIL PROTECTED] ~]# usbdevs
addr 1: OHCI root hub, SiS
 addr 2: Back-UPS ES 500 FW:824.B1.D USB FW:B1, APC
addr 1: OHCI root hub, SiS

Hmm, seems that I have it now.

[EMAIL PROTECTED] ~]# ls -l /dev/usb*
crw-rw  1 root  operator  240, 255 Mar 24 11:07 /dev/usb
crw-rw  1 root  operator  240,   0 Mar 24 11:07 /dev/usb0
crw-rw  1 root  operator  240,   1 Mar 24 11:07 /dev/usb1

Mike


pgp9dBRRXH3H3.pgp
Description: PGP signature


Re: using nut-ups with apc UPS on USB

2007-03-27 Thread Michael P. Soulier
On 26/03/07 Derek Ragona said:

 I use nut-ups on a number of systems both attached to a UPS and some as 
 network slaves.  In all my systems I use UPS's that have serial interfaces 
 and USB, but connect them via serial.
 
 If you read the docs on nut-ups you will see some drivers do support the 
 USB's.  You will need to specify the port in ups.conf typically in 
 /usr/local/etc/nut
 The line would be:
 port = /dev/usb0
 
 You can experiment with the port to get the right one.  Nut will tell you 
 if is can or cannot talk to the UPS.

I don't seem to have a /dev/usb0 device file. Do I need to mknod it?

Mike


pgpDmhloIoKNX.pgp
Description: PGP signature


Re: using nut-ups with apc UPS on USB

2007-03-27 Thread Derek Ragona
Which FreeBSD version are you running?  In 6.X the devs are created 
automatically on bootup.  In earlier versions you may need to make 
it.  Look at the Makefile in /dev for the correct make option.


-Derek


At 05:39 PM 3/27/2007, Michael P. Soulier wrote:

On 26/03/07 Derek Ragona said:

 I use nut-ups on a number of systems both attached to a UPS and some as
 network slaves.  In all my systems I use UPS's that have serial interfaces
 and USB, but connect them via serial.

 If you read the docs on nut-ups you will see some drivers do support the
 USB's.  You will need to specify the port in ups.conf typically in
 /usr/local/etc/nut
 The line would be:
 port = /dev/usb0

 You can experiment with the port to get the right one.  Nut will tell you
 if is can or cannot talk to the UPS.

I don't seem to have a /dev/usb0 device file. Do I need to mknod it?

Mike


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: using nut-ups with apc UPS on USB

2007-03-27 Thread Michael P. Soulier
On 27/03/07 Derek Ragona said:

 Which FreeBSD version are you running?  In 6.X the devs are created 
 automatically on bootup.  In earlier versions you may need to make 
 it.  Look at the Makefile in /dev for the correct make option.

I'm running 5-STABLE. I don't see a Makefile in /dev. 

Mike


pgpZUIIzjtp4l.pgp
Description: PGP signature


Re: using nut-ups with apc UPS on USB

2007-03-26 Thread Derek Ragona
I use nut-ups on a number of systems both attached to a UPS and some as 
network slaves.  In all my systems I use UPS's that have serial interfaces 
and USB, but connect them via serial.


If you read the docs on nut-ups you will see some drivers do support the 
USB's.  You will need to specify the port in ups.conf typically in 
/usr/local/etc/nut

The line would be:
port = /dev/usb0

You can experiment with the port to get the right one.  Nut will tell you 
if is can or cannot talk to the UPS.


-Derek


At 09:18 PM 3/25/2007, Michael P. Soulier wrote:

Hey,
I'm new to using nut-ups, or any UPS monitoring software.

Mainly I want some kind of reporting on power failures, and for a
clean shutdown in the event of a prolonged outage.

The UPS is an APC Back-UPS ES 500, with a USB interface. With usbd
running, usbdevs shows it connected.

[EMAIL PROTECTED] ~]$ sudo usbdevs
Password:
addr 1: OHCI root hub, SiS
addr 2: Back-UPS ES 500 FW:824.B1.D USB FW:B1, APC
addr 1: OHCI root hub, SiS

The syntax of upsd.conf requires a pathname for the port to talk do.
What device file would this work out to?

Any hints on setting this up? If nut-ups isn't the right software, I'm
open to suggestions.

Cheers,
Mike
--
Michael P. Soulier [EMAIL PROTECTED]
Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction.
--Albert Einstein
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


using nut-ups with apc UPS on USB

2007-03-25 Thread Michael P. Soulier

Hey,
I'm new to using nut-ups, or any UPS monitoring software.

Mainly I want some kind of reporting on power failures, and for a
clean shutdown in the event of a prolonged outage.

The UPS is an APC Back-UPS ES 500, with a USB interface. With usbd
running, usbdevs shows it connected.

[EMAIL PROTECTED] ~]$ sudo usbdevs
Password:
addr 1: OHCI root hub, SiS
addr 2: Back-UPS ES 500 FW:824.B1.D USB FW:B1, APC
addr 1: OHCI root hub, SiS

The syntax of upsd.conf requires a pathname for the port to talk do.
What device file would this work out to?

Any hints on setting this up? If nut-ups isn't the right software, I'm
open to suggestions.

Cheers,
Mike
--
Michael P. Soulier [EMAIL PROTECTED]
Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction.
--Albert Einstein
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: using nut-ups with apc UPS on USB

2007-03-25 Thread Jeffrey Goldberg

On Mar 25, 2007, at 9:18 PM, Michael P. Soulier wrote:


Hey,
I'm new to using nut-ups, or any UPS monitoring software.

Mainly I want some kind of reporting on power failures, and for a
clean shutdown in the event of a prolonged outage.

The UPS is an APC Back-UPS ES 500, with a USB interface. [...]

Any hints on setting this up? If nut-ups isn't the right software, I'm
open to suggestions.


I'm not familiar with nut-ups, but I've been very happy with apcupsd  
(in ports/sysutils).  I am using an APC Back-UPS XS 1200.


-j


--
Jeffrey Goldberghttp://www.goldmark.org/jeff/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


APC UPS question

2004-10-21 Thread Matt Navarre
I'm in the market for a UPS that works with FreeBSD. Does anyone know if the 
APC Back-UPS Pro 280VA Just Works with FreeBSD 4-STABLE and apcupsd? As far 
as I can tell apcupsd support for usb on FreeBSD is not reliable, but this 
one's serial and affordable but I'd like to know if it works before I buy.

Thanks.
-- 
We all enter this world in the same way: naked, screaming,
 and soaked in blood. But if you live your life right, that kind
 of thing doesn't have to stop there. -- Dana Gould
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: APC UPS question

2004-10-21 Thread Ted Mittelstaedt
I have a backups 280 and there is no serial port on it.  Are you
sure your looking at the right thing?  In any case a 280 is barely
enough to keep a PC powered much less a PC and monitor.  I use mine
for my DSL modem and DSL router.

There's lots of SmartUPS 450 UPSs on Ebay.  Find one that the seller
isn't claiming that he has 'refurbished' with new batteries.  Buy it
and when it arrives just buy new batteries from any electrical store
and give them your old ones.  (since it's going to be a given that
the batteries will be toasted no matter what the seller claims)

APS themselves also sells refurbs off their website.

Ted

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Matt Navarre
 Sent: Wednesday, October 20, 2004 11:06 PM
 To: [EMAIL PROTECTED]
 Subject: APC UPS question


 I'm in the market for a UPS that works with FreeBSD. Does anyone
 know if the
 APC Back-UPS Pro 280VA Just Works with FreeBSD 4-STABLE and
 apcupsd? As far
 as I can tell apcupsd support for usb on FreeBSD is not reliable,
 but this
 one's serial and affordable but I'd like to know if it works before I buy.

 Thanks.
 --
 We all enter this world in the same way: naked, screaming,
  and soaked in blood. But if you live your life right, that kind
  of thing doesn't have to stop there. -- Dana Gould
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: APC UPS question

2004-10-21 Thread Nikolas Britton
http://buy.apc.com/commerce/storefronts/factoryoutlet/default.asp
Ted Mittelstaedt wrote:
I have a backups 280 and there is no serial port on it.  Are you
sure your looking at the right thing?  In any case a 280 is barely
enough to keep a PC powered much less a PC and monitor.  I use mine
for my DSL modem and DSL router.
There's lots of SmartUPS 450 UPSs on Ebay.  Find one that the seller
isn't claiming that he has 'refurbished' with new batteries.  Buy it
and when it arrives just buy new batteries from any electrical store
and give them your old ones.  (since it's going to be a given that
the batteries will be toasted no matter what the seller claims)
APS themselves also sells refurbs off their website.
Ted
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Matt Navarre
Sent: Wednesday, October 20, 2004 11:06 PM
To: [EMAIL PROTECTED]
Subject: APC UPS question
I'm in the market for a UPS that works with FreeBSD. Does anyone
know if the
APC Back-UPS Pro 280VA Just Works with FreeBSD 4-STABLE and
apcupsd? As far
as I can tell apcupsd support for usb on FreeBSD is not reliable,
but this
one's serial and affordable but I'd like to know if it works before I buy.
Thanks.
--
We all enter this world in the same way: naked, screaming,
and soaked in blood. But if you live your life right, that kind
of thing doesn't have to stop there. -- Dana Gould
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]
   

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
 


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


re: APC UPS question

2004-10-21 Thread John Koepke
I have purchased a few APC Ups's from a vendor on Ebay.  Wonderful to
work with.  a few weeks ago the UPS I purchased about 1 and a half
years ago had a electrical problem and the ups failed.  He sent me
another unit and it arrived in just a few days.  I Paid $179 for a APC
Smart 1400 RM UPS.  I currently have 3 servers attached to it with my
various other routers and it will run for about 20 or 30 minutes.
With only 1 server it will run for almost 90 minutes or so.   He sends
out NEW batteries with the unit's...

http://search.ebay.com/_W0QQgotopageZ1QQsassZupspowerQQsosortorderZ1QQsosortpropertyZ1

already i see he has a few Net UPS 650's for $79 or a Smart UPS 700 for $100




On Wed, 20 Oct 2004 23:05:32 -0700, Matt Navarre [EMAIL PROTECTED] wrote:
 I'm in the market for a UPS that works with FreeBSD. Does anyone know if the
 APC Back-UPS Pro 280VA Just Works with FreeBSD 4-STABLE and apcupsd? As far
 as I can tell apcupsd support for usb on FreeBSD is not reliable, but this
 one's serial and affordable but I'd like to know if it works before I buy.

 Thanks.
 --
 We all enter this world in the same way: naked, screaming,
  and soaked in blood. But if you live your life right, that kind
  of thing doesn't have to stop there. -- Dana Gould
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: APC UPS question

2004-10-21 Thread Robert Huff

Ted Mittelstaedt writes:

  I have a backups 280 and there is no serial port on it.  Are you
  sure your looking at the right thing?

I believe they have the BackUPS _Pro_ 280, the larger brothers
(420 and 650) of which are sitting two feet behind me.  Both have
serial ports only.  (They are 5+ years old.)


Robert Huff



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: APC UPS question

2004-10-21 Thread Matt Navarre
On Thursday 21 October 2004 07:35, Robert Huff wrote:
 Ted Mittelstaedt writes:
   I have a backups 280 and there is no serial port on it.  Are you
   sure your looking at the right thing?

  I believe they have the BackUPS _Pro_ 280, the larger brothers
 (420 and 650) of which are sitting two feet behind me.  Both have
 serial ports only.  (They are 5+ years old.)


  Robert Huff

Does the 650 work well with FreeBSD? I can get a refurb 650 from APC for the 
same price as I can find the 280.

-- 
We all enter this world in the same way: naked, screaming,
 and soaked in blood. But if you live your life right, that kind
 of thing doesn't have to stop there. -- Dana Gould
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: APC UPS question

2004-10-21 Thread Ted Mittelstaedt
they all use the same protocol, the difference is between the smart
ups and the backups. all smartups use one protocol all backups
use another.

The very newest ones with usb and such might have changed this, I
don't know.

incidentally with the smartups you can query the ups for the
amount of runtime left so you know how much life is left in the
battery, the ups self-tests this periodically and you can send
a command to it to do this.  Very useful.

Ted

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Matt Navarre
 Sent: Thursday, October 21, 2004 8:52 AM
 To: [EMAIL PROTECTED]
 Cc: Robert Huff
 Subject: Re: APC UPS question
 
 
 On Thursday 21 October 2004 07:35, Robert Huff wrote:
  Ted Mittelstaedt writes:
I have a backups 280 and there is no serial port on it.  Are you
sure your looking at the right thing?
 
   I believe they have the BackUPS _Pro_ 280, the larger brothers
  (420 and 650) of which are sitting two feet behind me.  Both have
  serial ports only.  (They are 5+ years old.)
 
 
   Robert Huff
 
 Does the 650 work well with FreeBSD? I can get a refurb 650 from 
 APC for the 
 same price as I can find the 280.
 
 -- 
 We all enter this world in the same way: naked, screaming,
  and soaked in blood. But if you live your life right, that kind
  of thing doesn't have to stop there. -- Dana Gould
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: APC UPS question

2004-10-21 Thread Robert Huff

Ted Mittelstaedt writes:

  incidentally with the smartups you can query the ups for the
  amount of runtime left so you know how much life is left in the
  battery, the ups self-tests this periodically and you can send
  a command to it to do this.  Very useful.

That's also true for the BackUPS Pro providing you get the
right cable (I used the -0095A) and the right software (PowerChute
Personal Edition (Windows) or apcupsd (FreeBSD)).


Robert Huff


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: APC UPS question

2004-10-21 Thread Robert Huff

Matt Navarre writes:

I believe they have the BackUPS _Pro_ 280, the larger brothers
   (420 and 650) of which are sitting two feet behind me.  Both have
   serial ports only.  (They are 5+ years old.)

  Does the 650 work well with FreeBSD? I can get a refurb 650 from
  APC for the same price as I can find the 280.

It worked well for many years, then died within the 3 months.
It's sitting on my parts shelf in the hope I have an excuse to make
a trip to Rhode Island soon.
(I replaced the battery within the last year, and would like to
get the electronics refurbed.)


Robert Huff







___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB APC UPS support in FreeBSD

2004-07-28 Thread Gordon Freeman
apcupsd was written for Linux and it doesn't work with USB UPS devices
on FreeBSD due to the hefty differences in the USB implementation
between Linux and FreeBSD.

The last time I looked there weren't any USB based UPS monitoring
services for FreeBSD.

On Wed, 28 Jul 2004 15:02:10 +1100, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 Hello,
 sorry if it is wrong place to address this issue to...
 Could anybody port apcupsd daemon or something else on FreeBSD to support
 APC UPS USB connection?
 Or is it already done?
 
 Regards,
 Konstantin Nizhegorodov.
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


USB APC UPS support in FreeBSD

2004-07-27 Thread Konstantin . Nizhegorodov
Hello,
sorry if it is wrong place to address this issue to...
Could anybody port apcupsd daemon or something else on FreeBSD to support
APC UPS USB connection?
Or is it already done?

Regards,
Konstantin Nizhegorodov.



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


APC UPS with USB ? Anybody?

2004-04-06 Thread Gregory Edigarov
Hi,

I need to connect my freebsd server to APC BackUPS 500 RS. The
problem is that apcupsd does not support this combination.
Ports was not really helpful. So, if anybody have the patches, or
any idea of how to make it working I would realy appreciate it. 
Thanks a lot in advance.
-- 
With best regards,
Gregory Edigarov
--
profi.kharkov.uaSystems Administrator
--
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: APC UPS with USB ? Anybody?

2004-04-06 Thread Mike Tancsa
On Tue, 6 Apr 2004 11:11:03 +0300, in sentex.lists.freebsd.questions
you wrote:

Hi,

I need to connect my freebsd server to APC BackUPS 500 RS. The
problem is that apcupsd does not support this combination.
Ports was not really helpful. So, if anybody have the patches, or
any idea of how to make it working I would realy appreciate it. 
Thanks a lot in advance.

We wrote a simple monitoring program that works against the RS and ES
series.  It doesnt do much but it will let you know when its on
battery and not.

You can download it off http://www.tancsa.com/apc-usb.tgz

---Mike

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: APC UPS with USB ? Anybody?

2004-04-06 Thread Me
That would be sufficient to create a script to monitor
the power state, maybe have the script check the
status again in 10 minutes and shutdown the PC if
necessary.
It can be done right?

--- Mike Tancsa [EMAIL PROTECTED] wrote:
 On Tue, 6 Apr 2004 11:11:03 +0300, in
 sentex.lists.freebsd.questions
 you wrote:
 
 Hi,
 
 I need to connect my freebsd server to APC BackUPS
 500 RS. The
 problem is that apcupsd does not support this
 combination.
 Ports was not really helpful. So, if anybody have
 the patches, or
 any idea of how to make it working I would realy
 appreciate it. 
 Thanks a lot in advance.
 
 We wrote a simple monitoring program that works
 against the RS and ES
 series.  It doesnt do much but it will let you know
 when its on
 battery and not.
 
 You can download it off
 http://www.tancsa.com/apc-usb.tgz
 
   ---Mike
 
 ___
 [EMAIL PROTECTED] mailing list

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]


__
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: APC UPS with USB ? Anybody?

2004-04-06 Thread Mike Tancsa
At 10:48 PM 06/04/2004, Me wrote:
That would be sufficient to create a script to monitor
the power state, maybe have the script check the
status again in 10 minutes and shutdown the PC if
necessary.
It can be done right?


The time estimate is very inaccurate on the ES and RS units that I have 
used.   You would have better luck shutting down based on battery 
strength.  You can glean this info from the proc title, or process it as it 
gets sent to local1 via syslog.  But yes, it can be done

eg here is a sample power failure as it gets recorded in local1

Feb 16 13:04:33 noborders apc-upsd: Battery strength Level  49% ETTL   1 min
Feb 16 13:04:34 noborders apc-upsd: Battery strength Level  48% ETTL   1 min
Feb 16 13:04:34 noborders apc-upsd: Battery strength Level  47% ETTL   1 min
Feb 16 13:04:35 noborders apc-upsd: Battery strength Level  46% ETTL   1 min
Feb 16 13:04:57 noborders last message repeated 6 times
Feb 16 13:04:57 noborders apc-upsd: Battery strength Level  45% ETTL   1 min
Feb 16 13:05:19 noborders last message repeated 7 times
Feb 16 13:05:20 noborders apc-upsd: Battery strength Level  44% ETTL   1 min
Feb 16 13:05:24 noborders apc-upsd: Battery strength Level  43% ETTL   1 min
Feb 16 13:05:24 noborders apc-upsd: Battery strength Level  43% ETTL   1 min
Feb 16 13:05:24 noborders apc-upsd: Battery strength Level  42% ETTL   1 min
Feb 16 13:05:25 noborders apc-upsd: Battery strength Level  41% ETTL   1 min
Feb 16 13:05:49 noborders last message repeated 6 times
Feb 16 13:05:53 noborders apc-upsd: Battery strength Level  40% ETTL   1 min
Feb 16 13:06:05 noborders last message repeated 8 times
Feb 16 13:06:05 noborders apc-upsd: Battery strength Level  39% ETTL   1 min
Feb 16 13:06:06 noborders apc-upsd: Battery strength Level  38% ETTL   1 min
Feb 16 13:06:06 noborders apc-upsd: Battery strength Level  37% ETTL   1 min
Feb 16 13:06:11 noborders apc-upsd: Battery strength Level  37% ETTL   1 min
Feb 16 13:06:14 noborders apc-upsd: Battery strength Level  36% ETTL   1 min
Feb 16 13:06:41 noborders last message repeated 10 times
Feb 16 13:06:45 noborders last message repeated 2 times
Feb 16 13:06:45 noborders apc-upsd: Battery strength Level  35% ETTL   1 min
Feb 16 13:06:46 noborders apc-upsd: Battery strength Level  34% ETTL   1 min
Feb 16 13:06:46 noborders apc-upsd: Battery strength Level  33% ETTL   1 min
Feb 16 13:06:47 noborders apc-upsd: Battery strength Level  32% ETTL   1 min
Feb 16 13:07:08 noborders last message repeated 6 times
Feb 16 13:07:08 noborders apc-upsd: Battery strength Level  31% ETTL   1 min
Feb 16 13:07:19 noborders last message repeated 3 times
Feb 16 13:07:20 noborders apc-upsd: Battery strength Level  30% ETTL   1 min
Feb 16 13:07:20 noborders apc-upsd: Battery strength Level  30% ETTL   1 min
Feb 16 13:07:20 noborders apc-upsd: Battery strength Level  29% ETTL   1 min
Feb 16 13:07:21 noborders apc-upsd: Battery strength Level  28% ETTL   1 min
Feb 16 13:07:22 noborders last message repeated 2 times 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: APC UPS

2003-02-25 Thread Dan Pelleg
Mark [EMAIL PROTECTED] writes:

 Hi,
 
 A while ago I posted that I could not get my APC UPS BK350 to work under
 FreeBSD 4.7R, using apcupsd. Problem was that, though apcupsd test prog sees
 the power go off-line, the apcupsd daemon itself does not. :(
 
 So, since I do need a solution, maybe I just need a smart UPS. I was
 thinking of buying the APC Smart-UPS 700VA. But before I shell out good
 money for that, does anyone have that one working for FreeBSD? And with
 apcupsd? (or other daemon). If so, I would much appreciate you telling me.
 :)
 

FWIW, and I realize that's not a lot, the APC 1400RM2 does work with
apcupsd.

-- 

  Dan Pelleg

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: APC UPS

2003-02-25 Thread Jack L. Stone
At 09:29 AM 2.25.2003 -0500, Dan Pelleg wrote:
Mark [EMAIL PROTECTED] writes:

 Hi,
 
 A while ago I posted that I could not get my APC UPS BK350 to work under
 FreeBSD 4.7R, using apcupsd. Problem was that, though apcupsd test prog
sees
 the power go off-line, the apcupsd daemon itself does not. :(
 
 So, since I do need a solution, maybe I just need a smart UPS. I was
 thinking of buying the APC Smart-UPS 700VA. But before I shell out good
 money for that, does anyone have that one working for FreeBSD? And with
 apcupsd? (or other daemon). If so, I would much appreciate you telling me.
 :)
 

FWIW, and I realize that's not a lot, the APC 1400RM2 does work with
apcupsd.


That is a good brand and works well with apcupsd. Mine are APC Smart-UPS
1000 and 1500, but believe they employ the same eproms as the 700

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: APC UPS

2003-02-25 Thread J. Seth Henry
Mark,
I have an APC 750XL smart UPS powering my server and home automation
setup. I have taken to using the PowerChute software provided by APC under
linux emulation, which works quite well so long as you modify the shell
scripts for use on a BSD system.

I haven't tried running the apcupsd daemon, though, so YMMV.

Good luck,
Seth Henry


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: APC UPS

2003-02-24 Thread Mark
Hi,

A while ago I posted that I could not get my APC UPS BK350 to work under
FreeBSD 4.7R, using apcupsd. Problem was that, though apcupsd test prog sees
the power go off-line, the apcupsd daemon itself does not. :(

So, since I do need a solution, maybe I just need a smart UPS. I was
thinking of buying the APC Smart-UPS 700VA. But before I shell out good
money for that, does anyone have that one working for FreeBSD? And with
apcupsd? (or other daemon). If so, I would much appreciate you telling me.
:)

Thanks,

- Mark


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: APC UPS

2003-02-24 Thread Mike Meyer
In [EMAIL PROTECTED], Mark [EMAIL PROTECTED] typed:
 A while ago I posted that I could not get my APC UPS BK350 to work under
 FreeBSD 4.7R, using apcupsd. Problem was that, though apcupsd test prog sees
 the power go off-line, the apcupsd daemon itself does not. :(

Try nut with the 350. I've got that working with an APC 650.

mike

-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


RE: Need help with software to run my APC UPS

2002-07-16 Thread Carroll, D. (Danny)

I have the same UPS and I will check tonight if I have the same cable
(sounds right from memory).
I have one question.  Actually 2..

Did you buy the cable or build it?  I tried for weeks to build a cable
from the plans I found on the net.  In the end I bought one from APC and
guess what?  Worked out of the box..

Also...  Do you have 2 UPS's or are you testing with one on two
machines?

-D

:-Original Message-
:From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
:Sent: Monday, July 15, 2002 11:23 PM
:To: [EMAIL PROTECTED]; jon
:Subject: Re: Need help with software to run my APC UPS
:
:
:
:did you comment out 
:
:#ttyd0  /usr/libexec/getty std.9600   dialup  off secure
:or
:#ttyd0  /usr/libexec/getty std.9600   dialup  off secure
: in /etc/ttys? this was my problem.
:
:Tried this and it didn't work.
:
:This is where I stand now:
:
:1.  Two computers each with a APC Back-UPS Pro 650 and cable
:attached (one has a 940-0095A and the other has a 940-0095B).
:
:2.  One computer runs FreeBSD4.6 and the other runs FreeBSD4.4
:
:3.  *Neither* computer will work with bkpupsd or apcupsd
:from the ports collection.
:
:A)  type: bkpupsd /dev/cuaa0
:result:   on one computer it starts the daemon, but won't perform
:  when power plug is pulled,
:  on the other computer it starts the daemon, but 
:immediately
:  annouces the power has failed and shuts down
:
:B)  type: apcupsd start
:result:   one computer hangs, the other complains it can't 
:communicate
:  with UPS.
:
:Note:  A guy on the apcupsd mail-list has the same exact UPS+cable
:and runs FreeBSD4.6 and sent me his apcupsd.conf file.  I had
:the same result with it.
:
:4.  Tried installing upsd from the ports collection on one computer
:and the computer hung on booting -- isn't this one needed for 
:NUT to work?
:(Also installed NUT, BTW.)
:
:5.  Totally baffled at this point.
:
:According to apcupsd.com, one possible source of error in a
:situation like this one is:
:
:Chosen serial port has logins enabled. You must disable logins on that
:port, otherwise, the system prevents apcupsd from using it. 
:Normally, the
:file /etc/inittab specifies the ports for which a getty 
:process is started.
:You must disable getty for the port which you wish to use.
:
:I'm not sure I disabled logins for the device correctly.
:Not sure what to do now.
:
:Important note:  Several years ago one of these UPSs worked with
:bkpupsd with the exact same hardware -- but after I upgraded 
:that very
:old version of FreeBSD it won't work.
:
:Any ideas?
:
::)
:
:
:
:
:
:---
:
:   Dr. Joseph A. Bentley
:   Professor of Chemistry
:   Dept. of Physical SciencesPhone: (662) 846-4482
:   P.O. Box 3255-DSU FAX:   (662) 846-4486
:   Delta State UniversityE-mail: [EMAIL PROTECTED]
:   Cleveland, MS  38733  E-mail: [EMAIL PROTECTED]
:
:
:It is not enough to succeed.  Others must fail.
:
:-- Gore Vidal
:
:---
:
:
:To Unsubscribe: send mail to [EMAIL PROTECTED]
:with unsubscribe freebsd-questions in the body of the message
:
-
ATTENTION:
The information in this electronic mail message is private and
confidential, and only intended for the addressee. Should you
receive this message by mistake, you are hereby notified that
any disclosure, reproduction, distribution or use of this
message is strictly prohibited. Please inform the sender by
reply transmission and delete the message without copying or
opening it.

Messages and attachments are scanned for all viruses known.
If this message contains password-protected attachments, the
files have NOT been scanned for viruses by the ING mail domain.
Always scan attachments before opening them.
-

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Need help with software to run my APC UPS

2002-07-16 Thread zjoe


I'm keeping the freebsd-questions on these emails
in case someone needs to know this stuff, too.  :)

At 04:03 PM 7/15/02 -0700, you wrote:
--- [EMAIL PROTECTED] wrote:
 
 did you comment out 
 
 #ttyd0  /usr/libexec/getty std.9600   dialup  off
 secure
 or
 #ttyd0  /usr/libexec/getty std.9600   dialup  off
 secure
  in /etc/ttys? this was my problem.
 
 Tried this and it didn't work.
 
 This is where I stand now:
 
 1.  Two computers each with a APC Back-UPS Pro 650
 and cable
 attached (one has a 940-0095A and the other has a
 940-0095B).
 
 2.  One computer runs FreeBSD4.6 and the other runs
 FreeBSD4.4
 
 3.  *Neither* computer will work with bkpupsd or
 apcupsd
 from the ports collection.
 
 A)  type: bkpupsd /dev/cuaa0
 result:   on one computer it starts the daemon,
 but won't perform
   when power plug is pulled,
   on the other computer it starts the
 daemon, but immediately
   annouces the power has failed and
 shuts down
 
 B)  type: apcupsd start
 result:   one computer hangs, the other
 complains it can't communicate
   with UPS.
 
 Note:  A guy on the apcupsd mail-list has the same
 exact UPS+cable
 and runs FreeBSD4.6 and sent me his apcupsd.conf
 file.  I had
 the same result with it.
 
 4.  Tried installing upsd from the ports
 collection on one computer
 and the computer hung on booting -- isn't this one
 needed for NUT to work?
 (Also installed NUT, BTW.)
 
 5.  Totally baffled at this point.
 
 According to apcupsd.com, one possible source of
 error in a
 situation like this one is:
 
 Chosen serial port has logins enabled. You must
 disable logins on that
 port, otherwise, the system prevents apcupsd from
 using it. Normally, the
 file /etc/inittab specifies the ports for which a
 getty process is started.
 You must disable getty for the port which you wish
 to use.
 
 I'm not sure I disabled logins for the device
 correctly.
 Not sure what to do now.
 
 Important note:  Several years ago one of these UPSs
 worked with
 bkpupsd with the exact same hardware -- but after
 I upgraded that very
 old version of FreeBSD it won't work.
 
 Any ideas?
 
 :)
 

the first suggestion i sent was to to make the changes
to /etc/tty that should disable logins via serial ;)

Yeah, this didn't seem to change anything.

are the ports enabled in the bios? cuaa0 (serial 1 )
should be port 0x3f8-0x3ff irq 4. 

I checked and one computer had serial 1 disabled.
So, obviously this is a problem.  I tried to change it
to enabled but then I had some kind of conflict.
I don't really know about this stuff.

The other computer has:

serial port 1 3F8/IRQ4
serial port 2 2F8/IRQ3

Thanks,
Joe B.




---

   Dr. Joseph A. Bentley
   Professor of Chemistry
   Dept. of Physical SciencesPhone: (662) 846-4482
   P.O. Box 3255-DSU FAX:   (662) 846-4486
   Delta State UniversityE-mail: [EMAIL PROTECTED]
   Cleveland, MS  38733  E-mail: [EMAIL PROTECTED]


It is not enough to succeed.  Others must fail.

-- Gore Vidal

---


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: Need help with software to run my APC UPS

2002-07-16 Thread zjoe


At 02:20 PM 7/16/02 +0200, you wrote:
I have the same UPS and I will check tonight if I have the same cable
(sounds right from memory).
I have one question.  Actually 2..

Did you buy the cable or build it?  I tried for weeks to build a cable
from the plans I found on the net.  In the end I bought one from APC and
guess what?  Worked out of the box..

No, I didn't make it.  The cable came with the UPS.

Also...  Do you have 2 UPS's or are you testing with one on two
machines?

Yes, I have two UPS's.  One on each computer.
I'm using the cables that came with each UPS.

I just posted a response to a guy who figured out one
problem which was that a serial port on one of the machines
wasn't enabled.

Thanks,
Joe B.


-D

:-Original Message-
:From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
:Sent: Monday, July 15, 2002 11:23 PM
:To: [EMAIL PROTECTED]; jon
:Subject: Re: Need help with software to run my APC UPS
:
:
:
:did you comment out 
:
:#ttyd0  /usr/libexec/getty std.9600   dialup  off secure
:or
:#ttyd0  /usr/libexec/getty std.9600   dialup  off secure
: in /etc/ttys? this was my problem.
:
:Tried this and it didn't work.
:
:This is where I stand now:
:
:1.  Two computers each with a APC Back-UPS Pro 650 and cable
:attached (one has a 940-0095A and the other has a 940-0095B).
:
:2.  One computer runs FreeBSD4.6 and the other runs FreeBSD4.4
:
:3.  *Neither* computer will work with bkpupsd or apcupsd
:from the ports collection.
:
:A)  type: bkpupsd /dev/cuaa0
:result:   on one computer it starts the daemon, but won't perform
:  when power plug is pulled,
:  on the other computer it starts the daemon, but 
:immediately
:  annouces the power has failed and shuts down
:
:B)  type: apcupsd start
:result:   one computer hangs, the other complains it can't 
:communicate
:  with UPS.
:
:Note:  A guy on the apcupsd mail-list has the same exact UPS+cable
:and runs FreeBSD4.6 and sent me his apcupsd.conf file.  I had
:the same result with it.
:
:4.  Tried installing upsd from the ports collection on one computer
:and the computer hung on booting -- isn't this one needed for 
:NUT to work?
:(Also installed NUT, BTW.)
:
:5.  Totally baffled at this point.
:
:According to apcupsd.com, one possible source of error in a
:situation like this one is:
:
:Chosen serial port has logins enabled. You must disable logins on that
:port, otherwise, the system prevents apcupsd from using it. 
:Normally, the
:file /etc/inittab specifies the ports for which a getty 
:process is started.
:You must disable getty for the port which you wish to use.
:
:I'm not sure I disabled logins for the device correctly.
:Not sure what to do now.
:
:Important note:  Several years ago one of these UPSs worked with
:bkpupsd with the exact same hardware -- but after I upgraded 
:that very
:old version of FreeBSD it won't work.
:
:Any ideas?
:
::)
:
:
:
:
:
:---
:
:   Dr. Joseph A. Bentley
:   Professor of Chemistry
:   Dept. of Physical SciencesPhone: (662) 846-4482
:   P.O. Box 3255-DSU FAX:   (662) 846-4486
:   Delta State UniversityE-mail: [EMAIL PROTECTED]
:   Cleveland, MS  38733  E-mail: [EMAIL PROTECTED]
:
:
:It is not enough to succeed.  Others must fail.
:
:-- Gore Vidal
:
:---
:
:
:To Unsubscribe: send mail to [EMAIL PROTECTED]
:with unsubscribe freebsd-questions in the body of the message
:
-
ATTENTION:
The information in this electronic mail message is private and
confidential, and only intended for the addressee. Should you
receive this message by mistake, you are hereby notified that
any disclosure, reproduction, distribution or use of this
message is strictly prohibited. Please inform the sender by
reply transmission and delete the message without copying or
opening it.

Messages and attachments are scanned for all viruses known.
If this message contains password-protected attachments, the
files have NOT been scanned for viruses by the ING mail domain.
Always scan attachments before opening them.
-



---

   Dr. Joseph A. Bentley
   Professor of Chemistry
   Dept. of Physical SciencesPhone: (662) 846-4482
   P.O. Box 3255-DSU FAX:   (662) 846-4486
   Delta State UniversityE-mail: [EMAIL PROTECTED]
   Cleveland, MS  38733  E-mail: [EMAIL PROTECTED]


It is not enough to succeed.  Others must fail.

-- Gore Vidal

---


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd

Re: Need help with software to run my APC UPS

2002-07-15 Thread zjoe


did you comment out 

#ttyd0  /usr/libexec/getty std.9600   dialup  off secure
or
#ttyd0  /usr/libexec/getty std.9600   dialup  off secure
 in /etc/ttys? this was my problem.

Tried this and it didn't work.

This is where I stand now:

1.  Two computers each with a APC Back-UPS Pro 650 and cable
attached (one has a 940-0095A and the other has a 940-0095B).

2.  One computer runs FreeBSD4.6 and the other runs FreeBSD4.4

3.  *Neither* computer will work with bkpupsd or apcupsd
from the ports collection.

A)  type: bkpupsd /dev/cuaa0
result:   on one computer it starts the daemon, but won't perform
  when power plug is pulled,
  on the other computer it starts the daemon, but immediately
  annouces the power has failed and shuts down

B)  type: apcupsd start
result:   one computer hangs, the other complains it can't communicate
  with UPS.

Note:  A guy on the apcupsd mail-list has the same exact UPS+cable
and runs FreeBSD4.6 and sent me his apcupsd.conf file.  I had
the same result with it.

4.  Tried installing upsd from the ports collection on one computer
and the computer hung on booting -- isn't this one needed for NUT to work?
(Also installed NUT, BTW.)

5.  Totally baffled at this point.

According to apcupsd.com, one possible source of error in a
situation like this one is:

Chosen serial port has logins enabled. You must disable logins on that
port, otherwise, the system prevents apcupsd from using it. Normally, the
file /etc/inittab specifies the ports for which a getty process is started.
You must disable getty for the port which you wish to use.

I'm not sure I disabled logins for the device correctly.
Not sure what to do now.

Important note:  Several years ago one of these UPSs worked with
bkpupsd with the exact same hardware -- but after I upgraded that very
old version of FreeBSD it won't work.

Any ideas?

:)





---

   Dr. Joseph A. Bentley
   Professor of Chemistry
   Dept. of Physical SciencesPhone: (662) 846-4482
   P.O. Box 3255-DSU FAX:   (662) 846-4486
   Delta State UniversityE-mail: [EMAIL PROTECTED]
   Cleveland, MS  38733  E-mail: [EMAIL PROTECTED]


It is not enough to succeed.  Others must fail.

-- Gore Vidal

---


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message