aboutsummaryrefslogtreecommitdiff
path: root/hardinfo
AgeCommit message (Collapse)Author
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>
2019-08-10name cleanup for x86 model strings and intel pci device stringsBurt P
x86 CPU: * Remove (R), (TM), etc * AMD: remove redundant "X2 Dual Core", "X4 Quad Core", etc * Move vendor to front if not already * Remove speed, as the actual speed is usually right next to it * Remove "CPU", "APU", "Processor" to shorten * Compress space Intel GPU: * Remove (R) * Abbreviate "Generation": "Gen" * Remove "Processor", "Controller", and "Device" to shorten * Compress space Some examples: x86 CPU: 'AMD Turion(tm) 64 Mobile Technology ML-32' ---> 'AMD Turion 64 Mobile ML-32' 'Cyrix MediaGXtm MMXtm Enhanced' ---> 'Cyrix MediaGX MMX Enhanced' 'Transmeta(tm) Crusoe(tm) Processor TM5800' ---> 'Transmeta Crusoe TM5800' 'VIA Nano X2 L4350 @ 1.6+ GHz' ---> 'VIA Nano X2 L4350' 'AMD Athlon(tm) 64 X2 Dual-Core Processor TK-53' ---> 'AMD Athlon 64 X2 TK-53' 'Embedded AMD Opteron(tm) Processor 23KS EE' ---> 'AMD Embedded Opteron 23KS EE' 'Intel(R) Atom(TM) x5-Z8300 CPU @ 1.44GHz' ---> 'Intel Atom x5-Z8300' 'Intel(R) Pentium(R) III CPU - S 1400MHz' ---> 'Intel Pentium III - S' 'Dual Core AMD Opteron(tm) Processor 165' ---> 'AMD Dual Core Opteron 165' 'Genuine Intel(R) CPU T1350 @ 1.86GHz' ---> 'Intel T1350' 'AMD Phenom(tm) 9350e Quad-Core Processor' ---> 'AMD Phenom 9350e Quad-Core' Intel GPU: 'Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller' ---> 'Atom/Celeron/Pentium x5-E8000/J3xxx/N3xxx Integrated Graphics' '4th Generation Core Processor Family Integrated Graphics Controller' ---> '4th Gen Core Family Integrated Graphics' 'Mobile GM965/GL960 Integrated Graphics Controller (secondary)' ---> 'Mobile GM965/GL960 Integrated Graphics (secondary)' 'Mobile 915GM/GMS/910GML Express Graphics Controller' ---> 'Mobile 915GM/GMS/910GML Express Graphics' Also: Fix/replace the appf() and SEQ() that were peppered about. Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-10bug fix for ids file searchBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-10shell/info: allow newlines in valuesBurt P
Also fixed a FIXME: use g_key_file_get_string_list(). Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-10usb: bug fix for usb.ids file searchOndrej Čerman
2019-08-04usb: use sysfs by default (that is usually faster than lsusb)Ondrej Čerman
2019-08-04usb: added more propertiesOndrej Čerman
2019-08-04usb: added usb.ids parsingOndrej Čerman
2019-07-31Remove old open_url() in favor or uri_open()Burt P
See: https://github.com/lpereira/hardinfo/pull/417#discussion_r308512774 Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-29udisks2: get sdcard oem/manufacturerBurt P
udisks doesn't provide, but it can be looked up using attributes from sysfs. Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-29replace idle_free() with auto_free() from sysobjBurt P
* auto_free() works in both report mode and gui mode. * auto_free() only creates one recuring event for the whole system rather than idle_free()'s one event per call. * auto_free_ex() allows specifying the free function to use. * auto_free() is thread-aware, free_auto_free_thread_final() can be used to clean up on thread exit. * auto_free() has some tweakability. Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-29vendor.ids update and vendor.{h,c} improvements from sysobj versionBurt P
* more fields in struct Vendor. * match_case -> match_rule and new match rule "exact". match_rule remains compatible with match_case for old conf format. * matches must be "whole word" matches so "Harmony" no longer hits for "ARM". * Parts outside of () are checked first, so "Foo (formerly Barly)" matches Foo before Barly, even though Barly is longer and would otherwise match first. * vendor_list type (a blessed GSList*) and helper functions to manage it. Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-29usb: added interface labelOndrej Čerman