From 57906c86b4f458576138acdefec6bc2b78eb4503 Mon Sep 17 00:00:00 2001 From: Jim Klimov Date: Wed, 31 Jul 2024 22:33:41 +0200 Subject: [PATCH 1/2] drivers/mge-hid.c: add Eaton 9E1000* models, and "ir" suffix for rack [#2562] According to https://github.com/networkupstools/nut/pull/2571#issuecomment-2261337602 Signed-off-by: Jim Klimov --- drivers/mge-hid.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/mge-hid.c b/drivers/mge-hid.c index e1f18f1995..ec1ef6db3e 100644 --- a/drivers/mge-hid.c +++ b/drivers/mge-hid.c @@ -1152,15 +1152,21 @@ static models_name_t mge_model_names [] = * https://github.com/networkupstools/nut/issues/2380 * https://github.com/networkupstools/nut/issues/2492 */ + { "Eaton 9E", "1000", EATON_9E, "9E1000" }, + { "Eaton 9E", "1000i", EATON_9E, "9E1000i" }, + { "Eaton 9E", "1000ir", EATON_9E, "9E1000ir" }, { "Eaton 9E", "2000", EATON_9E, "9E2000" }, { "Eaton 9E", "2000i", EATON_9E, "9E2000i" }, + { "Eaton 9E", "2000ir", EATON_9E, "9E2000ir" }, { "Eaton 9E", "3000", EATON_9E, "9E3000" }, { "Eaton 9E", "3000i", EATON_9E, "9E3000i" }, + { "Eaton 9E", "3000ir", EATON_9E, "9E3000ir" }, /* https://github.com/networkupstools/nut/issues/1925#issuecomment-1609262963 * if we failed to get iManufacturer, iProduct and iSerialNumber but saw * the UPS.Flow.[4].ConfigApparentPower (the "2000" or "3000" part here) */ + { "unknown", "1000", EATON_9E, "9E1000i (presumed)" }, { "unknown", "2000", EATON_9E, "9E2000i (presumed)" }, { "unknown", "3000", EATON_9E, "9E3000i (presumed)" }, From c4bea54de4fbd0b488b2d326e6e3c421a6297eeb Mon Sep 17 00:00:00 2001 From: Jim Klimov Date: Thu, 1 Aug 2024 00:20:25 +0200 Subject: [PATCH 2/2] drivers/mge-hid.c: add Eaton 9En000 models "iau" suffix, and 9E3000 "ixl"/"ixlau" [#2562] Per https://github.com/networkupstools/nut/pull/2571#issuecomment-2261450468 Signed-off-by: Jim Klimov --- drivers/mge-hid.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/mge-hid.c b/drivers/mge-hid.c index ec1ef6db3e..97ca23b1ba 100644 --- a/drivers/mge-hid.c +++ b/drivers/mge-hid.c @@ -1154,13 +1154,18 @@ static models_name_t mge_model_names [] = */ { "Eaton 9E", "1000", EATON_9E, "9E1000" }, { "Eaton 9E", "1000i", EATON_9E, "9E1000i" }, + { "Eaton 9E", "1000iau", EATON_9E, "9E1000iau" }, { "Eaton 9E", "1000ir", EATON_9E, "9E1000ir" }, { "Eaton 9E", "2000", EATON_9E, "9E2000" }, { "Eaton 9E", "2000i", EATON_9E, "9E2000i" }, + { "Eaton 9E", "2000iau", EATON_9E, "9E2000iau" }, { "Eaton 9E", "2000ir", EATON_9E, "9E2000ir" }, { "Eaton 9E", "3000", EATON_9E, "9E3000" }, { "Eaton 9E", "3000i", EATON_9E, "9E3000i" }, + { "Eaton 9E", "3000iau", EATON_9E, "9E3000iau" }, { "Eaton 9E", "3000ir", EATON_9E, "9E3000ir" }, + { "Eaton 9E", "3000ixl", EATON_9E, "9E3000ixl" }, + { "Eaton 9E", "3000ixlau", EATON_9E, "9E3000ixlau" }, /* https://github.com/networkupstools/nut/issues/1925#issuecomment-1609262963 * if we failed to get iManufacturer, iProduct and iSerialNumber but saw