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
Den Tuesday 26 June 2007 12.14.01 skrev Nick 'TARANTUL' Novikov:> Hello, ppl!Hi Nick.> 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) >Can you support us with some more info about your system. Like - distibution, kernel, version of libusb, And also the ups.conf file.> 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 >The last line indicate that it is communicating, but gets an error. Do you have any problems with other usb devices? Regards Kjell
Nick 'TARANTUL' Novikov
2007-Jun-27 07:24 UTC
[Nut-upsuser] Fwd: bcmxcp_usb and powerware 5115
2007/6/26, Kjell Claesson <kjell.claesson at epost.tidanet.se>:> Can you support us with some more info about your system. > Like - distibution, kernel, version of libusb,Debian 4.0 Etch (stable) linux-image-2.6.18-4-686 2.6.18.dfsg.1-12etch2 nut 2.0.4-4 libusb-0.1-4 0.1.12-5> > 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 > > > > The last line indicate that it is communicating, but gets an error. Do you > have any problems with other usb devices?I try connect UPS to another host later. -- tarantul