search for: 6bd00b6

Displaying 2 results from an estimated 2 matches for "6bd00b6".

2018 Feb 04
0
[PATCH 3/3] OpenUPS: fix current calculations
...and refer that back to the input terminals, remembering to sum the current draw from the LTC3780. --- drivers/openups-hid.c | 100 ++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 73 insertions(+), 27 deletions(-) diff --git a/drivers/openups-hid.c b/drivers/openups-hid.c index 6bd00b6..30e9f26 100644 --- a/drivers/openups-hid.c +++ b/drivers/openups-hid.c @@ -42,6 +42,8 @@ static double vin_scale = 1; static double vout_scale= 1; static double ccharge_scale = 1; static double cdischarge_scale = 1; +static double v_in, v_bat, v_out, i_ltc; +static int on_input; static char...
2018 Feb 04
5
[PATCH 0/3] OpenUPS updates
Hi, I've been checking out NUT with an OpenUPS board over the last couple of weekends, and have noticed that it doesn't seem to report sensible values. This lead me to investigate usbhid-ups and delve into various issues. As mentioned in a github issue, one of the problems is with the report descriptor - dumping this from the usbhid-ups debug output and picking through it reveals that