Well, I have made the cable. I had a fresh install of debian and I had used synaptic to install the latest version of NUT and created a ups.conf per earlier instructions. Now I seem to be missing something, I noticed the docs say upscode2 is now built in and I notice that this is no separate driver file called upscode2 as there is for apcsmart (and the orhters), yet I try:
upsdrvctl start
gives
Can't start: /lib/nut/upscode2: No such file or directory
and in /lib/nut I can see plenty of drivers (apcsmart, etc).
I re-read the documentation but I seem to have missed something, any ideas?? (probably as it was getting late at night!!) Also, reading the documentation on getting the three banks of three outlets on the UPS (powersaving?) to shutdown separately at different times , I am not clear on how to achieve this, any pointers would be appreciated.
Cheers Douglas.

Douglas Pearless wrote:
Hi Kjell,
Thank you for the information, I will try it when I get a moment over the next day or so.
Cheers Douglas.

Kjell Claesson wrote:
ons 2007-04-04 klockan 16:23 +1200 skrev Douglas Pearless:
Hi,


Hi Douglas,
I have a Comapq T2400H model 242688-003 and do not have the special
cable to connect it to my serial port.

I have tried all sorts of cable wirings that I found on the net,
including ones for the powerware 5119 which appears to be the same
model.


OK, I think you have seen this :-)

-----------------------------------------------------
Part# 295245-003 (PowerRite Pro)
Software: FailSafe-III

UPS      DB-9M                       DB-9F  RS-232

Receive  1 <---------------------------< 3  TxD
Transmit 2 <---------------------------< 2  RxD
Common   4 <---------------------------< 5  SG
PnP_En   6 <---------------------------< 7  RTS
                                  +----< 4  DTR
                                  +----< 6  DSR
------------------------------------------------------

And this should be the cable. And it is for smart mode, so you
can not use it with the generic driver.

I have read the documentation that comes with NUT, tried to read the
source code and looked at the genericups code too.  I have hit a bit
of a wall, does anyone have the pinout for a working cable for this
unit that works in the dumb or smart mode, and the ups.conf they
used??

This type of ups is talking upscodeII, so you need to test the upscode2 driver. If it acts like a T1500h you may need to add 'use_pre lf' into the 'ups.conf'.

ups.conf should look something like this.

[compaq]
        driver = upscode2
        port = /dev/ttyS0
        desc = "Compaq T2400h"
        manufacturer = "Compaq"
        input_timeout = 5
        use_pre_lf = yes

Regards
Kjell

P.S. Send you a pdf of list.

------------------------------------------------------------------------

No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.24/742 - Release Date: 1/04/2007 8:49 
p.m.
------------------------------------------------------------------------

_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.25/745 - Release Date: 3/04/2007 
12:48 p.m.
_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Reply via email to