search for: openups_vbat_info

Displaying 3 results from an estimated 3 matches for "openups_vbat_info".

2018 Feb 04
0
[PATCH 3/3] OpenUPS: fix current calculations
...tic const char *openups_scale_output_current_fun(double value); static const char *openups_temperature_fun(double value); static info_lkp_t openups_charging_info[] = { @@ -162,16 +164,16 @@ static info_lkp_t openups_vout_info[] = { {0, NULL, openups_scale_vout_fun} }; -/* static info_lkp_t openups_vbat_info[] = { +static info_lkp_t openups_vbat_info[] = { {0, NULL, openups_scale_vbat_fun} -};*/ +}; -static info_lkp_t openups_ccharge_info[] = { - {0, NULL, openups_scale_ccharge_fun} +static info_lkp_t openups_input_current_info[] = { + {0, NULL, openups_scale_input_current_fun} }; -static info_l...
2012 Nov 20
2
[PATCH][RFC] OpenUPS driver
...NULL, openups_nobattery_fun} +}; + +static info_lkp_t openups_off_info[] = { + {0, NULL, openups_off_fun} +}; + +static info_lkp_t openups_vin_info[] = { + {0, NULL, openups_scale_vin_fun} +}; + +static info_lkp_t openups_vout_info[] = { + {0, NULL, openups_scale_vout_fun} +}; + +static info_lkp_t openups_vbat_info[] = { + {0, NULL, openups_scale_vbat_fun} +}; + +static info_lkp_t openups_ccharge_info[] = { + {0, NULL, openups_scale_ccharge_fun} +}; + +static info_lkp_t openups_cdischarge_info[] = { + {0, NULL, openups_scale_cdischarge_fun} +}; + +static info_lkp_t openups_temperature_info[] = { + {0, NULL, o...
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