aboutsummaryrefslogtreecommitdiff
path: root/modules/devices.c
AgeCommit message (Collapse)Author
2024-02-28ADD Sync blobversion check - only update if new on serverhwspeedy
2024-02-24FIX FIX udisks2 wrongly disabledhwspeedy
2024-02-16FIX Disable cpuflags for very old JSON <0.20.0 - FIX for ol6/c6/rh6hwspeedy
2024-02-08FIX GCC Warningsbigbear
2024-02-08FIX Cleanup about credit boxbigbear
2024-02-08PR681 - implicit function declarationbigbear
2024-02-08LICENSE Changed to GPL2+ for project and source code According to approval ↵bigbear
from copyright holders - see: https://github.com/lpereira/hardinfo/issues/530 https://github.com/lpereira/hardinfo/issues/707
2021-11-07Hack: make ASan happy by moving definition of lginterval to shellL Pereira
These globals are really nasty and one of the reasons I hate looking at the HardInfo code.
2021-11-07modules/devices: fixed CPU topology string when nodes == 1Ondrej Čerman
2021-11-07Use structured data to rebuild CPU Description as wellL Pereira
2021-11-07Update copyright informationL Pereira
2021-10-17devices/storage - refactoring - all code that is extending udisks2 ↵Ondrej Čerman
information has been moved to separate file.
2021-09-15devices/storage: removed leading whitespaceOndrej Čerman
2021-04-25Make CPU flags database updatableLeandro Pereira
2021-02-25Consider number of NUMA nodes while counting coresLeandro Pereira
2021-02-21Add support for NUMA nodesLeandro Pereira
Related to #599.
2020-12-29Add libsensors supportLeandro Pereira
Fixes #590
2020-05-10cpuflags.conf isn't updatable for the time being, so junk it until it isLeandro Pereira
2020-05-09Make more data files updatable by moving them to data/Leandro Pereira
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-02-08Sensors: groups inside add_sensor; group by type or by dev sourceOndrej Čerman
2020-02-08Sensors: Added item iconsOndrej Čerman
2020-02-08Sensors: Added device sectionsOndrej Č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-03storage: updated listOndrej Čerman
2019-12-29inputdevices: Added columns: vendor tags and typeOndrej Čerman
2019-12-28udisks2_util: try pci vendor for nvme without vendor infoBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-22various: entry hide flag, fix text format report, fix key_*() funcsBurt P
* fix key_is_highlighted() and key_wants_details() so that they don't look for flags in the label. * fix -r -f text, g_hash-related warnings from icon cache * add MODULE_FLAG_HIDE flag to hide module entries instead of using the '#' at the beginning of string hack, which didn't work everywhere, and screwed up translated strings. * hide GPU Drawing benchmark See: https://github.com/lpereira/hardinfo/issues/329 Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-18Devices/MonitorsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-14Devices/FirmwareBurt P
As requested in: https://github.com/lpereira/hardinfo/issues/420 firmware: translatable labels, parse flags, link vendors firmware: attempt using struct Info, issues exist firmware: add flag definitions firmware: remove <-... from guid when run with sudo firmware: map lvfs icons to hardinfo pixmaps firmware: cleanup, add hinote when not available. Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-04Use DetailView for SHELL_VIEW_NORMAL and the more info displayLeandro Pereira
This change has been made mostly because we need more control in how things are displayed, and fighting GTK+ so that this is possible isn't going to cut it. For instance, it is now possible to display links -- albeit only external links at the moment, but internal links will be possible, allowing for instance for one to click in a kernel module dependency to know more about that particular module. Links will also be useful to go to the vendor website, and maybe other things (like web search for Vendor + Product ID) and whatnot. Eventually this will replace the summary view altogether. That code has a lot of drawbacks, including not being able to have its contents copied to the clipboard, appear in reports, or have auto-updating fields. It stays for now, but it will be gone before 0.6 is released. I had forgotten how messy this code is. One of the reasons I lost the interest in this project... I want to hack on a nicer code base but I also lack the strong motivation to write the shell from the scratch.
2019-06-29Memory Devices: a little name cleanupBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-28Combine Memory DMI and Memory SPD into "Memory Devices"Burt P
Combines the information from DMI and SPD into a single Memory Devices section. Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-23devices.c: fix field update for sensorsBurt P
Bug: https://github.com/lpereira/hardinfo/issues/358 Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-22DMI socket/module information moved from Processor to Memory DMIBurt P
As discussed in https://github.com/lpereira/hardinfo/issues/345 Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-22Note for missing nvme info without udisks2Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-20move devices/memory to computer/memory usageBurt P
As discussed in https://github.com/lpereira/hardinfo/issues/345 Signed-off-by: Burt P <pburt0@gmail.com>
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>
2019-05-13Added hinote when hardinfo is not able to read full DDR4 SPD data.Ondrej Čerman
2019-01-15devices/storage: Use udisks2 as primary source for storage infoOndrej Čerman
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-04devices: also ignore duplicate versionBurt 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() fixesBurt 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-04devices: Remove product-version from string returned by getMotherboard()Burt P
This reverts a change 2db563687071c099851c59396bdde29a00dba156. It seems to me that using product version in this way gives inconsistent values. The recent benchmark result submitted demonstrates the problem: `2.0 / X370 SLI PLUS (MS-7A33) (Micro-Star International Co., Ltd.)` The product version `2.0` is put in front, but without the product name or product vendor for context, it doesn't really add anything. The board vendor, which otherwise would be in front, is now in () at the end. When the product version is not defined, then the motherboard is reported as `<board vendor> <board name>`. The only time it is `<board name> (<board vendor>)` is when product version is defined. If this change is applied, that same motherboard would be reported `Micro-Star International Co., Ltd. X370 SLI PLUS (MS-7A33)` which, to me, makes more sense for getMotherboard(). I have no idea what "product" this is version 2.0 of. Signed-off-by: Burt P <pburt0@gmail.com>