aboutsummaryrefslogtreecommitdiff
path: root/modules/devices/dmi.c
AgeCommit message (Collapse)Author
2021-11-07Update copyright informationL Pereira
2021-09-15devices/dmi: Added no value state for chassis-type.Ondrej Čerman
2019-12-27dmi: use vendor flag for vendor fieldsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-12Show links for vendorsLeandro Pereira
2019-05-25Allow DMI on non-x86Burt P
There's nothing preventing this from running on non-x86. If it is not available it will just say so, like PCI. Signed-off-by: Burt P <pburt0@gmail.com>
2018-12-03dmi: add system-serial-number, sku; ignore a few more placeholdersBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-11-04Fix biuld after f6299d9Leandro Pereira
2018-11-04dmi: show ignored values with strikethroughBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-27devices/dmi: keys only need to be unique in the same groupBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-27DMI: allow specifying type for dmi_chassis_type_str()Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-27Create dmi_util.c and move *_util.c to hardinfo/Burt P
These stand alone interfaces and are used across modules, so just make them available to any module by default. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-27DMI: Add more string names, display more informationBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-27DMI: dmi_chassis_type_str() maps chassis-type to stringBurt P
dmi_chassis_type_str() is moved from code in computer.c:detect_machine_type(). It makes sense to keep it with dmi, as it maps a dmi-defined value to a string. This way it can be used in both dmi.c and computer.c. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-27DMI: add dmi_sysfs_root() to find path for dmi in sysfsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-27DMI: empty result return NULL; don't suggest root if rootBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-27DMI: dmi_get_str() add "system-manufacturer"Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-27DMI: make labels translatableBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-27DMI: dmi_get_str() cleanup string before returningBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-27DMI: create single dmi_get_str() that uses sysfs with dmidecode fallbackBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-14dmi: fail if only never succeeded in dmi_get_info_sys()Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-14Add more DMI information (product, etc)Leandro Pereira
2016-07-30Fix DMI parsing after 096108bLeandro Pereira
2016-07-30`group` variable could be uninitialized while parsing DMILeandro Pereira
2012-01-26Better manage moreinfo hashesLeandro Pereira
Have only one for the whole program and use per-module namespaces/prefixes so that each module can clear its own information easily.
2012-01-07Show moterboard information in the new summary screenLeandro Pereira
2010-05-03Move files from hardinfo2 to root.Leandro A. F. Pereira