mirror of
https://github.com/hirschmann/nbfc.git
synced 2026-04-25 16:45:53 +03:00
[PR #18] [MERGED] NbfcProbe/Linux MSR support/Sony Vaio VPCF12S1E #1257
Labels
No labels
Stale
bug
config
discussion
duplicate
enhancement
experimental
feature
help-wanted
info
invalid
invalid
pull-request
question
up-for-grabs
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nbfc-hirschmann#1257
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hirschmann/nbfc/pull/18
Author: @ntninja
Created: 8/10/2015
Status: ✅ Merged
Merged: 8/15/2015
Merged by: @hirschmann
Base:
master← Head:master📝 Commits (4)
9f4e151Add Linux MSR support to OpenHardwareMonitorc7a9c75Fixed typo in method name 'AquireLock' -> 'AcquireLock'03f2c3fAdd NbfcProbe command-line utility for reading from and writing to EC memoryc4ba904Create Sony Vaio VPCF12S1E.xml📊 Changes
14 files changed (+489 additions, -52 deletions)
View changed files
➕
Configs/Sony Vaio VPCF12S1E.xml(+70 -0)➕
Core/NbfcProbe/NbfcProbe.csproj(+61 -0)➕
Core/NbfcProbe/Program.cs(+152 -0)➕
Core/NbfcProbe/Properties/AssemblyInfo.cs(+22 -0)📝
Core/Plugins/OpenHardwareMonitor/Hardware/CPU/AMD0FCPU.cs(+1 -2)📝
Core/Plugins/OpenHardwareMonitor/Hardware/CPU/AMD10CPU.cs(+1 -2)📝
Core/Plugins/OpenHardwareMonitor/Hardware/CPU/GenericCPU.cs(+1 -1)📝
Core/Plugins/OpenHardwareMonitor/Hardware/CPU/IntelCPU.cs(+8 -8)📝
Core/Plugins/OpenHardwareMonitor/Hardware/Ring0.cs(+142 -28)📝
Core/Plugins/StagWare.Plugins.ECLinux/ECLinux.cs(+1 -1)📝
Core/Plugins/StagWare.Plugins.ECWindows/ECWindows.cs(+1 -1)📝
Core/StagWare.FanControl/FanControl.cs(+15 -8)📝
Core/StagWare.FanControl/Plugins/IEmbeddedController.cs(+1 -1)📝
NoteBookFanControl.sln(+13 -0)📄 Description
Well it's been a while…
Once you had given me that configuration file in #6 I realized that reading the temperature does not actually work on my (Linux) system: The temperature value was always
0°C(not good for cooling your Laptop…). Then I started working on my summer job and working on this project became low-priority.Yesterday I finally did some debugging and found out that OpenHardwareMonitor's Linux support is somewhat improvable. Many code-paths that attempt to read values from the kernel (such as reading MSR registers) are basically stubs unless the (Windows) kernel driver is loaded and accessible.
While I won't fix up OpenHardwareMonitor, I did decide to fix it's MSR code. This wasn't too hard as the Linux kernel includes a module (named
msr) that makes reading MSR registers pretty easy. Result: The temperature readings work on my Intel CPU. :-)Finally I could use the configuration file you had given me. While some tweaking was required it not works pretty well and now my laptop is finally quiet AND gets loud when there is need for it.
Additionally I adapted my EC RAM poking tool to fit into the existing codebase and toolchain and added it to the repository. Unlike my original version, this version should also work on Windows (but that is untested of course).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.