Hi, I am wanting to use NUT to connect to an Eaton Powerware 5110 UPS using USB to connect. - I am using NUT 2.0.2 - I have compiled it with USB support - I can see that the UPS is registered as connecting in /var/log/messages eg usb 3-1: USB disconnect, address 3 usb 3-2: new low speed USB device using uhci_hcd and address 4 But I don't know how to progress from here. I have used the following commands: mkdir /dev/usb mkdir /dev/usb/hid mknod /dev/usb/hid/hiddev0 c 180 96 mknod /dev/usb/hid/hiddev1 c 180 97 mknod /dev/usb/hid/hiddev2 c 180 98 mknod /dev/usb/hid/hiddev3 c 180 99 However, I'm not sure how to check that there is a link between hiddev0 and the USB device that's registering above. - In a fit of woeful optimism I have configured ups.conf to connect to hiddev0 but I get this error when I run upsdrvctl hiddev path open /dev/usb/hid/hiddev0: No such device Driver failed to start (exit status=1) I have been looking to this document (http://www.vttoth.com/ER-OF800.htm) as well as attempting to follow the nut FAQ: If anyone could please help me that would be much appreciated. Kind regards, John
Hi John, I don't think PW5110 is a hid device. Make this entry into the 'ups.conf' --------------------------- [pw5110] driver = bcmxcp_usb port = auto shutdown_delay = 60 desc = "USB ups" ----------------------------- Then try to run the driver like this ( You may give the full path or cd to the driver directory) bcmxcp_usb -DD -a pw5110 -u root And report back if you get some response. Regards Kjell tis 2006-05-09 klockan 16:33 +1200 skrev John Anderson:> Hi, > > I am wanting to use NUT to connect to an Eaton Powerware 5110 UPS using > USB to connect. > > - I am using NUT 2.0.2 > - I have compiled it with USB support > - I can see that the UPS is registered as connecting in /var/log/messages > eg usb 3-1: USB disconnect, address 3 > usb 3-2: new low speed USB device using uhci_hcd and address 4 > > But I don't know how to progress from here. I have used the following > commands: > > mkdir /dev/usb > mkdir /dev/usb/hid > mknod /dev/usb/hid/hiddev0 c 180 96 > mknod /dev/usb/hid/hiddev1 c 180 97 > mknod /dev/usb/hid/hiddev2 c 180 98 > mknod /dev/usb/hid/hiddev3 c 180 99 > > However, I'm not sure how to check that there is a link between hiddev0 > and the USB device that's registering above. > > - In a fit of woeful optimism I have configured ups.conf to connect to > hiddev0 but I get this error when I run upsdrvctl > hiddev path open /dev/usb/hid/hiddev0: No such device > Driver failed to start (exit status=1) > > I have been looking to this document > (http://www.vttoth.com/ER-OF800.htm) as well as attempting to follow the > nut FAQ: > > If anyone could please help me that would be much appreciated. > > Kind regards, > > John > > > > _______________________________________________ > Nut-upsuser mailing list > Nut-upsuser@lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
Hi again. Sorry i didn't read properly. You must upgrade to nut-2.0.3 to get the bcmxcp_usb driver. Regards Kjell tis 2006-05-09 klockan 16:33 +1200 skrev John Anderson:> Hi, > > I am wanting to use NUT to connect to an Eaton Powerware 5110 UPS using > USB to connect. > > - I am using NUT 2.0.2 > - I have compiled it with USB support > - I can see that the UPS is registered as connecting in /var/log/messages > eg usb 3-1: USB disconnect, address 3 > usb 3-2: new low speed USB device using uhci_hcd and address 4 > > But I don't know how to progress from here. I have used the following > commands: > > mkdir /dev/usb > mkdir /dev/usb/hid > mknod /dev/usb/hid/hiddev0 c 180 96 > mknod /dev/usb/hid/hiddev1 c 180 97 > mknod /dev/usb/hid/hiddev2 c 180 98 > mknod /dev/usb/hid/hiddev3 c 180 99 > > However, I'm not sure how to check that there is a link between hiddev0 > and the USB device that's registering above. > > - In a fit of woeful optimism I have configured ups.conf to connect to > hiddev0 but I get this error when I run upsdrvctl > hiddev path open /dev/usb/hid/hiddev0: No such device > Driver failed to start (exit status=1) > > I have been looking to this document > (http://www.vttoth.com/ER-OF800.htm) as well as attempting to follow the > nut FAQ: > > If anyone could please help me that would be much appreciated. > > Kind regards, > > John > > > > _______________________________________________ > Nut-upsuser mailing list > Nut-upsuser@lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
Hi, I've made progress of sorts. I was getting so many conflicts over gcc and g++, I decided to go for a clean install. I have compiled the driver without a hitch and connected the machine via USB and it has registered although it also adds that "USB Device 2 is not claimed by any active driver". I then run the following and get an error message: -------------------------- root@igor:/usr/local/ups/bin# ./bcmxcp_usb -DD -a pw5110 -u root Network UPS Tools - BCMXCP UPS driver 0.10 (2.0.3) debug level is '2' Can't reset POWERWARE USB endpoint Unable to find POWERWARE UPS device on USB bus Things to try: - Connect UPS device to USB bus - Run this driver as another user (upsdrvctl -u or 'user=...' in ups.conf). See upsdrvctl(8) and ups.conf(5). Fatal error: unusable configuration ---------------------------------- Thanks very much for all the help so far, I hope someone can help me out with this. Kind regards, John