Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

apcupsd v.3.14.8 usb driver patch for apc cs

By: a guest on Feb 19th, 2011  |  syntax: None  |  size: 0.96 KB  |  views: 157  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. --- apcupsd-3.14.8/src/drivers/usb/usb.c        2010-01-10 17:29:00.000000000 +0200
  2. +++ apcupsd-3.14.8/src/drivers/usb/usb.c        2011-02-19 20:34:34.109519477 +0200
  3. @@ -65,7 +65,7 @@
  4.     {CI_VLINE,                   0x00840030, P_INPUT,   T_UNITS,    true },  /* Line Voltage */
  5.     {CI_VOUT,                    0x00840030, P_OUTPUT,  T_UNITS,    true },  /* Output Voltage */
  6.     {CI_VBATT,                   0x00840030, P_BATTERY, T_UNITS,    true },  /* Battery Voltage */
  7. -   {CI_VBATT,                   0x00840030, P_PWSUM,   T_UNITS,    true },  /* Battery Voltage (alternative) */
  8. +   //{CI_VBATT,                   0x00840030, P_PWSUM,   T_UNITS,    true },  /* Battery Voltage (alternative) */
  9.     {CI_NONE,                    0x00840031, P_ANY,     T_UNITS,    false},  /* Current */
  10.     {CI_FREQ,                    0x00840032, P_OUTPUT,  T_UNITS,    true },  /* Frequency */
  11.     {CI_NONE,                    0x00840033, P_ANY,     T_UNITS,    false},  /* ApparentPower */