[Nut-upsuser] Nut and PowerWare 5115

Greg greg_roll at hotmail.com
Thu May 21 12:39:59 UTC 2009


Hi Arnaud,

Any luck with the latest subversion trunk?


From: Greg 
Sent: Wednesday, May 13, 2009 10:34 PM
To: Greg ; Arnaud Quette 
Cc: Kjell Claesson ; nut-upsuser at lists.alioth.debian.org 
Subject: Re: [Nut-upsuser] Nut and PowerWare 5115


Hi Arnaud,

Some more testing on Ubuntu 9.04.

Here is the output of bcmxcp_usb and lsusb

============================================
root at Ubuntu9:/lib/nut# ./bcmxcp_usb -a PowerWare -u root

Network UPS Tools - BCMXCP UPS driver 0.21 (2.4.1)

USB communication subdriver 0.17

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_busses: Found 002

usb_os_find_devices: Found 001 on 001

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

root at Ubuntu9:/lib/nut# lsusb

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_busses: Found 002

usb_os_find_devices: Found 001 on 001

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

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 002 Device 003: ID 06da:0002 Phoenixtec Power Co., Ltd UPS

Bus 002 Device 002: ID 0e0f:0002 

Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

===========================================



From: Greg 
Sent: Thursday, May 07, 2009 9:22 PM
To: Arnaud Quette 
Cc: Kjell Claesson ; nut-upsuser at lists.alioth.debian.org 
Subject: Re: [Nut-upsuser] Nut and PowerWare 5115


Hi Arnaud,


From: Arnaud Quette 
Sent: Thursday, May 07, 2009 6:50 AM
To: Greg 
Cc: Kjell Claesson ; nut-upsuser at lists.alioth.debian.org 
Subject: Re: [Nut-upsuser] Nut and PowerWare 5115


Hi Greg,


2009/5/4 Greg <greg_roll at hotmail.com>

  Hi guys,

  I installed Nut 2.4.1_4 on Ubuntu 9.04 and I have similar issues. If I run upsdrvctl start I get


2.4.1-2ubuntu4 you mean (the one that is available in the distro)?
have you tried to unplug and plug back the USB cord of the UPS? otherwise, try this and relaunch upsdrvctl or bcmxcp_usb

Sorry yes I installed the package from the distro. I have unplugged and plugged back in the UPS but get the same issue.

I am creating a new install of Ubuntu 9.04 and will test again. 


  ==============================

  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
  CLOSING

  ==============================

  I am unable to run /lib/nut/bcmxcp_usb -a PowerWare -u root as none of the files in /lib/nut appear as executable.

  Any thoughts?


I've just checked again, and all the files in /lib/nut are executable in a fresh jaunty install.
otherwise, you wouldn't have been able to run the driver nor get the above output!
so I found this strange, you should check again... it's probably the devices privileges mentioned above.
and this one is possibly due to a bug in the package.


we seem to face a completely different issue here than the one on the QNAP.
I'd first like to be sure that you're unit is working (or not) in jaunty before getting back to the QNAP.

I've just checked the code (which has been revamped), and the specific part seem similar (can't be 100% sure though). now, I'll have to add some more trace to get more visibility.
I'll probably ping you tomorrow to test the latest subversion trunk. ok with that method?

Yes that will be fine. I will be away from home the next 3 days but I will test when I return.

Thanks again for your help.


Arnaud




__________ Information from ESET Smart Security, version of virus signature database 4063 (20090508) __________

The message was checked by ESET Smart Security.

http://www.eset.com



--------------------------------------------------------------------------------


_______________________________________________
Nut-upsuser mailing list
Nut-upsuser at lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


__________ Information from ESET Smart Security, version of virus signature database 4063 (20090508) __________

The message was checked by ESET Smart Security.

http://www.eset.com



__________ Information from ESET Smart Security, version of virus signature database 4070 (20090513) __________

The message was checked by ESET Smart Security.

http://www.eset.com


__________ Information from ESET Smart Security, version of virus signature database 4093 (20090521) __________

The message was checked by ESET Smart Security.

http://www.eset.com



__________ Information from ESET Smart Security, version of virus signature database 4093 (20090521) __________

The message was checked by ESET Smart Security.

http://www.eset.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20090521/e3f1f0c3/attachment.htm>


More information about the Nut-upsuser mailing list