From: Felipe Borges Date: Wed, 2 Dec 2020 13:55:21 +0000 (+0100) Subject: hwdb: Add dmi-id database X-Git-Tag: v248-rc1~469^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8723ddc7e586f953f234379578c0cc416ab7cd0d;p=thirdparty%2Fsystemd.git hwdb: Add dmi-id database See #15493 --- diff --git a/hwdb.d/20-dmi-id.hwdb b/hwdb.d/20-dmi-id.hwdb new file mode 100644 index 00000000000..a614473bd90 --- /dev/null +++ b/hwdb.d/20-dmi-id.hwdb @@ -0,0 +1,6 @@ +# This file is part of systemd + +# Fix "Lenovo" capitalization in /sys/class/dmi/id/sys_vendor +dmi:bvnLENOVO* + ID_SYSFS_ATTRIBUTE_MODEL=product_version + ID_VENDOR_FROM_DATABASE=Lenovo diff --git a/hwdb.d/meson.build b/hwdb.d/meson.build index 6fcb364acdd..f26e1f85762 100644 --- a/hwdb.d/meson.build +++ b/hwdb.d/meson.build @@ -4,6 +4,7 @@ # they are very long but quite repetitive and the parser is not very fast. # So we don't "test" them. hwdb_files_notest = files(''' + 20-dmi-id.hwdb 20-pci-vendor-model.hwdb 20-pci-classes.hwdb 20-usb-vendor-model.hwdb