can't get that file<br>
<br>
make install-usb<br>
make[1]: Entering directory `/tmp/nut-092405/drivers'<br>
/usr/bin/install -c -m 0755 newhidups /usr/local/ups/bin<br>
/usr/bin/install: cannot stat `newhidups': No such file or directory<br>
/usr/bin/install -c -m 0755 bcmxcp_usb /usr/local/ups/bin<br>
/usr/bin/install: cannot stat `bcmxcp_usb': No such file or directory<br>
/usr/bin/install -c -m 0755 hidups /usr/local/ups/bin<br>
/usr/bin/install: cannot stat `hidups': No such file or directory<br>
/usr/bin/install -c -m 0755 energizerups /usr/local/ups/bin<br>
/usr/bin/install: cannot stat `energizerups': No such file or directory<br>
make[1]: *** [install-usb] Error 1<br>
make[1]: Leaving directory `/tmp/nut-092405/drivers'<br>
make[1]: Entering directory `/tmp/nut-092405/man'<br>
/usr/bin/install -c -m 0644 newhidups.8 /usr/local/ups/man/man8<br>
/usr/bin/install -c -m 0644 bcmxcp_usb.8 /usr/local/ups/man/man8<br>
/usr/bin/install -c -m 0644 hidups.8 /usr/local/ups/man/man8<br>
/usr/bin/install -c -m 0644 energizerups.8 /usr/local/ups/man/man8<br>
make[1]: Leaving directory `/tmp/nut-092405/man'<br>
[root@home nut-092405]# /usr/local/ups/bin/bcmxcp_usb -DD -u nut -a powerware<br>
bash: /usr/local/ups/bin/bcmxcp_usb: No such file or directory<br>
<br>
<br><div><span class="gmail_quote">On 9/24/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>Have you run the 'make install-usb' so the driver is located in the bin<br>directory? Then you have to set up the ups.conf so the driver is<br>bcmxcp_usb and the port pointing to the device created from the hotplug.
<br><br>Make shure the device is created.<br><br>Check with lsusb ,an it should report the info from<br>/proc/bus/usb<br><br>You may run the driver only to se if it communicate to the ups.<br><br>/usr/local/ups/bin/bcmxcp_usb -DD -u nut -a powerware
<br><br>This command is if the driver is located in /usr/local and it is named<br>powerware in the ups.conf and it going to be run as user nut.<br><br>You have to run this command as root to get it to work. The -DD is the
<br>debug level. But you must find the device first.<br><br>In this way you can se that the driver is ok. Then you can start up the<br>upsdeamon and monitor with the startup script.<br><br>The problem is that i don't have any usb ups. So i can not give you any
<br>real assistans on this matter.<br><br>Kjell<br><br>fre 2005-09-23 klockan 18:06 -0500 skrev John H.:<br>> apparently not, i still get this...<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>><br>> On 9/23/05, John H. <<a href="mailto:mistamaila@gmail.com">mistamaila@gmail.com</a>> wrote:<br>> I did not have any such files, so I created them, according to<br>> 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<br>> 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<br>> bInterfaceClass bInterfaceSubClass bInterfaceProtocol<br>> driver_info
<br>> # Powerware USB<br>> libhidups 0x0003 0x06da 0x0002 0 0 0 0 0x00 0x00 0x00 0x00<br>> 0x00000000<br>><br>><br>> should that be ok?<br>> i did chmod 755 on usbups file
<br>><br>><br>> On 9/23/05, Kjell Claesson <<a href="mailto:kjell.claesson@telia.com">kjell.claesson@telia.com</a>> wrote:<br>> Hi John.<br>><br>>
I'm not the man to ask, you should talk to Wolfgang<br>> Ocker <<a href="mailto:weo@weo1.de">weo@weo1.de</a>>.<br>><br>>
But i think you have to alter the usbups.usermap to<br>> the right vendor and<br>>
product. it looks like this.<br>> # Powerware USB<br>>
libhidups 0x0003 0x0592
0x0002 0x0000<br>>
0x0000 0x00<br>>
0x00 0x00 0x00 0x00<br>>
0x00
0x00000000<br>><br>>
change the 0x0592 to 0x06da and i thin it should<br>> identify your ups.<br>><br>>
After install you should find it in /etc/hotplug/usb i<br>> think.<br>>
I hope it talks bcmxcp. But talk to wolfgang, i run<br>>
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<br>>
monitor: [FAILED]<br>>
> Starting UPS monitor (slave): Network UPS Tools<br>> 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>><br>> wrote:<br>> ><br>>
>
trying now, would it still<br>> be /dev/usb/hid/hiddev0?<br>> ><br>> ><br>>
>
On 9/23/05, Kjell Claesson<br>>
<<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<br>> the development cvs<br>>
>
and build the bcmxcp_usb<br>>
>
driver. The ups may work<br>> with that. 3105 and<br>>
>
5115 is reported working.<br>> ><br>>
>
Kjell Claesson<br>> ><br>>
>
fre 2005-09-23 klockan 01:05<br>> -0500 skrev John<br>>
>
H.:<br>>
>
> Ok, I installed the ups,<br>> and installed nut,<br>>
>
and /proc/bus/usb/devices<br>>
>
> says this<br>>
>
><br>>
>
> T: Bus=03 Lev=01 Prnt=01<br>> Port=01 Cnt=01<br>>
>
Dev#= 2 Spd=1.5 MxCh= 0<br>>
>
> D: Ver= 1.10<br>>
Cls=00(>ifc ) Sub=00 Prot=00<br>>
>
MxPS= 8 #Cfgs= 1<br>>
>
> P: Vendor=06da<br>> ProdID=0002 Rev= 0.01<br>>
>
> S: Manufacturer=POWERWARE<br>>
>
> S: Product=Powerware UPS<br>>
>
> C:* #Ifs= 1 Cfg#= 1 Atr=80<br>> MxPwr= 20mA<br>>
>
> I: If#= 0 Alt= 0 #EPs= 1<br>> Cls=ff(vend.)<br>>
>
Sub=00 Prot=00 Driver=(none)<br>>
>
> E: Ad=81(I) Atr=03(Int.)<br>>
MxPS= 8 Ivl=20ms<br>>
>
><br>>
>
><br>>
>
> why does it say<br>>
driver=none? how do i get it<br>>
>
to say hid?<br>>
>
><br>>
>
> i am on fc4 machine, and I<br>> edited ups.conf<br>>
>
to say<br>>
>
><br>>
>
> [PW3]<br>>
>
> driver
= hidups<br>>
>
> port<br>> = /dev/usb/hid/hiddev0<br>>
>
><br>>
>
><br>>
>
> as I used the make-hiddev<br>> script from<br>>
>
apcupsd, which created that<br>>
>
> there.<br>>
>
><br>>
>
> thanks!<br>> ><br>> ><br>> ><br>> ><br>>
>
-----BEGIN PGP<br>> SIGNATURE-----<br>>
>
Version: GnuPG v1.4.2<br>> (GNU/Linux)<br>> ><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>><br>>
iD8DBQBDNFSVDrrB/8XoY/ARAkGDAJ0bkGE2a/jwX/jSmmc1mYcjSsrsfwCg7gyO<br>> f1r+5Xd/JLlqOCqlCWNiZUM=<br>> =nBXA<br>> -----END PGP SIGNATURE-----<br>><br>><br>><br>
><br>> _______________________________________________<br>> Nut-upsuser mailing list<br>> <a href="mailto:Nut-upsuser@lists.alioth.debian.org">Nut-upsuser@lists.alioth.debian.org</a><br>> <a href="http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser">
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser</a><br><br><br>-----BEGIN PGP SIGNATURE-----<br>Version: GnuPG v1.4.2 (GNU/Linux)<br><br>iD8DBQBDNS12DrrB/8XoY/ARAgCqAJ9/Jfm3Ge/mr+Fmpq8leITNsv/LVACfTFT5<br>B65mEA3GvUsuQ6WdooFNCrA=
<br>=Zpe3<br>-----END PGP SIGNATURE-----<br><br><br></blockquote></div><br>