Commit Graph
332 Commits
Author SHA1 Message Date
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
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
Marcusin acf96090b9 Added GIGABYTE B560I AORUS PRO AX (#1274) 2024-02-27 22:47:59 +01:00
Kirill Pertsev f93aafdd64 Added Gigabyte Z690 AORUS MASTER (#1258) 2024-02-27 09:26:59 +01:00
DanR edc3c5a18a Add Support for ASUS Proart X670E Creator WiFi (#1259) 2024-02-27 09:26:40 +01:00
sebastian-devandPhyxionNL dd5b3e1610 Intel Gen 14 Meteor Lake (#1253)
* Intel Gen 14 Meteor Lake
New Intel Gen.14 CPU Model ID

* Update IntelCpu.cs

---------

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2024-01-29 11:48:35 +01:00
Anders Eggers-Krag 2e5ebbe45c add TtempWaterIn and TempWaterOut for rog maximus z790 formula (#1238) 2024-01-13 19:19:17 +01:00
Jeff DandJeff Damphier 0bac025214 Add limited support for “ASUS ROG STRIX X670E-E GAMING WIFI” (#1235)
Co-authored-by: Jeff Damphier <jdamp@outlook.com>
2024-01-13 16:40:41 +01:00
Amit Cirt e4a038000f Add read activity to storage. (#1222) 2023-12-31 13:49:36 +01:00
wiruzmanandPhyxionNL f49f3c2550 Support Asus ROG MAXIMUS XI FORMULA (#1218)
* Add Asus ROG MAXIMUS XI FORMULA

* Align voltage names

* Update SuperIOHardware.cs

---------

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2023-12-31 13:49:19 +01:00
aivar11 39a930566b Add support for ASUS ROG STRIX X670E-F GAMING WIFI (#1224) 2023-12-31 13:46:55 +01:00
Mathieu GRENETandPhyxionNL 01af6e37f3 MSI MPG X570 GAMING PLUS (MS-7C37) Support (#1146)
* partial MSI X570 Gaming Plus Support

* sensors naming

* Update SuperIOHardware.cs

---------

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2023-12-20 20:09:20 +01:00
Rem0o a84e6c6e8d Add index to superIO identifier if required (#1183)
* Add index to superIO identifier if required

* Simplify the index logic to 1 dictionary

* Unwanted B660M config delete.

* Simplify SuperIOHardware indexing
2023-11-17 10:54:55 +01:00
Georgiy-Timoshin cada6b76b0 Added System fan control for P55A-UD3 (#1156)
Sys_fan 2 has a 4-pin connector, most likely it is controlled.
2023-09-01 12:58:15 +02:00
dde9e52823 reading the proposed Total Board Power for RX 7000 Cards (#1123)
* reading the proposed Total Board Power for RX 7000 Cards

* undo requested changes

* Update AmdGpu.cs

---------

Co-authored-by: Peter Hindelang <PHindelang@artiso.com>
Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2023-08-31 10:14:40 +02:00
Tavi Kohn d98ebf80d5 Add IT8686E Controls (#1145)
Adds controls for AX370 Gaming K7, AX370 Gaming 5 and AB350 Gaming 3
2023-08-31 10:13:09 +02:00
Georgiy-Timoshin 87900e4600 Added CPU fan control for P55A-UD3 (#1154) 2023-08-31 10:12:19 +02:00
Corey Shuman 6743fd3bc8 fix support for x86 32-bit process builds (#1144) 2023-08-24 10:26:38 +02:00
tekert c51381b2c2 Fix it8665e control fans (#1109)
* Move IT8665E Sensor to GetIteConfigurationsB

* Fix Fan controll settings
2023-08-20 11:36:33 +02:00
wlkmanist f0309b626b Add MS-7672 and MS-7757 boards (#1111)
Signed-off-by: wlkmanist <vlad.king5555@mail.ru>

 Conflicts:
	LibreHardwareMonitorLib/Hardware/Motherboard/Identification.cs
	LibreHardwareMonitorLib/Hardware/Motherboard/Model.cs
2023-08-20 11:35:39 +02:00
Christopher Ng ddfdee7f22 Add basic Asus ROG Crosshair X670E Hero support (#1137) 2023-08-10 13:44:05 +02:00
Alex 6d1a4195cf fix: Battery info Capabilities is a bit flag field (#1133)
* fix: Capabilities is a bit flag field

* * use Flags
2023-08-05 11:59:36 +02:00
Armin Osaj 833d82c085 Added Gigabyte Z690 Aorus Ultra sensor names (#1127) 2023-07-29 19:30:44 +02:00
DrLippe d0cf48c4d4 Add board support for ASUS Z790-I GAMING WIFI with EC (#1124)
* Add board support for ASUS Z790-I GAMING WIFI

* Add board support for ASUS Z790-I GAMING WIFI

* Add board support for ASUS Z790-I GAMING WIFI
2023-07-27 21:31:28 +02:00
Rem0o bf278bea3f Wrap stream.getfeature in try/catch (#1113) 2023-07-07 19:05:15 +02:00
PhyxionNL 05b1d108cd Revert "Move IT8665E Sensor to GetIteConfigurationsB (#1104)" (#1108)
This reverts commit d3925f6d82.
2023-06-29 15:26:27 +02:00