From 11936f0c93bd0416f5cba22de18228c46864a927 Mon Sep 17 00:00:00 2001 From: Burt P Date: Thu, 4 Oct 2018 17:24:54 -0500 Subject: devices: get_motherboard() refinements As discussed in #289: "Maybe instead of falling back separately it could try for the best from the board group and the best from the product/system group and always give (), perhaps with any duplicates removed." Signed-off-by: Burt P --- hardinfo/dmi_util.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hardinfo') diff --git a/hardinfo/dmi_util.c b/hardinfo/dmi_util.c index 98c2ac72..7535f48e 100644 --- a/hardinfo/dmi_util.c +++ b/hardinfo/dmi_util.c @@ -32,6 +32,8 @@ static int ignore_placeholder_strings(char **pstr) { DMI_IGNORE("System Manufacturer"); DMI_IGNORE("System Version"); DMI_IGNORE("Default String"); + DMI_IGNORE("Rev X.0x"); /* ASUS board version nonsense */ + DMI_IGNORE("x.x"); /* Gigabyte board version nonsense */ /*... more, I'm sure. */ return 0; } -- cgit v1.2.3