aboutsummaryrefslogtreecommitdiff
path: root/includes/devices.h
AgeCommit message (Collapse)Author
2024-02-08PR681 - implicit function declarationbigbear
2020-12-29Add libsensors supportLeandro Pereira
Fixes #590
2020-02-08Sensors: groups inside add_sensor; group by type or by dev sourceOndrej Čerman
2020-02-08Sensors: Added item iconsOndrej Čerman
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-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>
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-04-24[new] devices/gpu: graphics processorsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-09-04Add prototype for processor_frequency_desc()Leandro Pereira
2017-08-27Create dmi_util.c and move *_util.c to hardinfo/Burt P
These stand alone interfaces and are used across modules, so just make them available to any module by default. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-27DMI: dmi_chassis_type_str() maps chassis-type to stringBurt P
dmi_chassis_type_str() is moved from code in computer.c:detect_machine_type(). It makes sense to keep it with dmi, as it maps a dmi-defined value to a string. This way it can be used in both dmi.c and computer.c. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-27DMI: create single dmi_get_str() that uses sysfs with dmidecode fallbackBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-11Separate processor name and description + count cores and threadsBurt P
* add cpu_procs_cores_threads() function to get counts from sysfs/topology * each platform must now provide processor_name() and processor_describe() * processor_name_default(): returns a list of unique processor->model_name * processor_describe_default(): returns "N physical; M cores; L threads" * processor_describe_by_counting_names(): returns a list of unique processor->model_name with Nx prefix (ex: "4x ARM Cortex A53 + 4x ARM Cortex A33") * x86: _name and _describe use defaults * arm: _name returns name of SOC, if available, _describe returns processor_describe_by_counting_names() * all other platforms: _name and _describe use defaults * Computer module summary now shows both name and description for CPU Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-09Handle mixed cores in get_processor_name(), ex: big.LITTLE or TegraBurt P
In the future, I think a processor will need a name and a description. Name as the straight name of the processor or SOC, and description as what name is now, with 4x and whatnot. x86 description might be "8 cores, 16 threads" or similar. Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-19Begin support for device treeBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-19x86 flag definition lookup changesBurt P
* Avoid using GHashTable * Use single flag lookup table with bug: and pm: prefixes to avoid flag name collisions Signed-off-by: Burt P <pburt0@gmail.com>
2016-07-30If reading from /proc/{ioports,iomem,dma} requires root, warnLeandro Pereira
2012-05-30Split x86 and x86_64 archeshasufell
lib suffix in hardinfo/binreloc.c is already supported and will be respected now
2012-01-26Better manage moreinfo hashesLeandro Pereira
Have only one for the whole program and use per-module namespaces/prefixes so that each module can clear its own information easily.
2012-01-15Allocate/deallocate sensor labels/compute hash table only onceLeandro Pereira
2010-05-09Add support to read memory SPD (memory type, speed, timings, etc).Leandro A. F. Pereira
2010-05-03Remove outdated arch directoryLeandro A. F. Pereira
2010-05-03Move files from hardinfo2 to root.Leandro A. F. Pereira