[Nut-upsuser] Powerware 5115 USB Issue

Joao S Veiga
Mon, 12 Oct 2009 19:48:23 -0000

Hello, any news about this? I have the same ups and the same symptoms:

Debian Stable (lenny)
Linux 2.6.26-2-686-bigmem
Powerware 5115, USB connection
tried with nut 2.2.2-6.4 (from lenny) and 2.4.1-3 (from squeeze)

yankee:~# /lib/nut/bcmxcp_usb -DDD -a ups -u root
Network UPS Tools - BCMXCP UPS driver 0.21 (2.4.1)
USB communication subdriver 0.17
debug level is '3'
Communications with UPS lost: Receive error (Request command): COMMAND: 31
RECONNECT USB DEVICE
Communications with UPS lost: Receive error (Request command): COMMAND: 31
RECONNECT USB DEVICE
Communications with UPS lost: Receive error (Request command): COMMAND: 31
RECONNECT USB DEVICE
Communications with UPS lost: Receive error (Request command): COMMAND: 31
RECONNECT USB DEVICE
Communications with UPS lost: Receive error (Request command): COMMAND: 31
RECONNECT USB DEVICE
Communications with UPS lost: Error executing command
Could not communicate with the ups: Inappropriate ioctl for device
CLOSING

yankee:~# ps axf | grep bcmxcp
27210 pts/0    S+     0:00                      \_ grep bcmxcp

yankee:~# lsusb | grep UPS
Bus 002 Device 003: ID 06da:0002 Phoenixtec Power Co., Ltd UPS

yankee:~# ls -l /dev/bus/usb/002/003
crw-rw-r-- 1 root nut 189, 130 Oct 12 16:40 /dev/bus/usb/002/003

yankee:~# cat /etc/nut/ups.conf
[ups]
   driver = bcmxcp_usb
   port = auto

yankee:~# export USB_DEBUG=3
yankee:~# /lib/nut/bcmxcp_usb -DDD -a ups -u root
Network UPS Tools - BCMXCP UPS driver 0.21 (2.4.1)
USB communication subdriver 0.17
debug level is '3'
usb_set_debug: Setting debugging level to 3 (on)
usb_os_init: Found USB VFS at /dev/bus/usb
usb_os_find_busses: Found 004
usb_os_find_busses: Found 003
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_devices: Found 005 on 004
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 005 on 002
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 004 on 002
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 003 on 002
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 002 on 002
usb_os_find_devices: Found 001 on 002
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 003 on 001
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
Communications with UPS lost: Receive error (Request command): COMMAND: 31

RECONNECT USB DEVICE

(repeats n times)

Thanks,

Joao S Veiga