Re: apcupsd, genpower, and PowerShute(TM) "Black" cable.

1997-07-10 Thread Brian White
> Sorry to ask for a recap, but I missed the beginning of this thread...
> So to ask probably already answered questions:  What is the correct
> genpower (or... dangit can't rememebr the other UPS package) cable-type
> for the PowerShute "Black" cable that comes with the APCs?

Genpower does not support the black cable because genpower uses dumb-
signalling and the black cable has only enough wires for the smart-signalling
mode.  The new genpower (1.0.1-4) does support the grep "plug-n-play"
cable, though ("apc-pnp")!

  Brian
 ( [EMAIL PROTECTED] )

---
In theory, theory and practice are the same.  In practice, they're not.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: apcupsd, genpower, and PowerShute(TM) "Black" cable.

1997-07-10 Thread Zachary DeAquila
Nils Rennebarth <[EMAIL PROTECTED]> writes:

> I thouroughly hacked apcd for private use adding the following features:
> - - Close and reopen logfiles on HUP signal.
> - - Make shutdown dependent on the remaining battery load.
> - - Slave uses init for shutdown.
> - - Master uses shutdown code from lates sysvinit (2.71)
> (Not mentioning many code cleanups)
> 
> A further project might be a program able to communicate with a java applet
> to enable monitoring the ups from any java capable browser. This might then
> be a complete functional replacement for APC's power-chute software, and
> even better because it will work over the net on any client. But I can't
> tell when time allows this...

Sorry to ask for a recap, but I missed the beginning of this thread... 
So to ask probably already answered questions:  What is the correct
genpower (or... dangit can't rememebr the other UPS package) cable-type 
for the PowerShute "Black" cable that comes with the APCs?  

Many thanks...

 --Zachary


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: apcupsd, genpower, and PowerShute(TM) "Black" cable.

1997-07-09 Thread Rob Browning

> > A further project might be a program able to communicate with a java applet
> > to enable monitoring the ups from any java capable browser. This might then
> > be a complete functional replacement for APC's power-chute software, and
> > even better because it will work over the net on any client. But I can't
> > tell when time allows this...

As a brief aside, I suggest people consider Best Power over APC.  I
just ordered one of their Fortress II's after learning that not only
do you get more power per dollar, but they also publicly disclose
their UPS communications protocol (APC will not), and provide source
code.  I haven't actually gotten the thing yet, but that's what they
told me when I asked.  I know at least CDW carries these if anyone's
interested...

-- 
Rob


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: apcupsd, genpower, and PowerShute(TM) "Black" cable.

1997-07-08 Thread Joachim Trinkwitz
Nils Rennebarth <[EMAIL PROTECTED]> writes:

> I thouroughly hacked apcd for private use adding the following features:
> - - Close and reopen logfiles on HUP signal.
> - - Make shutdown dependent on the remaining battery load.
> - - Slave uses init for shutdown.
> - - Master uses shutdown code from lates sysvinit (2.71)
> (Not mentioning many code cleanups)
> 
> A further project might be a program able to communicate with a java applet
> to enable monitoring the ups from any java capable browser. This might then
> be a complete functional replacement for APC's power-chute software, and
> even better because it will work over the net on any client. But I can't
> tell when time allows this...

 FYI: There's a guy who has already done this and hacked a package
named smupsd (also based on upsd); it's under the GPL and available
at .
Wouldn't it be better to look at his package (and maybe work together with
him)? I couldn't yet try it out because it is in RPM-format and don't have
Java installed yet.
What about to debianize this package?

GreetingsJoachim

-- 
Joachim Trinkwitzemail: [EMAIL PROTECTED]
CIP-Pool Anglistik, Germanistik, phone: 0228-737565
  Romanistik, Skandinavistik fax:   0228-737479
Rheinische Friedrich-Wilhelms-Universitaet   Am Hof 1d,  D-53113 Bonn,  Germany


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: apcupsd, genpower, and PowerShute(TM) "Black" cable.

1997-07-02 Thread Colin R. Telmer
On Wed, 2 Jul 1997, Brian White wrote:

> > Apart from this, apcd is ready as a debian package but I didn't find the
> > time to upload it, feed the changes back to the upstream maintainer, etc.
> > 
> > Whoever wants this package, drop me an email.
> 
> If nobody else wants it, I'll take it. (but only if nobody else wants it --
> I'm pretty swamped)

I'll take it but some of this stuff is foreign to me. In other words, I
may have a lot of questions to ask. Also, I started the thread:) I
recently noticed that Nils uploaded the package - does he still want to
give it away? Cheers, Colin. 

--
  Colin R. Telmer, Institute of Intergovernmental Relations
School of Policy Studies, Queen's University
 Kingston, Ontario, Canada, K7L-3N6
  (613)545-6000x4219   [EMAIL PROTECTED]
   PGP Public Key at http://terrapin.econ.queensu.ca>



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: apcupsd, genpower, and PowerShute(TM) "Black" cable.

1997-07-02 Thread Brian White
> I choose to run shutdown by itself because I had to assure that the last
> action on master is to shut down the ups. Instead I should probably follow
> the genpower approach and supply a small program that does this from the
> command line.

I worked with Miquel about this when building the genpower package.  Now,
this is done as the final action of "halt"...

  callandor:~> tail /etc/init.d/halt
  
  mount -n -o remount,ro /
  
  # See if we need to cut the power.
  if [ -x /etc/init.d/ups-monitor ]
  then
  /etc/init.d/ups-monitor poweroff
  fi
  
  halt -d -f


Any UPS monitoring package should provide the virtual package "ups-monitor"
and provide an /etc/init.d/ups-monitor script.  Genpower just has this
as a link to the genpower script in init.d.


> Apart from this, apcd is ready as a debian package but I didn't find the
> time to upload it, feed the changes back to the upstream maintainer, etc.
> 
> Whoever wants this package, drop me an email.

If nobody else wants it, I'll take it. (but only if nobody else wants it --
I'm pretty swamped)

  Brian
 ( [EMAIL PROTECTED] )

---
In theory, theory and practice are the same.  In practice, they're not.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: apcupsd, genpower, and PowerShute(TM) "Black" cable.

1997-07-01 Thread Nils Rennebarth
-BEGIN PGP SIGNED MESSAGE-

On Thu, 26 Jun 1997, Colin R. Telmer wrote:

>I have just tried to get two APC Smart UPS v/s 650s up and running in my
>department but unfortunately, genpower does not support the cable,
>2) I have found another non-debian package called apcupsd which does
>   support this cable and most other APC cables. It also supports smart
>   mode which is not supported in genpower.

> Moreover, it is GPLd. I would
>   be happy to package this for debian if there is no objections/some
>   demand. 
>
>Any comments? Cheers, Colin.
apcupsd is derived from apcd by Pavel Korensky <[EMAIL PROTECTED]>, but
unfortunately without a configuration file (many parameters selected at
compile time) and without slave support.

I thouroughly hacked apcd for private use adding the following features:
- - Close and reopen logfiles on HUP signal.
- - Make shutdown dependent on the remaining battery load.
- - Slave uses init for shutdown.
- - Master uses shutdown code from lates sysvinit (2.71)
(Not mentioning many code cleanups)

On Sat, 28 Jun 1997, Brian White <[EMAIL PROTECTED]> wrote:
>I tried using "apcd" at one point which supported smart-signalling.
>Unfortunately, it did system shutdown itself instead of telling the
>system to shut down and this was unacceptable.

I choose to run shutdown by itself because I had to assure that the last
action on master is to shut down the ups. Instead I should probably follow
the genpower approach and supply a small program that does this from the
command line.

Apart from this, apcd is ready as a debian package but I didn't find the
time to upload it, feed the changes back to the upstream maintainer, etc.

Whoever wants this package, drop me an email.

A further project might be a program able to communicate with a java applet
to enable monitoring the ups from any java capable browser. This might then
be a complete functional replacement for APC's power-chute software, and
even better because it will work over the net on any client. But I can't
tell when time allows this...

Nils

- -- 
 \  /| Nils Rennebarth
--* WINDOWS 42 *--   | Schillerstr. 61 
 /  \| 37083 Göttingen
 | ++49-551-71626
   Micro$oft's final answer  | http://www.nus.de/~nils




-BEGIN PGP SIGNATURE-
Version: 2.6.3i
Charset: noconv

iQB1AwUBM7k/qlptA0IhBm0NAQHKJgMAooBorB6eDzmVHMr9zT8pV3mIFa+nP+im
8Hh8zM5StuqQt0e8URz4Ue8ZCFSLkcAWAIp+BPFuCZpQt10LLiOGoImxkSSkwgkj
C44+hRKSI5Zj2ZK5asTaDuC6xm6AjSiR
=MQ8b
-END PGP SIGNATURE-


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? 
e-mail to [EMAIL PROTECTED] .


Re: apcupsd, genpower, and PowerShute(TM) "Black" cable.

1997-06-28 Thread Brian White
> I have just tried to get two APC Smart UPS v/s 650s up and running in my
> department but unfortunately, genpower does not support the cable, a black
> PowerShute(TM)  cable with serial number 940-0024C.

Genpower 1.0.1-4 does have support for the Win95 "Plug-n-Play" cable (serial
number 940-0095A).

> However, when I ran gentest in every way possible
> using the black cable, there was no signal at all.

The black cable you mention does not have sufficient wires for the dumb
signalling method used by genpower.  The black cable is essentially nothing
more than a TxD/RxD dumb modem between the UPS and the computer and some
loopback to make sure the computer's serial port is happy.


> 1) Does anyone know how I can figure out a new cable specification for the
>940-0024C when gentest and statserial are no help?

Cable   Computer
~   
2 RxD   2 TxD
3 TxD   1 RxD
5 GND   9 GND
4 DTR, 1 DCD
7 RTS, 8 CTS


> 2) I have found another non-debian package called apcupsd which does
>support this cable and most other APC cables. It also supports smart
>mode which is not supported in genpower. Moreover, it is GPLd. I would
>be happy to package this for debian if there is no objections/some
>demand.

I tried using "apcd" at one point which supported smart-signalling.
Unfortunately, it did system shutdown itself instead of telling the
system to shut down and this was unacceptable.

Using the PnP cable, genpower is exactly what I need.

  Brian
 ( [EMAIL PROTECTED] )

---
   Give others some insight into YOUR pages!  http://www.verisim.com/insite/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .