Commit Graph
692 Commits
Author SHA1 Message Date
Daniel Varga 635da0cea5 Fix System.ArgumentException: Invalid identifier on Linux (#1434) (#1435) 2024-08-22 10:12:14 +02:00
Tellinq 1118fde17d Add ASRock B650M-C(W)(X) (#1420)
* Add ASRock B650M-C

* Add the white and WiFi 6e models
2024-08-12 11:45:04 +02:00
Joe dd4ef21db7 Add support for ROG Maximus XII Z490 Formula (#1422) 2024-08-12 11:44:48 +02:00
unoMato 437c4d3cac Adding Gigabyte X570 Aorus Pro (#1404)
* X570 Aorus Pro to Model.cs

* Added X570 Aorus Pro to Identification.cs

* Added sensor values for X570 Aorus Pro to SuperIOHardware.cs
2024-08-08 12:51:47 +02:00
Tellinq 16a98c9ca2 Add Gigabyte B650(E) Aorus Elite (includes WiFi, V2, and ICE models) (#1415) 2024-08-08 12:50:15 +02:00
Tellinq 6858ecd957 Add Gigabyte B660 DS3H (AC) DDR4 (#1416) 2024-08-08 12:49:52 +02:00
PhyxionNL fbdd7d8cf9 Update EmbeddedController.cs 2024-08-06 13:45:48 +02:00
adamckbatchelor eaf35a7ab9 Add Asus ROG Strix X570-E Gaming Wifi II EC Sensors (#1412)
* Add EC Sensors for ASUS ROG Strix X570-E Gaming Wifi II

* Update EmbeddedController.cs

remove unnecessary sensors
2024-08-06 13:42:19 +02:00
Tellinq 492658a2d4 Add support for Gigabyte H97-D3H (#1413)
* Test: GA-H97-D3H detection
Temporarily allow workflow dispatches to test builds before submitting a pull request

* Define IT8620E fan amount and sensor names

* Change CPU VRIN to CPU Input Auxiliary

* Remove workflow dispatch (finished testing)
2024-08-06 13:41:49 +02:00
RXGandPhyxionNL 68b4620042 Fix the detection of BIOS date format: "yyyy-mm-dd" (#1248)
* Update SMBios.cs

Fix detect format "yyyy-mm-dd" again

* Update SMBios.cs

---------

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2024-07-31 17:54:32 +02:00
Michael SpiegelandPhyxionNL 8ab4def93a Fix NullReferenceException on linux systems where the specified paths don't exist (#1300)
* feat(SMBios): Handle null reference exception when accessing Board information

Changed the ReadSysFs method in the class SMBios to return an empty string instead of null when unable to find the needed paths on Linux, preventing NullReference Exception when getting the manufacturer and model in the Motherboard class.

* fix(LMSensors): Prevent exception in LMSensors constructor

Introduced string array subDirectories  which is initialized empty. Added checking if the hwmon directory exists otherwise the array subDirectories will stay empty so it does not throw an exception if it can't find the path.

* Simplify.

---------

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2024-07-31 17:30:30 +02:00
Mathieu GRENETandPhyxionNL dc9792fc9f Add NZXT kraken X (X42, X52, X62 or X72) Support (#1143)
* Add NZXT kraken X (X42, X52, X62 or X72) Support

* Cleanup and removed overriding hard values

* code style

* more code style

* Clean up PR and Kraken V3

---------

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2024-07-31 17:25:54 +02:00
Jeff 754dbf4efe Add "T_Sensor" to ROG MAXIMUS Z790 HERO (#1375) 2024-07-31 16:55:43 +02:00
PhyxionNL d379969fc5 Fix build 2024-07-31 16:53:30 +02:00
Daniel VargaandPhyxionNL ec8c7837fe Add Aquastream Ultimate support (#1266)
* Add Aquastream Ultimate support

* Update AquastreamUltimate.cs

---------

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2024-07-31 16:49:49 +02:00
YAMANEKOandPhyxionNL cd48456ad4 Append net8.0 to TargetFrameworks (#1379)
* Append net8.0 to TargetFrameworks

* Update LibreHardwareMonitorLib.csproj

---------

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2024-07-28 14:20:15 +02:00
Tellinq f4adb3ee60 Add support for ASRock Z790 Pro RS (#1387)
* Initial implementation of Z790 Pro RS

* Fix casing

* Split DDR4 and DDR5 ASRock Z690/Z790 variants
Due to the value on the 6th index checking the IMC, the datasets must be split
2024-07-28 14:20:02 +02:00
Tellinq 14ca850b60 Fix incorrect CPU Voltage Termination value on Z690 Extreme/Steel Legend (#1385) 2024-07-27 14:58:26 +02:00
Tellinq 26e68244bf Add MSI Pro B550-VC and B550-A Pro (#1372)
* Add MSI Pro B550-VC and B550-A Pro

* Remove Voltage #7 (not fully verified as Input Aux
2024-07-20 16:48:08 +02:00
Tellinq b47afdf571 Add proper definition support for all Gigabyte B550 models (#1360)
* Add Gigabyte B550 AORUS Elite (v1/v2) models

* Add B550 Gaming X (v1 and v2) models as their layout is identical too

* Add B550 AORUS Pro v2

* Add B550M AORUS Elite

* Add the rest of Gigabyte B550 and B550M (Except the Vision D, Aorus Master, B550M Aorus Pro models)

* Add B550 UD AC Y1

System integrators such as iBuyPower and CyberPowerPC have sold systems with this OEM branded model, and thus would not be detected within this PR otherwise.

* Add B550M Pro, B550 Aorus Master, B550 Vision D models

* Add B550I AORUS PRO AX

* Rename EC_TEMP# to a more display friendly name
2024-07-20 16:47:00 +02:00
sebastian-dev 6edb1bc08d Nct677x esio mutex (#1254)
* Nct677X fix mutex acess with other devices an multiple instances
Fix the access with multiple devices.
Issue: #1243
Improper accessing the Nuvoton eSIO causes problems with other monitoring software

* Fix timeout behavior,
ensure the wait loop abort after a defined time

* Update timeout behavior and Code Formatting

* Update timeout behavior
2024-07-20 16:46:23 +02:00
DrLippe d3a7db7289 Update EC registers for Z790 (#1381) 2024-07-20 16:44:28 +02:00
Eugene Shalygin 6dc82e271a LPC/EC: fix signess of the sensor readings (#1382)
Only the temperture single-byte ones seem to be signed, the rest of
them seem to be unsigned.
2024-07-19 21:44:04 +02:00
PhyxionNL aeda29d598 Update EmbeddedController.cs 2024-07-19 19:00:51 +02:00
Shadotty d22c9b4113 Add EC support for Z490 ROG MAXIMUS XII HERO (WI-FI) (#1351)
* Add EC support for Z490 ROG MAXIMUS XII HERO (WI-FI)

* Update EmbeddedController.cs

Removed the broken line

* Update EmbeddedController.cs

Added the line back

* Update EmbeddedController.cs

Removed comment

* Update EmbeddedController.cs

Sorted by sensor address
2024-07-19 18:54:26 +02:00
SeongChan Lee a044f1fe31 GpuIntelIntegrated initial power value should be read from MSR_PP1_ENERGY_STATUS, not from MSR_RAPL_POWER_UNIT (#1366) 2024-06-26 10:49:45 +02:00
Tellinq 31f94fb05c Use more descriptive names for VTT, CPU SA/VCCSA, VBat (#1364)
VTT -> CPU Voltage Termination
VBat -> CMOS Battery
CPU SA, VCCSA, CPU VCCSA -> CPU System Agent
2024-06-26 10:47:14 +02:00
Tellinq 51a84b9033 Add proper definition support for all Gigabyte B450 models (#1367)
* Add B450M DS3H and its variants
Note: From what I've seen some DS3H will report with a -CF suffix. Unsure if this applies to all B450 models or just a select few. Will be researching more

* Add the rest of B450M

* Add all Gigabyte B450 models

* Remove AVCC3

This is not a real source, especially since we already have the +3.3V rail
2024-06-26 10:46:55 +02:00
TellinqandPhyxionNL 1b11816e24 Add support for ASRock Z690 Extreme/Steel Legend (and their WiFi 6e variants) (#1343)
* Initial implementation of ASRock Z690 Extreme (voltages to be implemented later)

* Add voltages

* Update pull requests.yml

* This branch is not supposed to have this

* Add remaining voltages

* Fix incorrect voltage calculations and namings

* Use suggested names

VCCIN -> CPU Input Voltage

Unidentified names will use the generic names, and will be hidden by default.

* Add the other ASRock motherboards that are identical to the Z690 Extreme

* This was an accident

* Use more descriptive names

* Fix doubled Vcore value

* Remove bogus voltage sensors

* Separate Z690 Steel Legend

* Update SuperIOHardware.cs

---------

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2024-06-16 17:08:48 +02:00
Tellinq 905b2a4db7 Add Gigabyte 970A-DS3P (and FX rev 2.1 model) support (#1363)
* Add Gigabyte 970A-DS3P (and FX rev 2.1 model)

* Fix CMOS Battery calculation

As well as use a more appropriate name
2024-06-16 16:59:39 +02:00
Tellinq ba59ab7e23 Add support for ASUS TUF Gaming X570-Plus (Wi-Fi) (#1362)
* Add ASUS TUF X570-WiFi (as a test)

* Add proper fan controls + attempt at proper temp detection

* Update pull requests.yml

* Remove non detected/wrong values

* Remove the need of GitHub actions on my fork
2024-06-15 17:59:59 +02:00
PhyxionNL beb3d35a1c Update SuperIOHardware.cs 2024-06-11 17:56:16 +02:00
Georgiy-Timoshin 1343508262 ASUS B150M-C_D3, B150M-C (#1225)
* B150M-C D3

* Update Identification.cs

* B150M-C

I'm not sure about the sensors, I took the z170 as a basis.

* B150M-C

Sorry for the redundancy.

* Fix Model

* Fix SuperIOHardware.cs

* Fix Identification.cs

* Correction

* Correction
2024-06-11 17:30:17 +02:00
Ezra Indrastata af7fca1397 Fix missing view for IT8792E and allow fan control for IT8792E on some Gigabyte AMD boards (#1313)
* Check before entering bugged 0x4E IT87

* Specify fan control registers for IT8792E

* Refactor chip ID reading using TryReadWord

* Introduce ECIO gigabyte EC control

* Add ECIO compatibility check

* Refactor to consider result of read/write

* Refactor styles and syntaxes

* Rename SMFI to Smfi

* Remove public modifier for consistency

* Update code style

* Increase timeout and remove sleep for ecio waits

* Remove extra WaitIBE
2024-06-11 17:28:37 +02:00
mirko93s 4a169defb6 Add Support for Asrock H61M-DGS (#1354) 2024-06-11 16:31:22 +02:00
SeongChan LeeandPhyxionNL 65058eb1f7 Add MSR_PLATFORM_ENERGY_COUNTER 0x64D (#1357)
* Add MSR_PLATFORM_ENERGY_COUNTER (0x64D)

MSR_PLATFORM_ENERGY_COUNTER 0x64D is a platform energy counter register according to
p. 2-272, "Intel® 64 and IA-32 Architectures Software Developer’s Manual, Volume 4: Model-Specific Registers"
It's description is:
> Total energy consumed by all devices in the platform
> that receive power from integrated power delivery
> mechanism, included platform devices are processor
> cores, SOC, memory, add-on or peripheral devices that
> get powered directly from the platform power delivery
> means. The energy units are specified in the
> MSR_RAPL_POWER_UNIT.Enery_Status_Unit.

* Update IntelCpu.cs

---------

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2024-06-11 16:30:53 +02:00
David Bresnick 517b9198bd Add basic T-Sensor support (#1347) 2024-06-03 11:49:48 +02:00
Emerson Pinter 3959e8e3c0 Fix AMD Overdrive, update ADL methods to ADL2 variants (#1332)
After the change of ADL2_Main_Control_Create in commit 07234e3,
overdrive api checks and sensors broke. Updating to ADL2_ variants fixes
the problem.
2024-05-15 19:21:11 +02:00
Emerson Pinter e62443761b Fix ADL PMLog sensor, ignore invalid values (#1329)
There was a missing condition to avoid invalid values reported by some
cards.
2024-05-05 15:32:43 +02:00
Emerson Pinter 418888502a Add shared memory free/total for Intel iGPU (#1328) 2024-05-03 10:23:21 +02:00
Emerson Pinter 92bfa55f12 Add memory info for Amd GPUs (#1326)
* Add DedicatedVideoMemorySize to D3D

* Add memory info for Amd GPUs
2024-05-02 23:55:39 +02:00
Emerson Pinter 07234e3594 Avoid multiple initializations of AmdGpu (#1324)
ADL finds multiple logical gpus, this commit avoids multiple
unneeded initializations of AmdGpu class. The main control is moved to
AmdGpuGroup and the ADL_* calls are updated to ADL2_*, using the
context. Adapters using PMlog should be initialized only if sensors are
detected, adapters that pmlog is not enabled or doesn't work, should
fallback previous logic.
2024-05-02 21:42:22 +02:00
Emerson PinterandPhyxionNL 0c3ebb1933 Refactor ADL sensors update (#1317)
* Refactor ADL sensors update

- Check support for each sensor, on OD8 and new PMLog.
- Exclude cards before Vega10 from using PMLog
- Better validation for individual sensor support (for now asic-power/board-power)
- Validate pmlog struct using the lastUpdate, there are situations the
  sensors values are corrupted, maybe because something blocking the pointer access to
  the struct, but this needs to be verified.

* Update AmdGpu.cs

---------

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2024-04-27 13:47:50 +02:00
Tracy Ward 769222de32 Add 16th voltage input for NCT67xxD chips (#1318)
The NCT6796D and NCT6796D-R have 16 voltage inputs.
2024-04-24 20:10:17 +02:00
Tianqian Zhu 4d6a755c11 Fix memory size calculation with extended size (#1315)
According to the specification v.3.3.0, Chapter 7.18, Table 74,
the Size row:

> If the size is 32 GB-1 MB or greater, the
> field value is 7FFFh and the actual size is stored in
> the Extended Size field.

Therefore the Extended Size should replace the value of Size if
the latter equals 0x7FFF. The Extended Size should not be added
to Size.

Also, since Extended Size is DWORD, Size should not be ushort.
2024-04-19 19:46:30 +02:00
Emerson PinterandPhyxionNL 331d334aef Add ADL pmlog support, fix metrics on newer gpus (#1308)
* Add ADL pmlog support, fix metrics on newer gpus

Newer GPUs needs this to show performance metrics properly. Sample rate
is hard coded (1000ms).

* Clean up

---------

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2024-04-09 11:00:16 +02:00
DkandPhyxionNL 7563340bff add B650M_AORUS_PRO_AX (#1301)
* add B650M_AORUS_PRO_AX

* update

* update

* Update SuperIOHardware.cs

---------

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2024-03-28 19:36:37 +01:00
Iksas 20b7394e96 fix heap corruption caused by incorrect pointer size in calls to Ftd2xx.dll (#1302) 2024-03-28 19:34:52 +01:00
sebastian-dev ea5d28166c Bugfix: Crash when access to nvml api is unavailable (#1252) 2024-03-25 17:08:15 +01:00
wlkmanist 4fb49c5e80 Add Humidity Sensors support (#1281)
* Add Humidity Sensors support

Signed-off-by: wlkmanist <vlad.king5555@mail.ru>

* Humidity icon

Signed-off-by: wlkmanist <vlad.king5555@mail.ru>

* fix humidity icon

Signed-off-by: wlkmanist <vlad.king5555@mail.ru>

---------

Signed-off-by: wlkmanist <vlad.king5555@mail.ru>
2024-03-25 17:07:22 +01:00