[Nut-upsuser] trying to use powerware 3110 USB with NUT

John H. mistamaila at gmail.com
Fri Sep 23 23:06:49 UTC 2005


apparently not, i still get this...

/etc/rc.d/init.d/ups restart
Stopping UPS monitor: [FAILED]
Starting UPS monitor (slave): Network UPS Tools upsmon 2.0.1
Using power down flag file /etc/killpower


Fatal error: insufficient power configured!

Sum of power values........: 0
Minimum value (MINSUPPLIES): 1

Edit your upsmon.conf and change the values.
[FAILED]


On 9/23/05, John H. <mistamaila at gmail.com> wrote:
>
> I did not have any such files, so I created them, according to a website I
> saw
>
> /etc/hotplug/usb/usbups
>
> #!/bin/bash
> # Implementation by Wolfgang Ocker
> #
> # /etc/hotplug/usb/usbups
> #
> # Sets up newly plugged in USB USP
> #
> # In the usermap file, the first field "usb module" should be named
> # "usbups" like this script.
> #
> echo usbups: device = $DEVICE >>/tmp/usb.log
>
> NUTOWNER=nut
>
> if [ "${ACTION}" = "add" ] && [ -f "${DEVICE}" ]
> then
> chmod 0000 "${DEVICE}"
> chown "$NUTOWNER" "${DEVICE}"
> chmod 0644 "${DEVICE}"
> fi
>
>
> and
> cat usbups.usermap
>
>
> # usb module match_flags idVendor idProduct bcdDevice_lo
> bcdDevice_hi bDeviceClass bDeviceSubClass bDeviceProtocol bInterfaceClass
> bInterfaceSubClass bInterfaceProtocol driver_info
> # Powerware USB
> libhidups 0x0003 0x06da 0x0002 0 0 0 0 0x00 0x00 0x00 0x00 0x00000000
>
>
> should that be ok?
> i did chmod 755 on usbups file
>
>
> On 9/23/05, Kjell Claesson <kjell.claesson at telia.com> wrote:
>
> > Hi John.
> >
> > I'm not the man to ask, you should talk to Wolfgang Ocker <weo at weo1.de>.
> >
> > But i think you have to alter the usbups.usermap to the right vendor and
> > product. it looks like this.
> > # Powerware USB
> > libhidups 0x0003 0x0592 0x0002 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00
> > 0x00 0x00000000
> >
> > change the 0x0592 to 0x06da and i thin it should identify your ups.
> >
> > After install you should find it in /etc/hotplug/usb i think.
> > I hope it talks bcmxcp. But talk to wolfgang, i run all my ups'es on the
> > serial line.
> > I dont have any usb ups.
> >
> > Regards
> > Kjell
> >
> >
> > fre 2005-09-23 klockan 12:48 -0500 skrev John H.:
> > > ok, compiled and installed, what am i doing wrong?
> > >
> > >
> > > /etc/rc.d/init.d/ups restart
> > > Stopping UPS monitor: [FAILED]
> > > Starting UPS monitor (slave): Network UPS Tools upsmon 2.0.1
> > > Using power down flag file /etc/killpower
> > >
> > >
> > > Fatal error: insufficient power configured!
> > >
> > > Sum of power values........: 0
> > > Minimum value (MINSUPPLIES): 1
> > >
> > > Edit your upsmon.conf and change the values.
> > > [FAILED]
> > >
> > > On 9/23/05, John H. <mistamaila at gmail.com> wrote:
> > > how do i build just
> > > bcmxcp_usb
> > > ?
> > >
> > >
> > > On 9/23/05, John H. < mistamaila at gmail.com> wrote:
> > >
> > > trying now, would it still be /dev/usb/hid/hiddev0?
> > >
> > >
> > > On 9/23/05, Kjell Claesson <kjell.claesson at telia.com>
> > > wrote:
> > > Hi John.
> > >
> > > It's not a hid device. Use the development cvs
> > > and build the bcmxcp_usb
> > > driver. The ups may work with that. 3105 and
> > > 5115 is reported working.
> > >
> > > Kjell Claesson
> > >
> > > fre 2005-09-23 klockan 01:05 -0500 skrev John
> > > H.:
> > > > Ok, I installed the ups, and installed nut,
> > > and /proc/bus/usb/devices
> > > > says this
> > > >
> > > > T: Bus=03 Lev=01 Prnt=01 Port=01 Cnt=01
> > > Dev#= 2 Spd=1.5 MxCh= 0
> > > > D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00
> > > MxPS= 8 #Cfgs= 1
> > > > P: Vendor=06da ProdID=0002 Rev= 0.01
> > > > S: Manufacturer=POWERWARE
> > > > S: Product=Powerware UPS
> > > > C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr= 20mA
> > > > I: If#= 0 Alt= 0 #EPs= 1 Cls=ff(vend.)
> > > Sub=00 Prot=00 Driver=(none)
> > > > E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=20ms
> > > >
> > > >
> > > > why does it say driver=none? how do i get it
> > > to say hid?
> > > >
> > > > i am on fc4 machine, and I edited ups.conf
> > > to say
> > > >
> > > > [PW3]
> > > > driver = hidups
> > > > port = /dev/usb/hid/hiddev0
> > > >
> > > >
> > > > as I used the make-hiddev script from
> > > apcupsd, which created that
> > > > there.
> > > >
> > > > thanks!
> > >
> > >
> > >
> > >
> > > -----BEGIN PGP SIGNATURE-----
> > > Version: GnuPG v1.4.2 (GNU/Linux)
> > >
> > > iD8DBQBDNBJ9DrrB/8XoY/ARAogmAKDXk6UHj8Rg
> > > +z1pH7BRl8obgl9l3QCfQcAx
> > > Z4Ws8bZGGN0uyFSFo1da6AA=
> > > =yTtn
> > > -----END PGP SIGNATURE-----
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.2 (GNU/Linux)
> >
> > iD8DBQBDNFSVDrrB/8XoY/ARAkGDAJ0bkGE2a/jwX/jSmmc1mYcjSsrsfwCg7gyO
> > f1r+5Xd/JLlqOCqlCWNiZUM=
> > =nBXA
> > -----END PGP SIGNATURE-----
> >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20050923/6d5a08de/attachment.html


More information about the Nut-upsuser mailing list