aboutsummaryrefslogtreecommitdiff
path: root/hardinfo
AgeCommit message (Collapse)Author
2019-07-04Plug memory leak when flattening a struct InfoLeandro Pereira
2019-07-02dmi_util/memory devices: fixes for 32-bit systemsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-30devices/storage: Better storage media labelsOndrej Čerman
2019-06-29Only prepend $ITEM-g-i$ while flattening if there are iconsLeandro Pereira
Otherwise, the field updater would look for a field $ITEM-g-i$FieldName, which it has no way of knowing about.
2019-06-29Support icons in InfoFieldsLeandro Pereira
2019-06-29Allow more dynamic InfoGroup creationLeandro Pereira
2019-06-29h_sysfs_read_*() should take const pointers as argsLeandro Pereira
2019-06-29dmi_util: make cache static, use cache free functionBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-29dmi_util.c: add simple cache for dmidecode readsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-20Show g_module_error() when loading a moduleLeandro Pereira
2019-05-26dmi_util: more placeholder values to ignoreBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-05-25devices/gpu: add memory freqOndrej Čerman
2019-05-25gpu_util: add amdgpu core clocksOndrej Čerman
2019-05-13devices/storage - udisks2: added pm, apm, aam, part. table type and ↵Ondrej Čerman
partitions list
2019-01-15devices/sensors: Added HDD temperature sensors from udisks2Ondrej Čerman
2019-01-15devices/storage: Use udisks2 as primary source for storage infoOndrej Čerman
2018-12-14udisks2_util.c: fix memory leakOndrej Čerman
2018-12-03dmi: add system-serial-number, sku; ignore a few more placeholdersBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-12-03dt_util: more fixes from warningsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-12-03gpu_util: fix intel gpu freqBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-12-03gpu_util: intel gpu freqBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-12-02enable and fix some warningsBurt P
Part of (#298). Signed-off-by: Burt P <pburt0@gmail.com>
2018-12-02pci_util: minor fixBurt P
(#298) E: hardinfo no-return-in-nonvoid-function /home/abuild/rpmbuild/BUILD/hardinfo-20181022T194523/hardinfo/pci_util.c:202, 160 Signed-off-by: Burt P <pburt0@gmail.com>
2018-12-02gpu_util: minor fixBurt P
(#298) E: hardinfo no-return-in-nonvoid-function /home/abuild/rpmbuild/BUILD/hardinfo-20181022T194523/hardinfo/gpu_util.c:37, 405 E: hardinfo no-return-in-nonvoid-function /home/abuild/rpmbuild/BUILD/hardinfo-20181022T194523/hardinfo/gpu_util.c:37, 405 Signed-off-by: Burt P <pburt0@gmail.com>
2018-11-30add hardinfo param for maximum number of benchmark results to includeBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-11-30devices/usb: Add USB interfaces and device iconsOndrej Čerman
* devices/usb: Added support for USB interfaces * devices/usb: added icons for usb devices * tabs -> spaces
2018-11-30devices/storage: added udisks2 supportOndrej Čerman
2018-11-04params: html_ok -> markup_okBurt P
The html_ok param added in 970174b0897d40b804808632784ffa1544d9da93 is misleading. It turns out that it is not HTML, but Pango Markup that is used by GTK, and a subset of that happens to also work as HTML4 for the HTML report generation. This change renames html_ok to markup_ok in ProgramParameters and adds a comment explaining what common set of tags may be used. Also, if report generation happens as a fallback after GUI initialization failed, then also disable markup, unless report will be generated as HTML. Pango markup info at: https://developer.gnome.org/pango/stable/PangoMarkupFormat.html Signed-off-by: Burt P <pburt0@gmail.com>
2018-11-04dmi_util: fix warningsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-11-04vendor: find shortest name tweaksBurt P
If lengths are equal then prefer name_short > name > id_str. Signed-off-by: Burt P <pburt0@gmail.com>
2018-11-04dmi_util: ignore full string of 'X' or '0'Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-11-04dmi_util: make ignoring string detectableBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-11-04dmi: ignore some zotac nonsense valuesBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-11-04gpu_util: use vendor_get_shortest_name() instead of vendor_match()Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-11-04vendor.c: remove duplicate code, use vendor_match(), make *_name() result ↵Burt P
consistent Following the old behavior of returning the passed-in string if not found. Signed-off-by: Burt P <pburt0@gmail.com>
2018-11-04devices: get_motherboard(), shorten vendor if possibleBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-11-04devices: get_motherboard() refinementsBurt P
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 <board> (<system>), perhaps with any duplicates removed." Signed-off-by: Burt P <pburt0@gmail.com>
2018-11-04report: add "shell" report formatBurt P
Just dumps the conf/keyfile-format output. Very useful for development. Try `hardinfo -s -w -r -f shell >shell_dump.txt` Signed-off-by: Burt P <pburt0@gmail.com>
2018-11-04add very-verbose parameterBurt P
Dumps any "moreinfo" for all items. Signed-off-by: Burt P <pburt0@gmail.com>
2018-11-04dt_util: fix warningsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-10-22dmi_util: extend chassis_type table; add some functions to get information ↵Burt P
from dmidecode Signed-off-by: Burt P <pburt0@gmail.com>
2018-10-22devicetree: add oppv1 and clock-frequency to opp supportBurt P
I don't have any hardware to test, this is based only on the OPP kernel docs. https://www.kernel.org/doc/Documentation/devicetree/bindings/opp/opp.txt Signed-off-by: Burt P <pburt0@gmail.com>
2018-10-22gpu: show freq range, if availableBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-10-22devicetree/opp-v2 requested changesBurt P
Requested by @lpereira in #286. Signed-off-by: Burt P <pburt0@gmail.com>
2018-10-22devicetree: get opp-v2 freq range for gpu, if availableBurt P
* opp-v2 = operating-points-v2, frequency scaling information from device tree that can be used for cpu, gpu, etc. * adds helper function to get the opp-v2 range of frequencies for a node, dtr_get_opp_range() in dt_util.c * adds a freq range in opp-v2 property for a node in dt * reports a gpu's max clock frequency if avaiable via opp-v2 Signed-off-by: Burt P <pburt0@gmail.com>
2018-10-22devictree: fix some runtime warningsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-10-22don't use html in text-only outputBurt P
Fixes https://github.com/lpereira/hardinfo/issues/266 This is also needed so that vendor urls can be links where appropriate. Signed-off-by: Burt P <pburt0@gmail.com>
2018-10-19cpubits: bug fix for package ids > 1Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-09-26gpu: show more dt infoBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-09-26dt gpu: find gpu in the device treeBurt P
Will now look for any .../gpu and .../gpu@<address> instead of looking only at /soc/gpu. Signed-off-by: Burt P <pburt0@gmail.com>