Commit Graph
810 Commits
Author SHA1 Message Date
Rem0o 38162b5824 Fix float to byte conversion. (#547)
The conversion was using a double between the float value to the byte value, which cause some issue with a software value of 100f, which resulted to 254 instead of 255.

Extracted as a function.
2021-09-25 10:40:54 +02:00
Kevin De Magalhaes 095cce0394 Add Asus Crosshair VIII Formula motherboard (#544)
Thanks to @kedema
2021-09-20 13:08:12 +02:00
Eugene Shalygin c0fe15050f Fixes for ASUS Crosshair VIII Hero (#540) 2021-09-19 10:22:55 +02:00
javguit 05b271a85a Added fan control support for motherboards with W836XX chips (#534)
Thanks to @javguit
2021-09-18 12:37:09 +02:00
javguit 0fd00e27bb Fixed compatibility with older AMD/ATI cards when calling ADL2_Adapter_FrameMetrics_Caps (#535) 2021-09-10 11:02:39 +02:00
ntoff b1c2dfbf0b Add Gigabyte X570 Gaming X motherboard (#520)
Display proper fan names and voltages
(tested on a revision 1.0 board)
2021-08-21 10:26:18 +02:00
PhyxionNL e061f72229 Fixes #516 (#518) 2021-08-19 23:07:19 +02:00
PhyxionNL 8ff92f3b08 0.8.8 2021-08-16 13:56:11 +02:00
PomianandPhyxionNL e7468b1cad Add support for Asus ROG Strix B550-I Gaming motherboard (#503)
* Add support for Asus B550-I Gaming motherboard

* Change detection to switch in case if any fan are not present

* Keep consistent naming

* Update Identification.cs

* Update SuperIOHardware.cs

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2021-08-09 12:46:51 +02:00
ReggXandPhyxionNL bb83c281f1 Extend ASUS EC detection to other Crosshair VIII models (#511)
* Extend ASUS EC detection to other Crosshair VIII models

Tested to work on my CROSSHAIR VIII Dark Hero.
*Should* also work on the Impact, Formula and Extreme boards since they use the same sensors and thereby most likely the same EC.

Alternatively, an extra case with name.Equals("ROG CROSSHAIR VIII DARK HERO", StringComparison.OrdinalIgnoreCase) could be used instead.

* Add ROG_CROSSHAIR_VIII_DARK_HERO model

* minor formatting

* Update EmbeddedController.cs

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2021-08-08 13:55:42 +02:00
JoeBroesele 88761c0921 Update PlotPanel.cs (#509) 2021-08-08 10:28:07 +02:00
M 91d9e81c07 Fix Nvidia memory report where free and used memory were mixed (#499) 2021-07-25 11:00:52 +02:00
Rem0o 07beb4f98f Set IsOpen to false when closing. (#491) 2021-07-15 10:46:20 +02:00
PhyxionNL 3064810283 Order D3D sensors by name 2021-06-23 15:51:16 +02:00
PhyxionNL 9dc90f1ff7 Update NvidiaGpu.cs
Some small changes.
2021-06-23 15:30:34 +02:00
PhyxionNL 6561275202 Retry WMI in AbstractStorage (#481)
Fixes #472.
2021-06-23 10:53:05 +02:00
Eugene Shalygin 73a86c6239 Label and unmask DRAM voltage sensor for Crosshair VIII Hero (#482) 2021-06-23 10:00:46 +02:00
PhyxionNL d25b58f7ea Always free allocated memory in FirmwareTable 2021-06-22 16:43:13 +02:00
PhyxionNL e2dfddfbf4 Use already existing FirmwareTable instead of WMI 2021-06-22 14:39:19 +02:00
PhyxionNL 24331fb6dc Move EmbeddedController model selection out of Motherboard 2021-06-22 10:22:06 +02:00
Eugene Shalygin e5a852457f Add support for Corsair PSUs (#458)
Thanks to @zeule
2021-06-22 10:13:54 +02:00
PhyxionNL 1f7450019f Update master.yml 2021-06-22 09:36:10 +02:00
PhyxionNL eea8558825 Use NvAPIWrapper (#479)
From https://github.com/falahati/NvAPIWrapper
2021-06-21 19:02:10 +02:00
PhyxionNL bb9a6bb420 Add InpOut source and license 2021-06-21 18:48:37 +02:00
PhyxionNL a10c33ec0a WinRing0 revert (#478) 2021-06-21 18:30:21 +02:00
PhyxionNL 743cc795d7 Add D3D sensors to the end (#480) 2021-06-21 18:23:29 +02:00
PhyxionNL a96c97f741 Update Nct677X.cs (#475) 2021-06-20 14:59:16 +02:00
PhyxionNL e276614418 Report all ADL status (#474)
* Report all ADL status

* Formatting
2021-06-19 10:12:44 +02:00
PhyxionNL 742c71c629 [ci skip] 2021-06-18 16:45:18 +02:00
PhyxionNL af58c32e78 [ci skip] 2021-06-18 16:45:01 +02:00
PhyxionNL a53f93d09a #462 followup (#471)
* Update WindowsEmbeddedControllerIO.cs

* Update WindowsEmbeddedControllerIO.cs
2021-06-17 16:45:41 +02:00
PhyxionNL b8288cbb99 Fix #472 2021-06-17 13:08:45 +02:00
kolos 57140e219b Fix AMD sensor index for RR (#470) 2021-06-14 18:12:05 +02:00
kolos 3df898af24 Add Ryzen SMU support (#428)
Thanks to @kolos.
2021-06-11 09:36:17 +02:00
PhyxionNL 0b5aaa07a9 Remove some whitespace 2021-06-11 09:34:53 +02:00
kolos ad1b8a8687 Add check for ADL (fan) Sensor support (#467)
* Add check for ADL (fan) Sensor support

* Use the right property.
2021-06-10 17:14:43 +02:00
PhyxionNL a8dc0a03ad Fix AMD overdrive 8 (#466) 2021-06-10 09:25:31 +02:00
Eugene Shalygin 8717191fc2 Add embedded controller sensors for ROG STRIX X570-E GAMING (#462) 2021-06-07 10:15:12 +02:00
PomianandPhyxionNL 19246a5774 Add NuGet to how to start (#463)
* Add NuGet to how to start

* Update README.md

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2021-06-06 17:21:21 +02:00
Eugene Shalygin 147f6b0b94 CPU SoC voltage sensor for ASUS C8H (#459)
Name and unhide CPU SoC voltage sensor for ASUS C8H
2021-06-03 10:32:23 +02:00
PhyxionNL fe1be6b224 Fixes #451 2021-06-01 13:36:40 +02:00
Pomian 694b5db58c Initial internal documentation (#391)
Thanks to @Pomianowski
2021-06-01 13:31:55 +02:00
kolos 5dc6cb95c8 Add D3D GPU Sensors (#426)
Thanks to @kolos.
2021-06-01 13:30:52 +02:00
Eugene Shalygin 37e917a4f8 Add sensors for ASUS Crosshair VIII Hero (#453)
Thanks to @zeule!
2021-06-01 11:06:42 +02:00
Nick Babcock 993dadd4dd Impose WMI timeouts (#444)
WMI queries do not have a timeout by default and can subsequently hang.
This commit adds timeouts to avoid these hangs.

On timeout, `Get` will throw a `ManagementException` that has an error
code of `ManagementStatus.Timedout`. In the case of abstract storage,
this exception will be silently swallowed and the statistics from WMI
not updated until the next update interval, which seems appropriate.

The storage group, on the other hand, a timeout there would cause an
initialization exception which would be propagated up to the caller
(which seems ok as something must be terribly wrong for that WMI query
to fail).

The code was also updated to call dispose for all the WMI objects. I
don't see this causing a behavior difference, but I found it better to
be safe than sorry.

The timeouts were chosen to be a compromise between returning in a
reasonable timeframe and allowing WMI, which can be terribly slow, to
return the query.
2021-05-14 09:24:50 +02:00
Nick Babcock 73c0be1384 Rename CopyMemory RtlCopyMemory (#438)
There is no entry for `CopyMemory` exported from kernel32.dll as it is
omitted from the following output:

```
dumpbin /exports C:\Windows\System32\kernel32.dll
```

The name we're looking for is `RtlCopyMemory`. This does not affect
traditional .NET framework users as `CopyMemory` was special cased prior
to .NET core
([source](https://github.com/dotnet/runtime/issues/12496#issuecomment-483442084))

The incorrect entry point will cause an `EntryPointNotFoundException`
for NET core users (ref:
https://github.com/nickbabcock/OhmGraphite/issues/214)

There were a couple other entries in kernel32 that are missing:

  - CreateFile
  - LoadLibrary

Both functions appear to have a `CreateFileA` and `LoadLibraryA`
variant, but I do not know if those are appropriate.
2021-05-09 16:46:11 +02:00
CzBiX 5a47cda6ed Center align text in tray icon (#435)
* Center align text in tray icon

* Use GetHicon instead of bitmap copy
2021-05-08 11:36:55 +02:00
Nick BabcockandPhyxionNL d1f1e6afa9 Fix funding file syntax (#437)
* Fix funding file syntax

Looks like it needs a list in order to appear.

* Update FUNDING.yml

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2021-05-08 10:21:14 +02:00
JokkeandPhyxionNL ede484bfb8 Fix NullReferenceException, if NZXT CAM is running at the same time (#434)
* Fix NullReferenceException, if NZXT CAM is running at the same time

* Remove unnecessary variable declaration

Remove never used variable.

* Update SMBios.cs

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2021-05-04 11:56:47 +02:00
Teriand 2ada42f869 Add check and swap wrong bios date format (#432) 2021-04-27 11:27:26 +02:00