Hi all, I've got a Powerware 5110 UPS that I'm trying to set up with nut in Ubuntu. I've installed nut and configured the first two files: $ cat /etc/nut/nut.conf MODE=standalone $ cat /etc/nut/ups.conf [pw5110] driver = bcmxcp_usb port = auto # port = /dev/bus/usb/002/002 When I try to test this configuration with the following command: $ sudo upsdrvctl start pw5110 Network UPS Tools - UPS driver controller 2.4.1 Network UPS Tools - BCMXCP UPS driver 0.21 (2.4.1) USB communication subdriver 0.17 Can't set POWERWARE USB configuration 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 Driver failed to start (exit status=1) I found which device was being created by the udev rules and the device /dev/bus/usb/002/002 does exist and the group is set to 'nut'. (You can see that I have tried specifying the port as this device, to no avail.) I'm obviously missing something, does anyone have any suggestions? Thanks, Greg
> Hi all,Hi Greg,> I've got a Powerware 5110 UPS that I'm trying to set up with nut in > Ubuntu. I've installed nut and configured the first two files: > > $ cat /etc/nut/nut.conf > MODE=standalone > $ cat /etc/nut/ups.conf > [pw5110] > driver = bcmxcp_usb > port = auto > # port = /dev/bus/usb/002/002Yes the port should be auto. And if you use the latest libusb you should have a device at /dev/bus/usb/002/002 that you have found.> When I try to test this configuration with the following command: > $ sudo upsdrvctl start pw5110 > Network UPS Tools - UPS driver controller 2.4.1 > Network UPS Tools - BCMXCP UPS driver 0.21 (2.4.1) > USB communication subdriver 0.17 > Can't set POWERWARE USB configuration > Unable to find POWERWARE UPS device on USB bus >To make a real test that it read the usb you can do the following. Set libusb debug to 3. sudo export LIBUSB_DEBUG=3 Then run the driver in debug (not by upsdrvctl). sudo /path/to/bcmxcp_usb -DD -u -a pw5110 Now it should spit out some info. You end it by ctrl-c. Report back and we can have a look. We may have a bug here, but it is not confirmed as our tests does not reveal it. /Kjell