Hi, I want the driver report the battery status from ABM charging controllers -patch attached- :
http://www.google.de/url?sa=t&rct=j&q=advanced+battery+management+floating&source=web&cd=1&ved=0CDMQxQEwAA&url=http%3A%2F%2Fdocs.google.com%2Fviewer%3Fa%3Dv%26q%3Dcache%3AH0Fy9-ZmujgJ%3Alit.powerware.com%2Fll_download.asp%253Ffile%253DABM_datasheet_rev_A_re_working.pdf%2Badvanced%2Bbattery%2Bmanagement%2Bfloating%26hl%3Dde%26gl%3Dde%26pid%3Dbl%26srcid%3DADGEESj_h5zp2cVwCOSCZP0BgmzG3jNOC9cq_54FStVvgWoYVD6lauUNAqYpMSoVxYMf3dcNF2_9x_ZGCPNGnnlm6OVZuvi8VzKvbVfwVdNISlcSrdzqaeS3b8I2WApj9E_Yh38CGIww%26sig%3DAHIEtbRE44qDSR4VtSuK7qOOLZSRVz7XYA&ei=ytUvT6XyBILKtAbJk4ndDA&usg=AFQjCNH0GuqrYphp6h9t1jtWcAu0LzGsBw battery.capacity.nominal: 17.00 battery.charge: 74.4 battery.runtime: 1620 battery.status.abm: RS (New) battery.voltage: 26.10* battery.voltage.maximum: 28.20 battery.voltage.minimum: 20.00 battery.voltage.nominal: 24.00 Since my ancient Compaq T1000h got it, response STBM should be widely implemented: http://webcache.googleusercontent.com/search?q=cache:Pt8WJTtgaW0J:old.networkupstools.org/protocols/eaton/UC2concept-1002889j.odt+upscode+II+pdf&cd=1&hl=de&ct=clnk&gl=de BTW, possible bug: Wether my new lead AGM batteries are broken (Cold weather storage damage in GLS logistics transport?) http://media.rotek.at/a000/000/007/000000007_V000000_HAB_HIG_00_RT_A_de.pdf *or the charge estimation calculator of the driver is broken: battery.capacity.nominal: 17.00 battery.charge: 93.9 battery.runtime: 1620 battery.status.abm: FT battery.voltage: 27.70 battery.voltage.maximum: 28.20 battery.voltage.minimum: 20.00 battery.voltage.nominal: 24.00 device.mfr: Compaq device.model: UPS 1000 VA FW -0026 device.serial: E00230050 My UPS does not support UPBS cmd, but its responses are not very useful anyway. y tom
--- nut-2.6.2/drivers/upscode2.c 2011-09-15 13:30:45.000000000 +0200 +++ nut-2.6.2/drivers/upscode2.c 2012-02-05 18:14:42.000000000 +0100 @@ -32,7 +32,7 @@ * Powerware 9305 * * Also tested against - * Compaq T1500h (Per J?nsson <[email protected]>) + * Compaq T1000h/T1500h (T.Schorpp, <[email protected]>, Per J?nsson <[email protected]>) * Powerware 9120 (Gorm J. Siiger <[email protected]>) * Fiskars PowerServer 10 (Per Larsson <[email protected]>) */ @@ -45,7 +45,7 @@ #include <math.h> #define DRIVER_NAME "UPScode II UPS driver" -#define DRIVER_VERSION "0.87" +#define DRIVER_VERSION "0.88" /* driver description structure */ upsdrv_info_t upsdrv_info = { @@ -54,7 +54,7 @@ "H K Lygre, <[email protected]>\n" \ "Niels Baggesen <[email protected]>\n" \ "Niklas Edmundsson <[email protected]>", - DRV_EXPERIMENTAL, + DRV_BETA, { NULL } }; @@ -262,7 +262,7 @@ { "STAT", t_list, NULL, 0, 0, att }, { "STBO", t_status, NULL, UPSC_STAT_ONBATT }, { "STBL", t_status, NULL, UPSC_STAT_LOBATT }, - { "STBM", t_ignore }, + { "STBM", t_string, "battery.status.abm" }, { "STBP", t_status, NULL, UPSC_STAT_BYPASS }, { "STEA", t_list, NULL, 0, 0, env }, { "STEM", t_list, NULL, 0, 0, env },
_______________________________________________ Nut-upsdev mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev
