[Nut-upsuser] bcmxcp_usb and powerware 5115

Nick 'TARANTUL' Novikov tarantul at gmail.com
Tue Jun 26 10:14:01 UTC 2007


Hello, ppl!
I try configure NUT for communicate with my Powerware 5115 UPS.

As root I run '/lib/nut/bcmxcp_usb -DDDD -u root -a ups', but driver
can't connect to my UPS.
Some output:
Network UPS Tools - BCMXCP UPS driver 0.10 (2.0.4)

debug level is '4'
usb_set_debug: Setting debugging level to 3 (on)
usb_os_init: Found USB VFS at /dev/bus/usb
usb_os_find_busses: Found 001
usb_os_find_devices: Found 002 on 001
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

In strace output:
open("/dev/bus/usb/001/002", O_RDWR)    = 4
ioctl(4, USBDEVFS_IOCTL, 0xbfeace90)    = -1 ENOTTY (Inappropriate
ioctl for device)
write(2, "error obtaining child informatio"..., 66) = 66
close(4)                                = 0
open("/dev/bus/usb/001/001", O_RDWR)    = 4
ioctl(4, USBDEVFS_IOCTL, 0xbfeace90)    = 3
close(4)                                = 0
open("/dev/bus/usb/001/002", O_RDWR)    = 4
ioctl(4, USBDEVFS_SETCONFIGURATION, 0xbfeacf04) = 0
ioctl(4, USBDEVFS_CLAIMINTERFACE, 0xbfeacf04) = 0
ioctl(4, USBDEVFS_SETINTERFACE, 0xbfeacee4) = 0
ioctl(4, USBDEVFS_CLEAR_HALT, 0xbfeacf04) = 0
ioctl(4, USBDEVFS_CONTROL, 0xbfeacd1c)  = 4
gettimeofday({1182852538, 470001}, NULL) = 0
ioctl(4, USBDEVFS_SUBMITURB, 0xbfeac904) = 0
ioctl(4, USBDEVFS_REAPURBNDELAY, 0xbfeac948) = -1 EAGAIN (Resource
temporarily unavailable)
select(5, NULL, [4], NULL, {0, 1000})   = 0 (Timeout)
gettimeofday({1182852538, 473585}, NULL) = 0
ioctl(4, USBDEVFS_REAPURBNDELAY, 0xbfeac948) = -1 EAGAIN (Resource
temporarily unavailable)
select(5, NULL, [4], NULL, {0, 1000})   = 0 (Timeout)
gettimeofday({1182852538, 477605}, NULL) = 0
ioctl(4, USBDEVFS_REAPURBNDELAY, 0xbfeac948) = -1 EAGAIN (Resource
temporarily unavailable)
select(5, NULL, [4], NULL, {0, 1000})   = 0 (Timeout)
gettimeofday({1182852538, 481578}, NULL) = 0

Output of 'lsusb -v':
Bus 001 Device 002: ID 06da:0002 Phoenixtec Power Co., Ltd
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x06da Phoenixtec Power Co., Ltd
  idProduct          0x0002
  bcdDevice            1.20
  iManufacturer           4
  iProduct               24
  iSerial                 0
  bNumConfigurations      1

Can you help me ?

-- 
tarantul



More information about the Nut-upsuser mailing list