[Nut-upsuser] HP/Compaq Rackmount UPS Support?
Kjell Claesson
kjell.claesson at telia.com
Sun Nov 13 21:03:09 UTC 2005
Hi Denny.
You have to use the code from the cvs. You can use
the Development or Testing tag.
cvs -d:pserver:anonymous at cvs.alioth.debian.org:/cvsroot/nut login
[Press ENTER when prompted for a password]
cvs -z3 -d:pserver:anonymous at cvs.alioth.debian.org:/cvsroot/nut co -r
Development nut
If you want the code for next release change Development to Testing
in the last line.
The driver you use is the version 0.08 and it does not contain the
fix for the baud-hunting and the param baud_rate.
I send you a mail of list for more info.
Regards
Kjell
sön 2005-11-13 klockan 12:02 -0600 skrev Denny Fox:
> Hi Kjell,
>
> I'm having a bit of trouble getting the driver to load. I am using nut 2.0.2
> and bcmxcp 0.08 I downloaded from
> <http://web.telia.com/~u50205618/downloads.html>
>
> Here is my current ups.conf
>
> [root at encoda02 etc]# pwd
> /usr/local/ups/etc
> [root at encoda02 etc]# cat ups.conf
> [hpr5500]
> driver = bcmxcp
> port = /dev/ttyS0
> baud_rate = 19200
> desc = "Encoda02"
>
> Here is what I get:
>
> [root at encoda02 etc]# /usr/local/ups/bin/upsdrvctl start
> Network UPS Tools - UPS driver controller 2.0.2
> Network UPS Tools - BCMXCP UPS driver 0.08 (2.0.2)
>
> Fatal error: 'baud_rate' is not a valid variable name for this driver.
>
> Look in the man page or call this driver with -h for a list of
> valid variable names and flags.
>
> Without the line
> baud_rate = 19200
> I get:
>
> [root at encoda02 etc]# cat ups.conf
> [hpr5500]
> driver = bcmxcp
> port = /dev/ttyS0
> # baud_rate = 19200
> desc = "Encoda02"
>
> [root at encoda02 etc]# /usr/local/ups/bin/upsdrvctl start
> Network UPS Tools - UPS driver controller 2.0.2
> Network UPS Tools - BCMXCP UPS driver 0.08 (2.0.2)
>
> Communications with UPS lost: Receive error (PW_COMMAND_START_BYTE): -1!!!
>
> Communications with UPS lost: Receive error (PW_COMMAND_START_BYTE): -1!!!
>
> Communications with UPS lost: Receive error (PW_COMMAND_START_BYTE): -1!!!
>
> Communications with UPS lost: Receive error (PW_COMMAND_START_BYTE): -1!!!
>
> Communications with UPS lost: Receive error (PW_COMMAND_START_BYTE): -1!!!
>
> Communications with UPS lost: Error executing command
> Could not communicate with the ups: Success
> Driver failed to start (exit status=1)
>
> I have verified that the /dev/ttyS0 works with a serial breakout box and
> minicom. If I disconnect the serial cable at the UPS and use a jumper on the
> breakout box to wrap the data from pin 2 to 3, I get character echos on
> minicom. I followed the instructions about ownership and permissions for
> /dev/ttyS0.
>
> This is RHEL3.
> [root at encoda02 etc]# uname -a
> Linux encoda02 2.4.21-27.0.2.ELsmp #1 SMP Wed Jan 12 23:35:44 EST 2005 i686
> i686 i386 GNU/Linux
>
> When I tried to find reference to baud_rate in the bcmxcp driver, there were
> none.
>
> Any help would be greatly appreciated.
>
> Thanks,
>
> Denny
>
> -----Original Message-----
> From: Kjell Claesson [mailto:kjell.claesson at telia.com]
> Sent: Monday, November 07, 2005 10:36 AM
> To: Denny Fox
> Subject: RE: [Nut-upsuser] HP/Compaq Rackmount UPS Support?
>
> Hi Denny.
>
> Btw if you don't set the baud_rate in the config, it goes into
> baud-hunting. And it would report the rate it connect at.
>
> Then you may set it in the config to get a faster start-up.
> Look at the man page for the driver.
>
> Pleas report any problems/success to me.
>
> Kjell
>
> mån 2005-11-07 klockan 09:57 -0600 skrev Denny Fox:
> > Great! Thanks for the info...
> >
> > Denny
> >
> > -----Original Message-----
> > From: nut-upsuser-bounces at lists.alioth.debian.org
> > [mailto:nut-upsuser-bounces at lists.alioth.debian.org] On Behalf Of Kjell
> > Claesson
> > Sent: Monday, November 07, 2005 9:43 AM
> > To: Denny Fox
> > Cc: nut-upsuser at lists.alioth.debian.org
> > Subject: Re: [Nut-upsuser] HP/Compaq Rackmount UPS Support?
> >
> > Hi.
> >
> > Try the bcmxcp driver in the cvs.
> > I have them listed as bcmxcp compatible ups'es.
> >
> > http://web.telia.com/~u50205618/compatibility.html
> >
> > Kjell
> >
> >
> > mån 2005-11-07 klockan 08:58 -0600 skrev Denny Fox:
> > > Hi,
> > >
> > > I have an HP R5500XR and a Compaq R3000XR that I would like to use with
> > nut.
> > > I searched the compatibility lists and the mail list archives but
> couldn't
> > > find anything.
> > >
> > > They both have 9 pin serial ports.
> > >
> > > Can anyone give me any information about them, and if they are supported
> > by
> > > nut?
> > >
> > > Thanks,
> > >
> > > Denny Fox
> > >
> > >
> > > _______________________________________________
> > > Nut-upsuser mailing list
> > > Nut-upsuser at lists.alioth.debian.org
> > > http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
> >
> >
> > _______________________________________________
> > Nut-upsuser mailing list
> > Nut-upsuser at lists.alioth.debian.org
> > http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
> >
>
>
> _______________________________________________
> Nut-upsuser mailing list
> Nut-upsuser at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
More information about the Nut-upsuser
mailing list