HWInfo could not initialize or has no sensors
XYZliang opened this issue · 25 comments
I installed a adjustable fan on the memory of the chassis. I want to control the fan by monitoring the temperature of the memory, but the FanControl does not have the temperature of the memory I need, so I try to use your plug-in.
I downloaded the latest version of FanControl(V142), FanControl.hwinfo (1.2), HWiNFO64(7.34-4930),
After following the steps, FanControl can recognize the HWInfo plug-in and I have enabled it. At the same time I started HWiNFO in sensor-only mode and checked the "Enable reporting to Gadget" check box while selecting "Report Values in Gadget" for the memory temperature sensor.
But nothing seems to have changed in FanControl. When I tried "Refesh sensors detection", FanControl showed "HWInfo could not initialize or has no sensors".
Any logs.txt?
Also, take a look at your windows registry, this location:
Computer\HKEY_CURRENT_USER\Software\HWiNFO64\VSB
There should be an entry in there per sensor you export for HWInfo.
I tried refreshing the sensor data or even restarting FanControl after turning off the other plugins to enable only HWInfo and deleting the old log file, and after the error that it could not be initialized, I found that FanControl did not output any log file content.
The registry directory contains the entries I need:
I suspect the "non ascii" entries ( is that chinese ? ) causing problem.
Any Logs.txt in fancontrol's folder?
@MiyukiLoveu make sure HWInfo is open in sensor mode, with some sensors exported to gadget.
你好,你最后解决了不能识别内存温度的bug了吗,我碰到了一样的情况。日志里面没看懂,就一行HWInfo could not initialize or has no sensors.
@MiyukiLoveu make sure HWInfo is open in sensor mode, with some sensors exported to gadget.
Thank you , it works
same issue. already exported the sensors to the gadget. The log only shows HWInfo could not initialize or has no sensors.
This problem was fixed for me by going into HWInfo -> Configure Sensors -> HWInfo Gadget and selecting the entries that I wanted to export by selecting "Enable reporting to Gadget" and then for each sensor value clicking "Report value in Gadget".
This was previously unnecessary as every value was being reported into memory by HWInfo. Not sure exactly what changed...
Adding power[W] gives the same error.
HWInfo -> Configure Sensors -> Customize, solved in changed units.
Same problem here.
Log entry: "HWInfo could not initialize or has no sensors."
HWInfo is running in sensor mode, reporting to gadget is enabled and individual sensors are ticked off to report the values to gadget.
The entries in the registry at HKEY_CURRENT_USER\Software\HWiNFO64\VSB are there, without non-ASCII characters.
Latest version of FanControl (V153), latest version of FanControl.HWInfo (V1.3). Plugins-Folder created in FanControl and FanControl.HWInfo.dll copied there. The dll is not blocked/locked.
FanControl is started from the folder, not from a desktop shortcut.
Any ideas?
I need HWInfo because LibreHardwareMonitor isn't finding any sensors at all.
I am seeing this issue as well for every sensor I try other than CPU (Tctl/Tdie).
In hWiNFO Gadget tab if I have CPU (Tctl/Tdie) selected (Report value in Gadget), I do not get the "HWInfo could not initialize or has no sensors." error, but none of the other sensors I've selected (GPU Core Load, for example) are selectable in Fan Control.
If I remove CPU (Tctl/Tdie) in hWiNFO Gadget then I get the error - even though I still have other sensors selected.
In hWiNFO Gadget tab if I have CPU (Tctl/Tdie) selected (Report value in Gadget), I do not get the "HWInfo could not initialize or has no sensors." error, but none of the other sensors I've selected (GPU Core Load, for example) are selectable in Fan Control.
I would try this but my platform does not offer those sensors in HWInfo.
@Rem0o Any updates on this issue or suggestions how we can assist to further troubleshoot this problem?
Some comments: the unit for the sensor readings has to be °C, and if not, can be renamed it in HWiNFO.
Have we always had to enable "Report value in Gadget"? I thought I had used this plugin before, but I have never enabled any values in the "HWiNFO Gadget" tab at all.
I did that now, and got this error when I refresh sensors in Fan.Control:
2023-05-20 06:46:30: Unhandled exception in FanControl v157.0.0.0
2023-05-20 06:46:30: System.Exception: HWInfo sensors failed: HWInfo/GPU [#0]: NVIDIA GeForce RTX 3070: /GPU Hot Spot Temperature/°C
vid FanControl.HWInfo.HWInfoPlugin.Update() i C:\projects\fancontrol-hwinfo\HWInfoPlugin.cs:rad 93
vid FanControl.Domain.BackendProviders.Plugin.PluginBackendProvider.Update()
vid System.Collections.Generic.List1.ForEach(Action
1 action)
vid FanControl.Domain.ComputerAccessLayer.Update()
vid FanControl.Domain.ApplicationClock.DoActions()
--- Slut på stackspårningen från föregående plats där ett undantag utlöstes ---
vid System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
vid System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
vid System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Also, the first response from @Rem0o :
Any logs.txt?
Also, take a look at your windows registry, this location: Computer\HKEY_CURRENT_USER\Software\HWiNFO64\VSB
There should be an entry in there per sensor you export for HWInfo.
I do not have a "folder" called "VSB" there. I only have "Sensors" and "Summary". Is that incorrect?
i have vsb and value, my problem is same with @XYZliang
i guess its becaues the some formatting is incorrect, maybe a separator, maybe a unit of measurement.
@Rem0o I recently reinstalled my system and tried to re-use the plugin.
The problem is the same as before, but this time the logs have some information about the error reported as:
"2023/7/8 22:53:31: System.Exception: HWInfo is not running or reporting to gadget is not enabled.
At FanControl.HWInfo.HWInfoPlugin.Initialize() in C:\projects\fancontrol-hwinfo\HWInfoPlugin.cs:line 27
at FanControl.Domain.BackendProviders.Plugin.PluginBackendProvider.Open()"
But I'm sure hwinfo is running and has two temperatures open. I can see the corresponding entries in the registry HKEY_CURRENT_USER\Software\HWiNFO64\VSB
After several flushes, you get the following log file:
2023/7/8 22:53:31: System.Exception: HWInfo is not running or reporting to gadget is not enabled.
at FanControl.HWInfo.HWInfoPlugin.Initialize() in C:\projects\fancontrol-hwinfo\HWInfoPlugin.cs:line 27
at FanControl.Domain.BackendProviders.Plugin.PluginBackendProvider.Open()
2023/7/8 23:06:24: Unhandled exception in FanControl v161.0.0.0
2023/7/8 23:06:24: System.Exception: HWInfo was closed during operation.
at FanControl.HWInfo.HWInfoPlugin.Update() in C:\projects\fancontrol-hwinfo\HWInfoPlugin.cs:line 107
at FanControl.Domain.BackendProviders.Plugin.PluginBackendProvider.Update()
at FanControl.Domain.ComputerAccessLayer.Update()
at FanControl.Domain.ApplicationClock.DoActions()
--- End of stack trace from previous location ---
at FanControl.Domain.ApplicationClock.<>c__DisplayClass10_0.b__0()
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
2023/7/8 23:06:39: System.Exception: HWInfo is not running or reporting to gadget is not enabled.
at FanControl.HWInfo.HWInfoPlugin.Initialize() in C:\projects\fancontrol-hwinfo\HWInfoPlugin.cs:line 27
at FanControl.Domain.BackendProviders.Plugin.PluginBackendProvider.Open()
Try this version c166d14