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