[Nut-upsuser] Powerware Prestige 1000VA

Kjell Claesson kjell.claesson at epost.tidanet.se
Sat May 19 21:24:43 UTC 2007


OK Steve,

I spotted the bug. 

You don't have the Battery_low alarm.
This trigger a bug in the driver. During some cleanup of the
code, the numbers was changed to unsigned int. That was not so smart
for this. -1 indicate not present alarm. But -1 is more than 0 if
it is read as unsigned so it trigger to set the alarm flag.  

-001    SHUTDOWN_IMMINENT    No
-001	BATTERY_LOW	No
0012	UTILITY_FAIL	Yes
-001	OUTPUT_SHORT_CIRCUIT	No

Try this. Change the unsigned int to int in bcmxcp.h
----------------------------------------------------
typedef	struct { /* Entry in BCM/XCP - UPS mapping table */
	unsigned int alarm_block_index;		/* Index of this alarm in alarm block. -1 = not existing */
	char *alarm_desc;			/* Description of this alarm */
}	BCMXCP_ALARM_MAP_ENTRY_t;
--------------------------------------------------------

And see if it make any difference.

About the build of svn. I think it should run OK on debian.
 
Regards
Kjell

lör 2007-05-19 klockan 19:25 +0100 skrev nut at deltabbs.org:
> Hi, Kjell,
> 
> Kjell Claesson wrote:
> > Can you upgrade to 2.0.5, or any better if you can use the svn trunk. 
> 
> Thanks very much for your pointer. I'm currently trying to compile but
> it appears to be broken on my Debian (stable) system.
> 
> The issue here is that the configure script appears to assume that both
> libgd and libXpm will be in the same place, but here libgd is indeed in
> /usr/lib, but libXpm is in /usr/X11R6/lib. I know how to fix that in a
> plain makefile (adding -L/usr/X11R6/lib just before -lXpm) but I'm not
> very good on autoconf stuff.
> 
> Anyway, here's the list of alarms you asked about:
> 
> ommunications with UPS re-established
> Shutdown delay =  120 seconds
> Index	Offset	Format	NUT
> 
> 0015	0000	61	None
> 0021	0004	61	None
> 0023	0008	61	None
> 0027	0012	61	output.frequency
> 0028	0016	61	input.frequency
> 0029	0020	61	None
> 0033	0024	61	battery.voltage
> 0034	0028	f0	battery.charge
> 0035	0032	f0	battery.runtime
> 0036	0036	f0	None
> 0056	0040	61	input.voltage
> 0059	0044	61	None
> 0062	0048	61	ambient.temperature
> 0071	0052	61	None
> 0074	0056	61	None
> 0075	0060	61	None
> 
> 
> Length of alarm map: 25
> 
> Index	Alarm	Supported
> 
> 0000	INVERTER_AC_OVER_VOLTAGE	Yes
> 0001	INVERTER_AC_UNDER_VOLTAGE	Yes
> -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
> 0002	INPUT_AC_OVER_VOLTAGE	Yes
> 0003	INPUT_AC_UNDER_VOLTAGE	Yes
> -001	INPUT_UNDER_OR_OVER_FREQ	No
> -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
> 0004	INVERTER_OVER_TEMP	Yes
> 0005	OUTPUT_OVERLOAD	Yes
> 0006	RECTIFIER_INPUT_OVER_CURRENT	Yes
> -001	INVERTER_OUTPUT_OVER_CURRENT	No
> 0007	DC_LINK_OVER_VOLTAGE	Yes
> 0008	DC_LINK_UNDER_VOLTAGE	Yes
> -001	RECTIFIER_FAILED	No
> -001	INVERTER_FAULT	No
> -001	BATTERY_CONNECTOR_FAIL	No
> -001	BYPASS_BREAKER_FAIL	No
> 0009	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
> 0010	INVERTER_STARTUP_FAIL	Yes
> -001	ANALOG_BOARD_AD_STAT_FAIL	No
> 0011	OUTPUT_CURRENT_OVER_100	Yes
> -001	BATTERY_GROUND_FAULT	No
> -001	WAITING_FOR_CHARGER_SYNC	No
> -001	NV_RAM_FAIL	No
> -001	ANALOG_BOARD_AD_TIMEOUT	No
> -001	SHUTDOWN_IMMINENT	No
> -001	BATTERY_LOW	No
> 0012	UTILITY_FAIL	Yes
> -001	OUTPUT_SHORT_CIRCUIT	No
> -001	UTILITY_NOT_PRESENT	No
> -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
> 0013	INPUT_PHASE_ROTATION_ERROR	Yes
> -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
> 0014	BYPASS_NOT_AVAILABLE	Yes
> -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
> 0015	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
> 0016	UPS_ON_BATTERY	Yes
> 0017	UPS_ON_BYPASS	Yes
> -001	LOAD_DUMPED	No
> -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
> -001	BATTERY_TEST_FAILED	No
> 0018	FUSE_FAIL	Yes
> -001	FAN_FAIL	No
> -001	SITE_WIRING_FAULT	No
> -001	BACKFEED_CONTACTOR_FAIL	No
> -001	ON_BUCK	No
> -001	ON_BOOST	No
> -001	ON_DOUBLE_BOOST	No
> -001	BATTERIES_DISCONNECTED	No
> 
> 
> -Steve
> 




More information about the Nut-upsuser mailing list