Hi!
I'm user APC CS500 too. I tried to use 3.14.7 version of apcupsd. This version works fine, so i tried to see difference between two versions (3.14.7 and 3.14.8). After experiments, i have made sure the driver is not functioning correctly(apcupsd-3.14.8/src/drivers/usb/usb.c) and i compared the two versions of the driver. Experimenting with a partial return to the previous driver (commenting on new lines in last driver), gave me stable work apcupsd with my UPS APC CS500. In version 3.14.8(-2) apcupsd we must commented 68 line in driver file "apcupsd-3.14.8/src/drivers/usb/usb.c", it must be like there:

line 67| {CI_VBATT, 0x00840030, P_BATTERY, T_UNITS, true }, /* Battery Voltage */ line 68| //{CI_VBATT, 0x00840030, P_PWSUM, T_UNITS, true }, /* Battery Voltage (alternative) */ line 69| {CI_NONE, 0x00840031, P_ANY, T_UNITS, false}, /* Current */

Patch file (can be downloaded _http://pastebin.com/fgKhqjsC ):
--- apcupsd-3.14.8/src/drivers/usb/usb.c 2010-01-10 17:29:00.000000000 +0200 +++ apcupsd-3.14.8/src/drivers/usb/usb.c 2011-02-19 20:34:34.109519477 +0200
@@ -65,7 +65,7 @@
{CI_VLINE, 0x00840030, P_INPUT, T_UNITS, true }, /* Line Voltage */ {CI_VOUT, 0x00840030, P_OUTPUT, T_UNITS, true }, /* Output Voltage */ {CI_VBATT, 0x00840030, P_BATTERY, T_UNITS, true }, /* Battery Voltage */ - {CI_VBATT, 0x00840030, P_PWSUM, T_UNITS, true }, /* Battery Voltage (alternative) */ + //{CI_VBATT, 0x00840030, P_PWSUM, T_UNITS, true }, /* Battery Voltage (alternative) */ {CI_NONE, 0x00840031, P_ANY, T_UNITS, false}, /* Current */ {CI_FREQ, 0x00840032, P_OUTPUT, T_UNITS, true }, /* Frequency */ {CI_NONE, 0x00840033, P_ANY, T_UNITS, false}, /* ApparentPower */


--
Best regards, Sergiy!




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to