[PR #1004] [CLOSED] Add newer Intel CPUs from openhardwaremonitor-0.9.5 #1390

Closed
opened 2026-02-26 00:35:18 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hirschmann/nbfc/pull/1004
Author: @Dwedit
Created: 10/12/2020
Status: Closed

Base: masterHead: master


📝 Commits (1)

  • e60187f Copy-paste newer CPUs from the newer version of openhardwaremonitor-0.9.5

📊 Changes

1 file changed (+60 additions, -22 deletions)

View changed files

📝 Core/Plugins/OpenHardwareMonitor/Hardware/CPU/IntelCPU.cs (+60 -22)

📄 Description

To fix issue #1003 and add support for newer CPUs released after 2017.

The service was throwing an exception on startup, and this led to the program not working, and creating over 4000 startup failures in the event log.

The cause was that it was unable to find the CPU sensors. Upgrading the Intel CPU code to a newer version of openhardwaremonitor-0.9.5 seems to have fixed the problem.

Note that this is a hack-job of selectively copy-pasting lines from openhardwaremonitor-0.9.5 in a way to not break compatibility, the code no longer matches any released version. Ideally, we'd want to upgrade all the code to openhardwaremonitor-0.9.5, but some code that uses it currently doesn't work with that version.

Perhaps we'd also like to have the service no longer set to endlessly restart itself on every failure.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hirschmann/nbfc/pull/1004 **Author:** [@Dwedit](https://github.com/Dwedit) **Created:** 10/12/2020 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`e60187f`](https://github.com/hirschmann/nbfc/commit/e60187f039ae3d92e4871f6943e3db225a8bc651) Copy-paste newer CPUs from the newer version of openhardwaremonitor-0.9.5 ### 📊 Changes **1 file changed** (+60 additions, -22 deletions) <details> <summary>View changed files</summary> 📝 `Core/Plugins/OpenHardwareMonitor/Hardware/CPU/IntelCPU.cs` (+60 -22) </details> ### 📄 Description To fix issue #1003 and add support for newer CPUs released after 2017. The service was throwing an exception on startup, and this led to the program not working, and creating over 4000 startup failures in the event log. The cause was that it was unable to find the CPU sensors. Upgrading the Intel CPU code to a newer version of openhardwaremonitor-0.9.5 seems to have fixed the problem. Note that this is a hack-job of selectively copy-pasting lines from openhardwaremonitor-0.9.5 in a way to not break compatibility, the code no longer matches any released version. Ideally, we'd want to upgrade all the code to openhardwaremonitor-0.9.5, but some code that uses it currently doesn't work with that version. Perhaps we'd also like to have the service no longer set to endlessly restart itself on every failure. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 00:35:18 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nbfc-hirschmann#1390
No description provided.