aboutsummaryrefslogtreecommitdiff
path: root/hardinfo
AgeCommit message (Collapse)Author
2024-02-08Clean - HARDINFO2 BASEbigbear
2023-10-13Here is the environment cinfiguration: cpu - atom, sd card as bootable disk, ↵Alexey Berezhok
loist of devices: /sys/block/zram0 /sys/block/mmcblk0boot0 /sys/block/mmcblk0boot1 /sys/block/mmcblk2 /sys/block/mmcblk0 Hardinfo got nex pathes for reading for the report: 1) # cat /sys/block/mmcblk0/device/oemid 0x0103 2) # cat /sys/block/mmcblk2/device/oemid 0x534d 3) # cat /sys/block/mmcblk0boot0/device/oemid cat: /sys/block/mmcblk0boot0/device/oemid: No such file or directory 4) # cat /sys/block/mmcblk0boot1/device/oemid cat: /sys/block/mmcblk0boot1/device/oemid: No such file or directory In the code no checks if files from previous step for device was read and pointer not NULL: gchar *oemid_path = g_strdup_printf("/sys/block/%s/device/oemid", e->d->block_dev); gchar *manfid_path = g_strdup_printf("/sys/block/%s/device/manfid", e->d->block_dev); gchar *oemid = NULL, *manfid = NULL; g_file_get_contents(oemid_path, &oemid, NULL, NULL); g_file_get_contents(manfid_path, &manfid, NULL, NULL); unsigned int id = strtol(oemid, NULL, 16); ... id = strtol(manfid, NULL, 16); Before srttol need check for NULL
2023-02-25dmi: Added more placeholder strings found on ASUS MBOndrej Čerman
2021-11-21udisks2_util.c: missing bracketsZmicek123
2021-11-07Update copyright informationL Pereira
2021-10-19devices/storage - added WWN/EUI Identifier and IEEE OUIOndrej Čerman
2021-10-17devices/storage - refactoring - all code that is extending udisks2 ↵Ondrej Čerman
information has been moved to separate file.
2021-09-15ppc64 - fixed smart info and resolved compilation warningsOndrej Čerman
2021-04-03Add command-line parameter to quieten HardInfo when in non-GUI modeLeandro Pereira
2021-02-21Add support for NUMA nodesLeandro Pereira
Related to #599.
2021-02-02Fix build warning related to pcid_cmp_by_addy()'s prototypeLeandro Pereira
2020-12-12devices/storage: added intepreted s.m.a.r.t. valueOndrej Čerman
2020-05-09Update SyncManager to use the new APILeandro Pereira
2020-05-03hi_exported_methods() should return a const pointerLeandro Pereira
2020-05-03hi_module_get_about() should return a const pointerLeandro Pereira
2020-01-17info: fixes for escaped label flagBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2020-01-17shell: new flag/funcs for escaping label part in keysBurt P
Will allow formerly forbidden characters in a label, "#$=" See: https://github.com/lpereira/hardinfo/issues/509 Signed-off-by: Burt P <pburt0@gmail.com>
2020-01-17pci: sort list of devicesBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2020-01-17pci_util: use GSList for pcid_listBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2020-01-05firmware: switched to D-BusOndrej Čerman
2020-01-04pci: include a minimum pci.ids with classes, note when pci.ids is missingBurt P
Noticed that the RPi4 has a PCIe bus, but pci.ids is not included with the standard Raspbian image, so everything is "(Unknown)." Now there will be some basic information about what the device is, and a note about installing pci.ids for more information. Signed-off-by: Burt P <pburt0@gmail.com>
2020-01-04pci_util: provide .slot_str in pci_get_device_sysfs()Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2020-01-03util_pci: alternate pci.ids locationBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2020-01-03pci_util: read class strings from pci.ids, use class for unknown productBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2020-01-03pci: get list from sysfs without using lscpi/pciutilsBurt P
The lspci-using code is still there as fallback. Signed-off-by: Burt P <pburt0@gmail.com>
2020-01-03use newer cpubits.{h,c} from sysobjBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2020-01-03storage: updated listOndrej Čerman
2020-01-03storage: nvme pci info + udisks2_util vendor fixesBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2020-01-03pci_util: add pci_get_device_str()Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-12-29summary: remove extra columns from storage/input dev. valuesOndrej Čerman
2019-12-29inputdevices: Added new vendor info + info from usb.idsOndrej Čerman
2019-12-28pci_util: lpereira's nitsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-12-28udisks2_util: try pci vendor for nvme without vendor infoBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-12-28pci_util: add some id lookup functionsBurt P
So we can do pci.ids lookups ourselves. Signed-off-by: Burt P <pburt0@gmail.com>
2019-12-27usb: vendor tags in listBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-12-27fmt_opts param for pango/html/text formattingBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-12-27shell: add key flag for strings expected to contian vendorsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-12-26computer/display: add notes for wanted extern utilsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-10-24don't try to escape multi-column values in flatten_group()Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-10-24Devices/storage: SMART attributes from udisks2Ondrej Čerman
2019-08-28vendor: update vendor.{h,c}Burt P
Mostly new match rules. Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-18x_util: lpereira's patchBurt P
https://github.com/lpereira/hardinfo/pull/449#issuecomment-522354180
2019-08-18Devices/MonitorsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-14vendor: vendor_get_link_from_vendor() use wikipedia in some casesBurt P
Some vendors, like those defunct, may not have url, but may have a wikipedia article. Use wikipedia in the link in those cases. Also, Wikipedia offers more information than the vendor's site in most cases, and has the vendor's url right there in the sidebar to click, if desired. I think using wikipedia for links is prefereable, but this could be turned off by setting link_wikipedia to FALSE. Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-14Benchmark: fixes, user_note, verifiable test dataBurt P
* fix zlib display order * fix cryptohash MiB/s calculation * revision and params for other benchmarks * allow attaching user note to bench result with -u * don't inlcude the new result value bits if they are empty/invalid in bench_value_to_str(). bench_value_from_str() doesn't need to be modified. * bench_results: clean old result cpu name for x86 * use problem_marker() from dmi_memory to mark old version bench results * benchmark: verifiable test data size and content - The test data benchmark.data is stored in a file that could be edited to change the size or content. /* to guarantee size */ gchar *get_test_data(gsize min_size); /* to checksum content */ char *md5_digest_str(const char *data, unsigned int len); Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-10Build fixesLeandro Pereira
2019-08-10Always pulse status bar while spawning processes synchronouslyLeandro Pereira
2019-08-10Merge branch 'master' into usb3Leandro A. F. Pereira
2019-08-10Add GTK_CHECK_VERSION(2, 18, 0) for links in labelBurt P
Alternative to https://github.com/lpereira/hardinfo/pull/418 Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-10gpu_util: fix intel nice nameBurt P
Signed-off-by: Burt P <pburt0@gmail.com>