aboutsummaryrefslogtreecommitdiff
path: root/modules/devices/dmi_memory.c
AgeCommit message (Collapse)Author
2024-02-08FIX GCC warnings - always truebigbear
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-07Update copyright informationL Pereira
2021-11-01devices/dmi_memory: added placeholder strings to the ignore listOndrej Čerman
2021-10-24devices/dmi_memory: fixed detection of DDR3 RAM with wrong driverOndrej Čerman
2021-10-24devices/spd-decode: added support for at24 moduleOndrej Čerman
2020-05-04Try to find ROM devices and don't count them as RAMBurt 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-26bench results: add phys mem if knownBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-12-26memory devices: use "RAM" for unknown ram type instead of (Unknown)Burt P
ex: "16 GiB DDR4 SDRAM", when type is known, or just "16 GiB RAM" when it isn't. (formerly "16 GiB (Unknown)") 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-11-14memory devices: don't use find for block sumBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-11-14memory devices: sum online blocks as fallback physical memory countBurt P
if no eeprom for SPD, and no root for DMI, try online block count x block size. Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-18Devices/MonitorsBurt P
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-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-07-29raspberry pi memory typesBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-29dmi_util: extended handle data typeBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-12Show links for vendorsLeandro Pereira
2019-07-06Memory devices: enable more warnings and cleanupBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-06Memory devices: add iconsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-02Memory devices: Direct-RDRAM type detect from DMIBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-02Memory devices: RDRAM type detect from DMIBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-02dmi_util/memory devices: fixes for 32-bit systemsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-02Memory devices: try and get code bytes from DMI mfgr stringBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-02Memory devices: DMI may provide mfgr codesBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-02Memory devices: show bank in locator if neededBurt P
If a locator of array > socket is not unique, then use array > bank > socket in the list. As suggested in https://github.com/lpereira/hardinfo/issues/386 Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-02Memory devices: also ignore "Unknown" for DMI manufacturerBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-29Memory Devices: Fix DMI to SPD matchingBurt P
Should fix https://github.com/lpereira/hardinfo/issues/380 Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-29Memory Devices: mfg date for ddr3Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-29Memory Devices: dram vendor for ddr3Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-29Memory Devices: add rank from DMIBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-29Memory Devices: unkifnull() a couple types_str usesBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-29Computer Summary: use info from Memory Devices in RAM fieldBurt P
Show size and type if SPD or DMI memory information was available. Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-29Memory Devices: a little name cleanupBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-29Memory Devices improvementsBurt P
* note if ddr3 is installed but ee1004 is used * create an SPD "array" if no DMI arrays exist * show mem types in array info * include any SPD-detected modules even if they are types that can't be decoded currently 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-26devices/dmi_memory.c: point out bad infoBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-26devices/dmi_memory.c: tweak for mfgr nameBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-26devices/dmi_memory.c: shell viewtype=1 version, other tweaksBurt P
* add -std=c99 for dmi_memory.c to use unicode * -std=c99 is picky about inline functions Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-25devices/dmi_memory.c: fix no dmi caseBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-25devices/dmi_memory.c: array as struct, show installed/max for size/modulesBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-25devices/dmi_memory.c: tweakBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-25devices/dmi_memory.c: add memory array informationBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-25dmi_memory.c: rewrite function dmi_mem_socket_info()Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-22devices/dmi_memory.c: fix for <BAD INDEX> from dmidecodeBurt P
Pango tries to use it as a tag and causes an error. 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>