[Nut-upsuser] Powerware 5115 USB Issue

Kjell Claesson kjell.claesson at epost.tidanet.se
Mon Sep 21 20:04:04 UTC 2009


> Hi,
> 
Hi Rich,

> I'm trying to get a Powerware 5115 to communicate with the NUT via USB
>  under Debian Linux and need help.
> 
> Here is the output that I see.
> 
> co-nh5:/tmp/mnt/projects/pwusb/nut-2.4.1# /usr/local/ups/bin/upsdrvctl -u
>  root start 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
> Communications with UPS lost: Receive error (Request command): COMMAND: 31
> 
> RECONNECT USB DEVICE

It looks like it is finding the ups, but can not communicate.

Try this. Start only the driver in debug mode.
/path/to/bcmxcp_usb -DD -a name -u root

Where 'name' is the tag you set in your ups.conf.

[pw5115]  <-------- this
	driver=bcmxcp_usb
	port=auto
	.....

It should spit out some info from the ups. If it does, you have a permission
error.

The rest of your info is OK. Should work. So maybe there is some
problem with the permission on the /dev/bus/usb/00x/00x that
the ups is connected to.

From my computer. As you see it is connected to bus 002 device 003.
Yours was at 002/004, as I can see.
lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 004: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle 
(HCI mode)
Bus 002 Device 003: ID 0592:0002 Powerware Corp. UPS (X-Slot)
Bus 002 Device 002: ID 03f0:0601 Hewlett-Packard ScanJet 6300c
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


ls -l /dev/bus/usb/002/003
crw-rw-r-- 1 root nut 189, 130 Sep 21 19:09 /dev/bus/usb/002/003

As I run it under the nut group.

/Kjell



More information about the Nut-upsuser mailing list