Commit Graph
493 Commits
Author SHA1 Message Date
Blacktempel c542e856d4 Replace Storage implementation with CrystalDiskInfo based implementation (#2015)
* Replace Storage implementation with CrystalDiskInfo based implementation.

* Formatting.

* Code review.

* Code review.

* Increase space for attribute name in report.

* Implement dynamic disk handling for usage sensor.

Disable unused warnings.

* Further cleanup in NativeMethods.txt and referenced.
2025-11-08 10:53:43 +01:00
objecttothis 517794ce53 Add ASRock X870E Nova WiFi Support (#2012)
* Add ASRock X870E Nova WiFi Support

- Added support for Nuvoton NCT5585D chip
- Added support for Nuvoton NCT6796D-S chip
- Added motherboard-specific switch to select the correct chip due to duplicate chip ID/Revision (see #2005)
- Added chips to disable monitor i/o space lock block
- Added business logic to include chips in _superIOs.Add for the Nct677X() logic.
- Added chips to business logic to properly assign indices for fans, controls, temperatures and voltages.
- Added TSENSOR to the enum for SourceNct67Xxd to display the 3rd thermistor sensor.
- Added Naming and Identification for the X870E Nova WiFi
- Supressed warnings and added documentation

* Corrections

These changes reflect scraping the datasheet for the correct registers, half-registers, halfBits, sourceRegisters and alternateRegisters
- Replaced TSENSOR with AUXTIN5 as it is named in the datasheet
- Corrected Register values
- Reworked indexes and temperature naming

* Requested Changes

- Linked to PR instead of Datasheet which may change.
- Changed descriptions to be more understandable rather than using Datasheet labels

* Removed duplicate TSENSOR in enum
2025-11-06 13:39:13 +01:00
Betalos (Oussama Thoura)andPhyxionNL 7aff2a8a77 FIX missing T_SENSOR of X870e Taichi (#2003)
* FIX missing T sensor 3 of X870e Taichi

* FIX Adjust X870E taichi votages readings

* FIX Conditionally add missing register to NCT6799D

* Update Nct677X.cs

* Update LibreHardwareMonitorLib/Hardware/Motherboard/SuperIOHardware.cs

---------

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2025-11-04 12:46:09 +01:00
Betalos (Oussama Thoura) 0d3b16c704 Add support to Gigabyte b650i AX (#2011)
* Add support to Gigabyte B650I

* Update SuperIOHardware.cs
2025-11-03 17:05:33 +01:00
salvathor79andPhyxionNL 2a886a938d X570_MS7C35 added 2 temperatures from NTCs connected to voltage channels. Fixed Nct67x registers. (#1975)
* X570_MS7C35 added 2 temperature form NTCs connected to voltage channels.
Fix Nct677X registers.

* Update LibreHardwareMonitorLib/Hardware/Motherboard/SuperIOHardware.cs

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>

* Update LibreHardwareMonitorLib/Hardware/Motherboard/SuperIOHardware.cs

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>

---------

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2025-10-31 10:38:03 +01:00
dependabot[bot]PhyxionNLcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Copilot
cbd3f4b1d2 Bump Microsoft.Windows.CsWin32 from 0.3.235 to 0.3.236 (#1999)
* Bump Microsoft.Windows.CsWin32 from 0.3.235 to 0.3.236

---
updated-dependencies:
- dependency-name: Microsoft.Windows.CsWin32
  dependency-version: 0.3.236
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix build compatibility with Microsoft.Windows.CsWin32 0.3.236 (#2000)

* Initial plan

* Fix compatibility with CsWin32 0.3.236 and resource path case sensitivity

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>

* Remove unnecessary local variable pData in BatteryGroup.cs

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2025-10-30 23:51:27 +01:00
PhyxionNL 5670130347 Refactor value assignment to use new string constructor 2025-10-29 10:27:01 +01:00
PhyxionNL 21e09cb5b1 Refactor devicePath initialization in BatteryGroup
Ref: https://github.com/LibreHardwareMonitor/LibreHardwareMonitor/issues/1946
2025-10-29 10:05:58 +01:00
Arnold VinkandPhyxionNL 4e0ba8959c Added Gigabyte X870 AORUS ELITE WIFI7 ICE support. (#1991)
* Added Gigabyte X870 AORUS ELITE WIFI7 ICE support.

* Update LibreHardwareMonitorLib/Hardware/Motherboard/Lpc/IT87XX.cs

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>

---------

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2025-10-27 13:43:23 +01:00
Serial95andPhyxionNL 9ba0002de6 Add Information for Gigabyte GA-MA790X-DS4 motherboard and more (#1980)
* Add Info for Gigabyte GA-MA790X-DS4 and some Typo corrections

* Fix casing of 'VBAT' to 'VBat' in SuperIOHardware

---------

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2025-10-24 16:05:12 +02:00
Riccardo Manzan 3abeda696b [#1934] dev: add support for MSI B850M GAMING PLUS WIFI6E (#1967) 2025-10-17 16:45:26 +02:00
PhyxionNL eef7cceee5 Fixes #1956 2025-10-14 18:33:44 +02:00
PhyxionNL df2c5ebc43 Temporarily disable AMD 10 2025-10-09 20:12:23 +02:00
Carlos BederiánandPhyxionNL fe9857c2ed Intel discrete GPU support (#1822)
* Intel discrete GPU support through Intel GCL library

* Formatting

---------

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2025-10-09 20:11:02 +02:00
hopsaandStephan Koster 8b42be793b added support for MSI PRO B850-S WIFI6E (#1948)
added identifier string to Identification.cs
added new model enum entry B850S_PRO_WIFI6E
added B850S_PRO_WIFI6E to the list of models that get the NCT6687DR instead of NCT6687D

Co-authored-by: Stephan Koster <skoster@enclustra.com>
2025-10-09 13:06:30 +02:00
EMN-CSharp 31c9ca32d3 Battery.cs: Don't set the Name property, since it overrides custom names. (#1933) 2025-10-04 16:28:12 +02:00
Rémi Mercier 77882ddc82 Fix nullref exception in ATAStorage (#1931) 2025-10-04 16:24:41 +02:00
Serial95 c19f38c27d Add support for ASUS TUF GAMING B450 PLUS II and fixes for some ITE (#1677)
* Add informations for ASUS TUF GAMING B450 PLUS II + some fix

* Improved and more correct IT8665 fixes
2025-10-02 12:36:18 +02:00
Nick Babcock b39bf31fac Fix DimmMemory concatenated identifier (#1923)
Instead of identifiers like `/memory%2Fdimm%2F0`, I'm assuming they are
meant to be split up like `/memory/dimm/0`
2025-10-01 19:25:53 +02:00
PhyxionNL 43fd84d182 Fixes #1824 2025-10-01 12:50:35 +02:00
PhyxionNL 2eb3105252 Merge branch 'master' of https://github.com/LibreHardwareMonitor/LibreHardwareMonitor 2025-10-01 10:42:02 +02:00
PhyxionNL e2227e2d94 Fixes #1919 2025-10-01 10:42:01 +02:00
demorfi bcc197f265 Added base support Asus ROG Crosshair X670E Hero and PSU MSI MEG Ai1300P (#1575)
* Added base support matherboard Asus ROG Crosshair X670E Hero

* Added base support PSU MSI MEG Ai1300P

* Refactoring MSI PSU lib
2025-09-30 19:03:13 +02:00
PhyxionNL d594734225 Move remainder to CsWin32 (#1918) 2025-09-30 18:58:21 +02:00
PhyxionNL 1d7b3223c9 Move more to CsWin32 (#1917) 2025-09-30 16:50:44 +02:00
PhyxionNLandCopilot ee60348eac Use CsWin32 (#1912)
* Use CsWin32

* Update LibreHardwareMonitorLib/Hardware/Cpu/CpuLoad.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update LibreHardwareMonitorLib/Hardware/Battery/BatteryGroup.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update pull requests.yml

* Update pull requests.yml

* Update master.yml

* A couple more to CsWin32

* Restore PawnIO defaults

Fixes #1910

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-29 18:48:00 +02:00
Teemu KorhonenandPhyxionNL c56cf3f042 Use PawnIO driver directly in LibreHardwareMonitorLib (#1908)
* Use PawnIO driver directly.

- Implemented PawnIO library in C#
- Builds in AnyCPU, x64 and x86
- Fixes #1895

* Implement review changes for PawnIO.

- Use existing Kernel32.CreateFile import.
- Move new DeviceIOControl to Kernel32.
- Replace Lazy Version loading with static property.
- Remove bin resource cache.
- Add constant for function name length.

* More review changes for PawnIO.

- Replace redundant internal checks with IsLoaded.
- Convert Win32 error code to HRESULT before returning it in
  ExecuteHR()

* Drop KernelDriver

---------

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2025-09-29 16:41:57 +02:00
PhyxionNL 79a043e5bf Fixes #1889 2025-09-27 12:54:24 +02:00
辉夜andPhyxionNL 3023089017 Changed NvApi lifecycle (#1885)
* Changed NvApi lifecycle

* Changed from public to internal

* Revert unnecessary changes.
Reinitialize() -> Initialize().

* Refactor try-catch blocks for NVML device methods

---------

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2025-09-26 10:34:20 +02:00
Jonathan Smith 16fcb62135 fix: Add missing sensors for Asus ROG X670E-HERO / GENE (#1900) 2025-09-25 19:15:50 +02:00
Betalos (Oussama Thoura) 12fcfa6752 Record RTX 50XX gpu core temp with decimal precision (#1899) 2025-09-25 19:05:35 +02:00
PhyxionNL ca5f07d776 Merge branch 'master' of https://github.com/LibreHardwareMonitor/LibreHardwareMonitor 2025-09-25 18:54:12 +02:00
PhyxionNL 9ad730d811 Clean up CorsairPsu 2025-09-25 18:54:08 +02:00
JoeBroesele a18b1221ad Added support for Lenovo V50t Gen 2. (#1897) 2025-09-25 11:54:33 +02:00
PhyxionNL 4534276fb6 Add MS-7C35 motherboards
Closes #1573
2025-09-23 11:57:13 +02:00
PhyxionNL 8b9c33100d Update SuperIOHardware.cs 2025-09-23 11:43:44 +02:00
PhyxionNL 8042a505b0 Merge branch 'pr/1503' 2025-09-23 11:42:48 +02:00
PhyxionNL 4d77721c42 Merge 2025-09-23 11:40:21 +02:00
PhyxionNL 0f86b50ff4 Merge branch 'pr/1578' 2025-09-23 11:40:15 +02:00
PhyxionNL aa4428ba2a Rename 'CPU VDDIO / MC' to 'CPU VDDIO Memory' 2025-09-23 11:37:55 +02:00
PhyxionNL c234bb5a88 Update SuperIOHardware.cs 2025-09-23 10:44:27 +02:00
Betalos (Oussama Thoura) 52f22e0f7b Add support for Asrock X870E Taichi (lite) (#1888) 2025-09-23 10:40:09 +02:00
Blacktempel bb65e069fd Fix memory only being available for Intel (#1887)
* Current implementation of PawnIo.LoadModuleFromResource swallows exceptions instead of throwing them like it has been previously.
It also returns a not-null PawnIo object.
RAMSPDToolkitDriver has been catching exception, returning false for LoadModule and checking if returned object is null.
Therefore the return for a failed loaded module was true where it should have been false.

Returning null from PawnIo.LoadModuleFromResource in catch block fixes this issue.

* Add IsValid property for PawnIo and check in RAMSPDToolkitDriver.
Remove null return.

* Update RAMSPDToolkit to newest version.
Fixes bug in .NET Framework and changed PawnIO interface due to adjusted Piix4 detection.

Add new Data sensor.

* Rename property.
2025-09-23 10:38:48 +02:00
辉夜 3d8642c03f Fix RTX 40 Series Hot Spot and Memory Junction sensor not reading (#1890)
* Resolved an issue where RTX 40 Series sensors.

* change if to else if
2025-09-22 23:00:21 +02:00
Rémi Mercier afa34e080e close lmsensors+lpcIO after hardware.close() (#1886)
internally hardware.close() may use lpcIO like SuperIOHardware which does SetControl(index, null).
2025-09-22 22:56:07 +02:00
Vladimir 4477ae8826 Merge remote-tracking branch 'upstream/master' 2025-09-22 02:14:29 +03:00
Betalos (Oussama Thoura)andPhyxionNL 2f595d76c2 FIX RTX 50XX Memory junction temp reading (#1878)
* Update NvidiaGpu.cs

* Enhance 50 series detection logic

* Remove unused namespace import in NvidiaGpu.cs

Removed unused 'System.Xml.Linq' namespace import.

---------

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2025-09-21 13:54:21 +02:00
namazsoandPhyxionNL eb5e1a20be Swap WinRing0 to PawnIO (#1857)
* Replace WinRing0 with PawnIO

* Update RAMSPDToolkit

* Add install check + cleanup

* Move folder + formatting

* Add back missing TryLoadDll

* Update PawnIo.cs

* Add third party notices file

* Remove the how to apply section

* Drop silent

* Don't crash if PawnIO isn't installed

* Formatting

---------

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2025-09-16 11:58:31 +02:00
Jerry Liu 1704f8c7b7 Support ASUS ROG Crosshair X870E Apex (#1834)
* Support ASUS ROG Crosshair X870E Apex

* Remove unnecessary HashSet

* Adjust Temperature Sensor Mapping

Both Temp #1 and Temp #22 move with CPU load, but it looks like Temp #22 is actually CPU which is the same as the Hero. #1 doesn't align mostly with VRM but isn't an exact match.

* Refactor temperature sensor mapping

Replaces the temperature sensor dictionary mapping with explicit additions for known sensors and a loop to add unmapped sensors.
2025-09-11 15:35:37 +02:00
WinFinn 92af930021 Add sensors to aquacomputer d5 next (#1825)
* Add sensors to D5Next

* Cleanup debug code
2025-09-08 13:16:37 +02:00