[Nut-upsuser] Nut and PowerWare 5115

Greg greg_roll at hotmail.com
Thu May 28 12:32:23 UTC 2009


Hi Arnaud,


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


Hi Greg,


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

  Hi Arnaud,

  Any luck with the latest subversion trunk?

sorry for the lag... too many things, not enough time.

I'm preparing a version with some more debug info, but I'm still puzzled with your issue.
in the meantime, can you retry the debug test on your 9.04, ie

export USB_DEBUG=3 && /lib/nut/bcmxcp_usb -u root -DDDDD -a PowerWare

if you end up with "Can't set POWERWARE USB configuration", then we should have an msg from libusb like "could not set config..." with the exact errno...

I'll then ping you for the updated driver.

Running the above on both 8.10 and 9.04 gives the following output. The command prompt is not returned. bcmxcp_usb keeps running
-------------------------------------------------
root at Ubuntu9:~# export USB_DEBUG=3 && /lib/nut/bcmxcp_usb -u root -DDDD -a PowerWare

Network UPS Tools - BCMXCP UPS driver 0.21 (2.4.1)

USB communication subdriver 0.17

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

usb_os_find_devices: Found 001 on 001

usb_os_find_devices: Found 004 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

Length of meter map: 81

Index Offset Format NUT

0021 0000 f0 None

0023 0004 f0 ups.power

0027 0008 52 output.frequency

0028 0012 52 input.frequency

0033 0016 52 battery.voltage

0034 0020 f0 battery.charge

0035 0024 e2 battery.runtime

0056 0028 f0 input.voltage

0059 0032 f0 None

0062 0036 f0 ambient.temperature

0065 0040 41 output.current

0068 0044 41 output.current.nominal

0071 0048 f0 None

0078 0052 f0 output.voltage

 

Length of alarm map: 27

Index Alarm Supported

-001 INVERTER_AC_OVER_VOLTAGE No

-001 INVERTER_AC_UNDER_VOLTAGE No

-001 INVERTER_OVER_OR_UNDER_FREQ No

-001 BYPASS_AC_OVER_VOLTAGE No

-001 BYPASS_AC_UNDER_VOLTAGE No

-001 BYPASS_OVER_OR_UNDER_FREQ No

0000 INPUT_AC_OVER_VOLTAGE Yes

0001 INPUT_AC_UNDER_VOLTAGE Yes

0002 INPUT_UNDER_OR_OVER_FREQ Yes

-001 OUTPUT_OVER_VOLTAGE No

-001 OUTPUT_UNDER_VOLTAGE No

-001 OUTPUT_UNDER_OR_OVER_FREQ No

-001 REMOTE_EMERGENCY_PWR_OFF No

-001 REMOTE_GO_TO_BYPASS No

-001 BUILDING_ALARM_6 No

-001 BUILDING_ALARM_5 No

-001 BUILDING_ALARM_4 No

-001 BUILDING_ALARM_3 No

-001 BUILDING_ALARM_2 No

-001 BUILDING_ALARM_1 No

-001 STATIC_SWITCH_OVER_TEMP No

-001 CHARGER_OVER_TEMP No

-001 CHARGER_LOGIC_PWR_FAIL No

-001 CHARGER_OVER_VOLTAGE_OR_CURRENT No

-001 INVERTER_OVER_TEMP No

0003 OUTPUT_OVERLOAD Yes

-001 RECTIFIER_INPUT_OVER_CURRENT No

-001 INVERTER_OUTPUT_OVER_CURRENT No

-001 DC_LINK_OVER_VOLTAGE No

-001 DC_LINK_UNDER_VOLTAGE No

-001 RECTIFIER_FAILED No

0004 INVERTER_FAULT Yes

-001 BATTERY_CONNECTOR_FAIL No

-001 BYPASS_BREAKER_FAIL No

0005 CHARGER_FAIL Yes

-001 RAMP_UP_FAILED No

-001 STATIC_SWITCH_FAILED No

-001 ANALOG_AD_REF_FAIL No

-001 BYPASS_UNCALIBRATED No

-001 RECTIFIER_UNCALIBRATED No

-001 OUTPUT_UNCALIBRATED No

-001 INVERTER_UNCALIBRATED No

-001 DC_VOLT_UNCALIBRATED No

-001 OUTPUT_CURRENT_UNCALIBRATED No

-001 RECTIFIER_CURRENT_UNCALIBRATED No

-001 BATTERY_CURRENT_UNCALIBRATED No

-001 INVERTER_ON_OFF_STAT_FAIL No

-001 BATTERY_CURRENT_LIMIT No

-001 INVERTER_STARTUP_FAIL No

-001 ANALOG_BOARD_AD_STAT_FAIL No

-001 OUTPUT_CURRENT_OVER_100 No

-001 BATTERY_GROUND_FAULT No

-001 WAITING_FOR_CHARGER_SYNC No

-001 NV_RAM_FAIL No

-001 ANALOG_BOARD_AD_TIMEOUT No

0006 SHUTDOWN_IMMINENT Yes

0007 BATTERY_LOW Yes

0008 UTILITY_FAIL Yes

-001 OUTPUT_SHORT_CIRCUIT No

0009 UTILITY_NOT_PRESENT Yes

-001 FULL_TIME_CHARGING No

-001 FAST_BYPASS_COMMAND No

-001 AD_ERROR No

-001 INTERNAL_COM_FAIL No

-001 RECTIFIER_SELFTEST_FAIL No

-001 RECTIFIER_EEPROM_FAIL No

-001 RECTIFIER_EPROM_FAIL No

-001 INPUT_LINE_VOLTAGE_LOSS No

-001 BATTERY_DC_OVER_VOLTAGE No

-001 POWER_SUPPLY_OVER_TEMP No

-001 POWER_SUPPLY_FAIL No

-001 POWER_SUPPLY_5V_FAIL No

-001 POWER_SUPPLY_12V_FAIL No

-001 HEATSINK_OVER_TEMP No

-001 HEATSINK_TEMP_SENSOR_FAIL No

-001 RECTIFIER_CURRENT_OVER_125 No

-001 RECTIFIER_FAULT_INTERRUPT_FAIL No

-001 RECTIFIER_POWER_CAPASITOR_FAIL No

-001 INVERTER_PROGRAM_STACK_ERROR No

-001 INVERTER_BOARD_SELFTEST_FAIL No

-001 INVERTER_AD_SELFTEST_FAIL No

-001 INVERTER_RAM_SELFTEST_FAIL No

-001 NV_MEMORY_CHECKSUM_FAIL No

-001 PROGRAM_CHECKSUM_FAIL No

-001 INVERTER_CPU_SELFTEST_FAIL No

-001 NETWORK_NOT_RESPONDING No

-001 FRONT_PANEL_SELFTEST_FAIL No

-001 NODE_EEPROM_VERIFICATION_ERROR No

-001 OUTPUT_AC_OVER_VOLT_TEST_FAIL No

-001 OUTPUT_DC_OVER_VOLTAGE No

-001 INPUT_PHASE_ROTATION_ERROR No

-001 INVERTER_RAMP_UP_TEST_FAILED No

-001 INVERTER_OFF_COMMAND No

-001 INVERTER_ON_COMMAND No

-001 TO_BYPASS_COMMAND No

-001 FROM_BYPASS_COMMAND No

-001 AUTO_MODE_COMMAND No

-001 EMERGENCY_SHUTDOWN_COMMAND No

-001 SETUP_SWITCH_OPEN No

-001 INVERTER_OVER_VOLT_INT No

-001 INVERTER_UNDER_VOLT_INT No

-001 ABSOLUTE_DCOV_ACOV No

-001 PHASE_A_CURRENT_LIMIT No

-001 PHASE_B_CURRENT_LIMIT No

-001 PHASE_C_CURRENT_LIMIT No

-001 BYPASS_NOT_AVAILABLE No

-001 RECTIFIER_BREAKER_OPEN No

-001 BATTERY_CONTACTOR_OPEN No

-001 INVERTER_CONTACTOR_OPEN No

-001 BYPASS_BREAKER_OPEN No

-001 INV_BOARD_ACOV_INT_TEST_FAIL No

-001 INVERTER_OVER_TEMP_TRIP No

-001 INV_BOARD_ACUV_INT_TEST_FAIL No

-001 INVERTER_VOLTAGE_FEEDBACK_ERROR No

-001 DC_UNDER_VOLTAGE_TIMEOUT No

-001 AC_UNDER_VOLTAGE_TIMEOUT No

-001 DC_UNDER_VOLTAGE_WHILE_CHARGE No

-001 INVERTER_VOLTAGE_BIAS_ERROR No

-001 RECTIFIER_PHASE_ROTATION No

-001 BYPASS_PHASER_ROTATION No

-001 SYSTEM_INTERFACE_BOARD_FAIL No

-001 PARALLEL_BOARD_FAIL No

-001 LOST_LOAD_SHARING_PHASE_A No

-001 LOST_LOAD_SHARING_PHASE_B No

-001 LOST_LOAD_SHARING_PHASE_C No

-001 DC_OVER_VOLTAGE_TIMEOUT No

0010 BATTERY_TOTALLY_DISCHARGED Yes

-001 INVERTER_PHASE_BIAS_ERROR No

-001 INVERTER_VOLTAGE_BIAS_ERROR_2 No

-001 DC_LINK_BLEED_COMPLETE No

-001 LARGE_CHARGER_INPUT_CURRENT No

-001 INV_VOLT_TOO_LOW_FOR_RAMP_LEVEL No

-001 LOSS_OF_REDUNDANCY No

-001 LOSS_OF_SYNC_BUS No

-001 RECTIFIER_BREAKER_SHUNT_TRIP No

-001 LOSS_OF_CHARGER_SYNC No

-001 INVERTER_LOW_LEVEL_TEST_TIMEOUT No

-001 OUTPUT_BREAKER_OPEN No

-001 CONTROL_POWER_ON No

-001 INVERTER_ON No

-001 CHARGER_ON No

-001 BYPASS_ON No

-001 BYPASS_POWER_LOSS No

-001 ON_MANUAL_BYPASS No

-001 BYPASS_MANUAL_TURN_OFF No

-001 INVERTER_BLEEDING_DC_LINK_VOLT No

-001 CPU_ISR_ERROR No

-001 SYSTEM_ISR_RESTART No

-001 PARALLEL_DC No

-001 BATTERY_NEEDS_SERVICE No

-001 BATTERY_CHARGING No

-001 BATTERY_NOT_CHARGED No

-001 DISABLED_BATTERY_TIME No

-001 SERIES_7000_ENABLE No

-001 OTHER_UPS_ON No

-001 PARALLEL_INVERTER No

-001 UPS_IN_PARALLEL No

-001 OUTPUT_BREAKER_REALY_FAIL No

-001 CONTROL_POWER_OFF No

-001 LEVEL_2_OVERLOAD_PHASE_A No

-001 LEVEL_2_OVERLOAD_PHASE_B No

-001 LEVEL_2_OVERLOAD_PHASE_C No

-001 LEVEL_3_OVERLOAD_PHASE_A No

-001 LEVEL_3_OVERLOAD_PHASE_B No

-001 LEVEL_3_OVERLOAD_PHASE_C No

-001 LEVEL_4_OVERLOAD_PHASE_A No

-001 LEVEL_4_OVERLOAD_PHASE_B No

-001 LEVEL_4_OVERLOAD_PHASE_C No

0011 UPS_ON_BATTERY Yes

-001 UPS_ON_BYPASS No

0012 LOAD_DUMPED Yes

-001 LOAD_ON_INVERTER No

-001 UPS_ON_COMMAND No

-001 UPS_OFF_COMMAND No

-001 LOW_BATTERY_SHUTDOWN No

-001 AUTO_ON_ENABLED No

-001 SOFTWARE_INCOMPABILITY_DETECTED No

-001 INVERTER_TEMP_SENSOR_FAILED No

-001 DC_START_OCCURED No

-001 IN_PARALLEL_OPERATION No

-001 SYNCING_TO_BYPASS No

-001 RAMPING_UPS_UP No

-001 INVERTER_ON_DELAY No

-001 CHARGER_ON_DELAY No

-001 WAITING_FOR_UTIL_INPUT No

-001 CLOSE_BYPASS_BREAKER No

-001 TEMPORARY_BYPASS_OPERATION No

-001 SYNCING_TO_OUTPUT No

-001 BYPASS_FAILURE No

-001 AUTO_OFF_COMMAND_EXECUTED No

-001 AUTO_ON_COMMAND_EXECUTED No

0013 BATTERY_TEST_FAILED Yes

-001 FUSE_FAIL No

0014 FAN_FAIL Yes

0015 SITE_WIRING_FAULT Yes

-001 BACKFEED_CONTACTOR_FAIL No

-001 ON_BUCK No

-001 ON_BOOST No

-001 ON_DOUBLE_BOOST No

-001 BATTERIES_DISCONNECTED No

-001 UPS_CABINET_OVER_TEMP No

-001 TRANSFORMER_OVER_TEMP No

-001 AMBIENT_UNDER_TEMP No

0016 AMBIENT_OVER_TEMP Yes

-001 CABINET_DOOR_OPEN No

-001 CABINET_DOOR_OPEN_VOLT_PRESENT No

-001 AUTO_SHUTDOWN_PENDING No

-001 TAP_SWITCHING_REALY_PENDING No

-001 UNABLE_TO_CHARGE_BATTERIES No

-001 STARTUP_FAILURE_CHECK_EPO No

-001 AUTOMATIC_STARTUP_PENDING No

-001 MODEM_FAILED No

-001 INCOMING_MODEM_CALL_STARTED No

-001 OUTGOING_MODEM_CALL_STARTED No

-001 MODEM_CONNECTION_ESTABLISHED No

-001 MODEM_CALL_COMPLETED_SUCCESS No

 

Lengt of Config_block: 80

Length of statistics map: 0

Lengt of command list: 24

Lengt of outlet_block: 0

Lengt of alarm_block: 17

dstate_init: sock /var/run/nut/bcmxcp_usb-PowerWare open on fd 5

 

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


 

  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



cheers,
Arnaud
-- 
Linux / Unix Expert R&D - Eaton - http://www.eaton.com/mgeops
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://www.debian.org
Free Software Developer - http://arnaud.quette.free.fr/




__________ Information from ESET Smart Security, version of virus signature database 4109 (20090527) __________

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/20090528/9b3269c0/attachment-0001.htm>


More information about the Nut-upsuser mailing list