aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBurt P <pburt0@gmail.com>2019-05-25 20:15:51 -0500
committerLeandro A. F. Pereira <leandro@hardinfo.org>2019-05-26 19:10:09 -0700
commit5a05b8498756fa66289c001b00666e1289cedd47 (patch)
treefa5ea6e15f5e986bbb51546ae77fcb419171e017
parentad57a3f7fe910cf509485e8b394007ce397df0ad (diff)
dmi_util: more placeholder values to ignore
Signed-off-by: Burt P <pburt0@gmail.com>
-rw-r--r--hardinfo/dmi_util.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/hardinfo/dmi_util.c b/hardinfo/dmi_util.c
index 0a493411..6479de6b 100644
--- a/hardinfo/dmi_util.c
+++ b/hardinfo/dmi_util.c
@@ -41,10 +41,17 @@ static int ignore_placeholder_strings(gchar **pstr) {
DMI_IGNORE("NA");
DMI_IGNORE("SKU");
- /* noticed on an HP x360 */
+ /* noticed on an HP x360 with Insyde BIOS */
DMI_IGNORE("Type2 - Board Asset Tag");
DMI_IGNORE("Type1ProductConfigId");
+ /* Toshiba Laptop with Insyde BIOS */
+ DMI_IGNORE("Base Board Version");
+ DMI_IGNORE("No Asset Tag");
+ DMI_IGNORE("None");
+ DMI_IGNORE("Type1Family");
+ DMI_IGNORE("123456789");
+
/* Zotac version nonsense */
p = chk;
while (*p != 0) { *p = 'x'; p++; } /* all X */