FanControl.HWInfo icon indicating copy to clipboard operation
FanControl.HWInfo copied to clipboard

HWInfo could not initialize or has no sensors

Open XYZliang opened this issue 2 years ago • 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". image

XYZliang avatar Jan 11 '23 06:01 XYZliang

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.

Rem0o avatar Jan 11 '23 14:01 Rem0o

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: image

XYZliang avatar Jan 19 '23 13:01 XYZliang

I suspect the "non ascii" entries ( is that chinese ? ) causing problem.

Rem0o avatar Jan 19 '23 14:01 Rem0o

我怀疑“非ascii”条目(是中文吗?)引起了问题。

Thank you for your reply, as you guessed, it is in Chinese. I changed the name of the entry, but the problem persists. image

XYZliang avatar Jan 20 '23 18:01 XYZliang

Any Logs.txt in fancontrol's folder?

Rem0o avatar Jan 20 '23 18:01 Rem0o

Had the same issue. Easy fix after looking at the log:

image

virtuoso-00 avatar Feb 05 '23 00:02 virtuoso-00

same issue 1 2 3

MiyukiLoveu avatar Feb 21 '23 14:02 MiyukiLoveu

@MiyukiLoveu make sure HWInfo is open in sensor mode, with some sensors exported to gadget.

Rem0o avatar Feb 21 '23 16:02 Rem0o

你好,你最后解决了不能识别内存温度的bug了吗,我碰到了一样的情况。日志里面没看懂,就一行HWInfo could not initialize or has no sensors.

chaoyue1024 avatar Feb 23 '23 22:02 chaoyue1024

Had the same issue. 屏幕截图 2023-02-24 053834

chaoyue1024 avatar Feb 23 '23 22:02 chaoyue1024

@MiyukiLoveu make sure HWInfo is open in sensor mode, with some sensors exported to gadget.

Thank you , it works

MiyukiLoveu avatar Feb 24 '23 08:02 MiyukiLoveu

same issue. already exported the sensors to the gadget. The log only shows HWInfo could not initialize or has no sensors.

juzi5201314 avatar Feb 28 '23 05:02 juzi5201314

same issue

same issue and same log image

XYZliang avatar Mar 03 '23 08:03 XYZliang

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...

richraid21 avatar Mar 19 '23 21:03 richraid21

Adding power[W] gives the same error. HWInfo -> Configure Sensors -> Customize, solved in changed units.

mumyeong54 avatar Apr 02 '23 19:04 mumyeong54

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.

MojoMC avatar Apr 12 '23 20:04 MojoMC

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.

pheare avatar Apr 13 '23 20:04 pheare

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?

MojoMC avatar May 17 '23 15:05 MojoMC

Some comments: the unit for the sensor readings has to be °C, and if not, can be renamed it in HWiNFO.

Milkiananas avatar May 18 '23 07:05 Milkiananas

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(Action1 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?

Fooughhy avatar May 20 '23 04:05 Fooughhy

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. 1 2 3 4

abcdehc avatar Jun 30 '23 15:06 abcdehc

@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

XYZliang avatar Jul 08 '23 15:07 XYZliang

我有 VSB 和值,我的问题与我想它的原因相同,因为某些格式不正确,也许是分隔符,也许是度量单位。 1 2 3 4

你的日志文件有内容吗?我之前使用aida64插件替代,但aida内存显示经常不稳定,还是hwinfo的检测靠谱,可是这个插件还是没法用,日志现在的报错说我没开报告功能

XYZliang avatar Jul 08 '23 15:07 XYZliang

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.<DoActions>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()

XYZliang avatar Jul 08 '23 15:07 XYZliang

Try this version https://github.com/Rem0o/FanControl.HWInfo/commit/c166d1467555ae702e0b979143c711835ef6643e

ouyangyiluo avatar Jan 03 '24 15:01 ouyangyiluo