Skip to content
Permalink
Browse files

dmi_util: more placeholder values to ignore

Signed-off-by: Burt P <pburt0@gmail.com>
  • Loading branch information...
bp0 authored and lpereira committed May 26, 2019
1 parent ad57a3f commit 5a05b8498756fa66289c001b00666e1289cedd47
Showing with 8 additions and 1 deletion.
  1. +8 −1 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 */

0 comments on commit 5a05b84

Please sign in to comment.
You can’t perform that action at this time.