UPS with Linux support - well sort of

2003-07-13 Thread Daniel Feiglin
Hello folks!

People looking for a UPS with Linux support may find this useful:

I just installed a 1KVa S1000 unit from Sustainer (www.sustainer.co.il, 
Bar Kochba 8, Bnei Brak, 03 5793686).

It comes with the usual Win s/w with lots of pretty buttons and 
clock-like displays. It also comes with a grotty little tar file for 
Linux, containing the upsmon monitoring daemon and a text mode status 
display.

They only work in superuser mode (yes, the display too), but work they 
do. The daemon does not support simple start and stop parameters. To 
stop it, kill -9 ... . That means, that writing a "standard" start/stop 
script in not on. Too bad for what follows.

The documentation is written in a rather quaint Taiwanese English, and 
assumes that you can "intall" the daemon by editing an rc.local script. 
Of course in  my SuSE 8.1 setup there aint no such thing, and I won't go 
into the morbid details here, beyond remarking that you need to add an 
S file to kick off the daemon, to (say) the run levels 3 & 5 
directories under /etc/init.d.

All this crud would make it a bit of a pain for a newbie.

DAF

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]


Re: UPS with Linux support - well sort of

2003-07-14 Thread Shaul Karl
On Mon, Jul 14, 2003 at 04:34:59AM +0300, Daniel Feiglin wrote:
> Hello folks!
> 
> People looking for a UPS with Linux support may find this useful:
> 


  I gather it is not open software, is it? Do *we* remember to ask for
full disclosure documentation when purchasing hardware?


> I just installed


  Does it have a serial or usb interface?


>  a 1KVa S1000 unit from Sustainer (www.sustainer.co.il, 
> Bar Kochba 8, Bnei Brak, 03 5793686).
> 
> It comes with the usual Win s/w with lots of pretty buttons and 
> clock-like displays. It also comes with a grotty little tar file for 
> Linux, containing the upsmon monitoring daemon and a text mode status 
> display.
> 
> They only work in superuser mode (yes, the display too), but work they 
> do. The daemon does not support simple start and stop parameters. To 
> stop it, kill -9 ... . That means, that writing a "standard" start/stop 
> script in not on. Too bad for what follows.
> 
> The documentation is written in a rather quaint Taiwanese English, and 
> assumes that you can "intall" the daemon by editing an rc.local script. 
> Of course in  my SuSE 8.1 setup there aint no such thing, and I won't go 
> into the morbid details here, beyond remarking that you need to add an 
> S file to kick off the daemon, to (say) the run levels 3 & 5 
> directories under /etc/init.d.
> 
> All this crud would make it a bit of a pain for a newbie.
> 
> DAF
> 


  Can you run it under strace and post the output? I hope that sending
the long output to the list is a good idea because the list's archiving
feature. Can you provide URLs for the software and/or email me the tar
ball? 
-- 

Shaul Karl, [EMAIL PROTECTED] e t

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: UPS with Linux support - well sort of

2003-07-14 Thread Oron Peled
On Mon, 14 Jul 2003 18:17:17 +0300
Shaul Karl <[EMAIL PROTECTED]> wrote:

>   I gather it is not open software, is it? Do *we* remember to ask for
> full disclosure documentation when purchasing hardware?

"Me too". Does anyone know about a UPS available in Israel with:
- open/free software
- and/or a complete spec so we can write software for it?

Of course if the UPS you mention had such a spec (or even better
the software was open/free) -- all other issues were minor because
it's pretty easy to fix these things (install proper signal handlers,
write a start-up scripts for suse/redhat/mandrake/what's-not, package
it as RPM/debs/tgz/foo-bar).

So, any open-spec or open-software UPS?

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron

Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the universe trying to produce
bigger and better idiots. So far, the universe is winning.
-- Rick Cook, Mission Manager, NASA Mars Pathfinder Project

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: UPS with Linux support - well sort of

2003-07-14 Thread Official Flamer/Cabal NON-Leader
Quoth Oron Peled:

> "Me too". Does anyone know about a UPS available in Israel with:
>   - open/free software
>   - and/or a complete spec so we can write software for it?

Systel. I bought a PM1500 from them, once, and was given a complete spec
for the thing. I have the spec still, somewhere.

I did write the driver for the thing and even gave systel the code, but
they lost it and so did i...

> Of course if the UPS you mention had such a spec (or even better
> the software was open/free) -- all other issues were minor because
> it's pretty easy to fix these things (install proper signal handlers,
> write a start-up scripts for suse/redhat/mandrake/what's-not, package
> it as RPM/debs/tgz/foo-bar).
> 
> So, any open-spec or open-software UPS?
> 
> -- 
> Oron Peled Voice/Fax: +972-4-8228492
> [EMAIL PROTECTED]  http://www.actcom.co.il/~oron
> 
> Programming today is a race between software engineers striving to build
> bigger and better idiot-proof programs, and the universe trying to produce
> bigger and better idiots. So far, the universe is winning.
> -- Rick Cook, Mission Manager, NASA Mars Pathfinder Project
> 
> =
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
> 

-- 
---OFCNL
This is MY list. This list belongs to ME! I will flame anyone I want.
Official Flamer/Cabal NON-Leader  [EMAIL PROTECTED]

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: UPS with Linux support - well sort of

2003-07-14 Thread Oleg Kobets
Let me join that.

I have a Sustainer interactive VA600 ups with serial connection and I am too
cannot work with it from linux despite their promise in the specs. I mailed
them to no avail. Can you send me the link to the tarball or send it by
email directly ?

Thanks.


- Original Message - 
From: "Shaul Karl" <[EMAIL PROTECTED]>
To: "Daniel Feiglin" <[EMAIL PROTECTED]>
Cc: "IGLU" <[EMAIL PROTECTED]>
Sent: Monday, July 14, 2003 5:17 PM
Subject: Re: UPS with Linux support - well sort of


> On Mon, Jul 14, 2003 at 04:34:59AM +0300, Daniel Feiglin wrote:
> > Hello folks!
> >
> > People looking for a UPS with Linux support may find this useful:
> >
>
>
>   I gather it is not open software, is it? Do *we* remember to ask for
> full disclosure documentation when purchasing hardware?
>
>
> > I just installed
>
>
>   Does it have a serial or usb interface?
>
>
> >  a 1KVa S1000 unit from Sustainer (www.sustainer.co.il,
> > Bar Kochba 8, Bnei Brak, 03 5793686).
> >
> > It comes with the usual Win s/w with lots of pretty buttons and
> > clock-like displays. It also comes with a grotty little tar file for
> > Linux, containing the upsmon monitoring daemon and a text mode status
> > display.
> >
> > They only work in superuser mode (yes, the display too), but work they
> > do. The daemon does not support simple start and stop parameters. To
> > stop it, kill -9 ... . That means, that writing a "standard" start/stop
> > script in not on. Too bad for what follows.
> >
> > The documentation is written in a rather quaint Taiwanese English, and
> > assumes that you can "intall" the daemon by editing an rc.local script.
> > Of course in  my SuSE 8.1 setup there aint no such thing, and I won't go
> > into the morbid details here, beyond remarking that you need to add an
> > S file to kick off the daemon, to (say) the run levels 3 & 5
> > directories under /etc/init.d.
> >
> > All this crud would make it a bit of a pain for a newbie.
> >
> > DAF
> >
>
>
>   Can you run it under strace and post the output? I hope that sending
> the long output to the list is a good idea because the list's archiving
> feature. Can you provide URLs for the software and/or email me the tar
> ball?
> -- 
>
> Shaul Karl, [EMAIL PROTECTED] e t
>
> =
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
>
>



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: UPS with Linux support - well sort of

2003-07-14 Thread Shaul Karl
On Mon, Jul 14, 2003 at 07:45:41PM +0300, Oron Peled wrote:
> 
> So, any open-spec or open-software UPS?
> 


  Dumb UPSs that I know of:

1. I bought a used ToPower 650. It works nicely with
   http://www.exploits.org/nut. The communication cable is not the OEM
   one. I have the wiring scheme for the cable that I am using.
2. Having http://www.exploits.org/nut support the UPS that was referred
   to at 
   http://plasma-gate.weizmann.ac.il/Linux/maillists/03/05/msg00514.html
   is a matter of obtaining the wiring scheme of the cable. The point
   is that even if that scheme can not be obtained then I believe that
   an electronic technician should be able to construct a suitable cable
   based on the the information available so far. Actually, perhaps the
   original poster of that thread already have the nut working with this
   UPS?


  Smart ones:

1. I have http://www.exploits.org/nut working with 
   Advice Partner/King PR750. It is not perfect, for example it claims
   that battery.charge is 113.5%, but the important functionality is
   there and most other readings are reasonable. In fact
   http://www.advice.co.il/data/prog/UPSMON_LINUX.zip has a binary
   only Linux software accompanied by an MS .doc document. I should at
   some point try and strace it in order to try and fix that impossible
   battery.charge and possibly some other readings as well. I hope that
   I will not be forced to install other, perhaps old versions of some
   libs in order for this to start working. Yet doing this has very low
   priority on my schedule.

All those UPSs have serial interface.

  I am not sure whether the manufacturers don't sometimes modify the
user interface while still keeping the model number as it was prior to
the modification.
-- 

Shaul Karl, [EMAIL PROTECTED] e t

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: UPS with Linux support - well sort of

2003-07-14 Thread Daniel Feiglin


Shaul Karl wrote:
On Mon, Jul 14, 2003 at 04:34:59AM +0300, Daniel Feiglin wrote:

Hello folks!

People looking for a UPS with Linux support may find this useful:



  I gather it is not open software, is it? Do *we* remember to ask for
full disclosure documentation when purchasing hardware?
Not open, but the UPSMON stuff seems to have been around a long time and 
is widely used. (Google).



I just installed


  Does it have a serial or usb interface?
Serial, 9 pin




a 1KVa S1000 unit from Sustainer (www.sustainer.co.il, 
Bar Kochba 8, Bnei Brak, 03 5793686).

It comes with the usual Win s/w with lots of pretty buttons and 
clock-like displays. It also comes with a grotty little tar file for 
Linux, containing the upsmon monitoring daemon and a text mode status 
display.

They only work in superuser mode (yes, the display too), but work they 
do. The daemon does not support simple start and stop parameters. To 
stop it, kill -9 ... . That means, that writing a "standard" start/stop 
script in not on. Too bad for what follows.

The documentation is written in a rather quaint Taiwanese English, and 
assumes that you can "intall" the daemon by editing an rc.local script. 
Of course in  my SuSE 8.1 setup there aint no such thing, and I won't go 
into the morbid details here, beyond remarking that you need to add an 
S file to kick off the daemon, to (say) the run levels 3 & 5 
directories under /etc/init.d.

All this crud would make it a bit of a pain for a newbie.

DAF



  Can you run it under strace and post the output? I hope that sending
the long output to the list is a good idea because the list's archiving
feature. Can you provide URLs for the software and/or email me the tar
ball? 
1. Tar file - mailed separately
2. strace - later. BTW, for a much earlier version (Lantech, circa 
1996), I wrote my own DOS+OS/2 monitor programmes, using a 
thing-a-mee-bob with LEDs which show RS 232 pin activity and a bit of 
dis-assembly of a suppied DOS TSR.

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]


Re: UPS with Linux support - well sort of

2003-07-14 Thread Daniel Feiglin


Oleg Kobets wrote:
Let me join that.

I have a Sustainer interactive VA600 ups with serial connection and I am too
cannot work with it from linux despite their promise in the specs. I mailed
them to no avail. Can you send me the link to the tarball or send it by
email directly ?
Tar file sent direct.

About specs: There is an antiquated Howto (1997). Haven't done much with it.
Thanks.

- Original Message - 
From: "Shaul Karl" <[EMAIL PROTECTED]>
To: "Daniel Feiglin" <[EMAIL PROTECTED]>
Cc: "IGLU" <[EMAIL PROTECTED]>
Sent: Monday, July 14, 2003 5:17 PM
Subject: Re: UPS with Linux support - well sort of



On Mon, Jul 14, 2003 at 04:34:59AM +0300, Daniel Feiglin wrote:

Hello folks!

People looking for a UPS with Linux support may find this useful:



 I gather it is not open software, is it? Do *we* remember to ask for
full disclosure documentation when purchasing hardware?


I just installed


 Does it have a serial or usb interface?



a 1KVa S1000 unit from Sustainer (www.sustainer.co.il,
Bar Kochba 8, Bnei Brak, 03 5793686).
It comes with the usual Win s/w with lots of pretty buttons and
clock-like displays. It also comes with a grotty little tar file for
Linux, containing the upsmon monitoring daemon and a text mode status
display.
They only work in superuser mode (yes, the display too), but work they
do. The daemon does not support simple start and stop parameters. To
stop it, kill -9 ... . That means, that writing a "standard" start/stop
script in not on. Too bad for what follows.
The documentation is written in a rather quaint Taiwanese English, and
assumes that you can "intall" the daemon by editing an rc.local script.
Of course in  my SuSE 8.1 setup there aint no such thing, and I won't go
into the morbid details here, beyond remarking that you need to add an
S file to kick off the daemon, to (say) the run levels 3 & 5
directories under /etc/init.d.
All this crud would make it a bit of a pain for a newbie.

DAF



 Can you run it under strace and post the output? I hope that sending
the long output to the list is a good idea because the list's archiving
feature. Can you provide URLs for the software and/or email me the tar
ball?
--
   Shaul Karl, [EMAIL PROTECTED] e t

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]





=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]


Re: UPS with Linux support - well sort of

2003-07-14 Thread Daniel Feiglin


Boaz Rymland wrote:
Hi there!

first, my personal thanks for the tips. I will be looking for a ups for my
linux station, although something less strong - 450/600VA will be enough for
me.
indeed, if it wants the sysadmin to edit lc.local it is an old daemon... .

say, how much did it cost?
I got a special price - customer since 1988 and occaisional reseller. 
List is about $242 + VAT.
Boaz.

- Original Message -
From: "Daniel Feiglin" <[EMAIL PROTECTED]>
To: "IGLU" <[EMAIL PROTECTED]>
Sent: Monday, July 14, 2003 3:34 AM
Subject: UPS with Linux support - well sort of


Hello folks!

People looking for a UPS with Linux support may find this useful:

I just installed a 1KVa S1000 unit from Sustainer (www.sustainer.co.il,
Bar Kochba 8, Bnei Brak, 03 5793686).
It comes with the usual Win s/w with lots of pretty buttons and
clock-like displays. It also comes with a grotty little tar file for
Linux, containing the upsmon monitoring daemon and a text mode status
display.
They only work in superuser mode (yes, the display too), but work they
do. The daemon does not support simple start and stop parameters. To
stop it, kill -9 ... . That means, that writing a "standard" start/stop
script in not on. Too bad for what follows.
The documentation is written in a rather quaint Taiwanese English, and
assumes that you can "intall" the daemon by editing an rc.local script.
Of course in  my SuSE 8.1 setup there aint no such thing, and I won't go
into the morbid details here, beyond remarking that you need to add an
S file to kick off the daemon, to (say) the run levels 3 & 5
directories under /etc/init.d.
All this crud would make it a bit of a pain for a newbie.

DAF

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]






=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]


Re: UPS with Linux support - well sort of

2003-07-15 Thread Shaul Karl
On Tue, Jul 15, 2003 at 07:05:29AM +0300, Daniel Feiglin wrote:
> 
> 1. Tar file - mailed separately


  This tar file is a bit by bit identical to the one included in
http://www.advice.co.il/data/prog/UPSMON_LINUX.zip. In addition, the
actual content of the READMEE.HTM that you have sent seems identical to
the antiword content of 'UPSmon FOR LINUX(English).doc', where 'UPSmon
FOR LINUX(English).doc' is again from Advice's zip file. Which makes me
wonder whether both Advice and Sustainer use the same user interface
engine?
  Perhaps, and at your own risk, you would like to try the nut software
with the powercom driver with your Sustainer UPS? The first thing I
would do when carrying out such experimentation is having the mains
power feed the PC directly, as opposed to having the UPS supply power to
the PC. If possible I would load the UPS with a light bulb or some other 
dummy load.
  It could be that Suse has already packaged the nut. Does it? If so,
what version does it ship?


> 2. strace - later. BTW, for a much earlier version (Lantech, circa 
> 1996), I wrote my own DOS+OS/2 monitor programmes, using a 
> thing-a-mee-bob with LEDs which show RS 232 pin activity and a bit of 
> dis-assembly of a suppied DOS TSR.
> 


  Can you post the communication protocol of that model? If not then
maybe you can post the source? In the UPS business, as in many other
areas, newer work seems to highly utilize previous work.
-- 

Shaul Karl, [EMAIL PROTECTED] e t

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: UPS with Linux support - well sort of

2003-07-15 Thread Shaul Karl
On Tue, Jul 15, 2003 at 07:13:43AM +0300, Daniel Feiglin wrote:
> 
> 
> Boaz Rymland wrote:
> >Hi there!
> >
> >first, my personal thanks for the tips. I will be looking for a ups for my
> >linux station, although something less strong - 450/600VA will be enough 
> >for
> >me.
> >
> >indeed, if it wants the sysadmin to edit lc.local it is an old daemon... .
> >
> >say, how much did it cost?
> 
> I got a special price - customer since 1988 and occaisional reseller. 
> List is about $242 + VAT.
> >
> >Boaz.


  http://www.advice.co.il/download.asp seems to consider all PARTNER
Series (PR) PR600, 750, 1000, 1200, 1500, 2200, 3000 to be the same,
software wise. I have http://www.exploits.org/nut working reasonably
well with the 750 model, although it could be that they have modified it
in some ways since I bought mine a few years ago.
  When reading this you should consider that:
1. I am not affiliated with Advice in any way.
2. I do want as many people as possible to use the same hardware and 
   software that I am using.
3. Getting us to standardize on a few and maybe only one UPS package
   can help all, local users as well as local OEMs, to support Linux.
-- 

Shaul Karl, [EMAIL PROTECTED] e t

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: UPS with Linux support - well sort of

2003-07-15 Thread Daniel Feiglin


Shaul Karl wrote:
On Tue, Jul 15, 2003 at 07:05:29AM +0300, Daniel Feiglin wrote:

1. Tar file - mailed separately


  This tar file is a bit by bit identical to the one included in
http://www.advice.co.il/data/prog/UPSMON_LINUX.zip. In addition, the
actual content of the READMEE.HTM that you have sent seems identical to
the antiword content of 'UPSmon FOR LINUX(English).doc', where 'UPSmon
FOR LINUX(English).doc' is again from Advice's zip file. Which makes me
wonder whether both Advice and Sustainer use the same user interface
engine?
  Perhaps, and at your own risk, you would like to try the nut software
with the powercom driver with your Sustainer UPS? 
Later. Gotta go to work soon (Shmira 21:00->06:00. Anyone got something 
better?)

The first thing I
would do when carrying out such experimentation is having the mains
power feed the PC directly, as opposed to having the UPS supply power to
the PC. If possible I would load the UPS with a light bulb or some other 
dummy load.
  It could be that Suse has already packaged the nut. Does it? 
SuSE 8.1, Yes
If so,
what version does it ship?
0.50.0-96





2. strace - later. BTW, for a much earlier version (Lantech, circa 
1996), I wrote my own DOS+OS/2 monitor programmes, using a 
thing-a-mee-bob with LEDs which show RS 232 pin activity and a bit of 
dis-assembly of a suppied DOS TSR.



  Can you post the communication protocol of that model? If not then
maybe you can post the source? In the UPS business, as in many other
areas, newer work seems to highly utilize previous work.
It's 194K zip file. I'll send it privately. If there's anything of value 
there, feel free use it a la GPL, or whatever seems reasonable. Please 
note that it includes extensive documentation in old QText 5.1 format. 
You can view it as an ordinary (but ugly) text file.

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]