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

Failed to initialize on ASUS ROG STRIX B850-E

Open kuretru opened this issue 1 month ago • 3 comments

  • Hi, I just adapt ASUS ROG STRIX B850-E on LHM, https://github.com/LibreHardwareMonitor/LibreHardwareMonitor/pull/2093
  • After replace latest LibreHardwareMonitorLib.dll to FanControl, its initialize failed.
  • I just want to known does FanControl also need to be adapted? I can help with the testing.
  • Before replace latest lib, CPU fan and AIO pump can working well
Image Image

[V251] 12/11/2025 9:58:58 PM: Open - System.MissingMethodException: Method not found: 'Void System.Threading.Mutex..ctor(Boolean, System.String, Boolean ByRef, System.Security.AccessControl.MutexSecurity)'.
   at LibreHardwareMonitor.Hardware.Mutexes.<Open>g__CreateOrOpenExistingMutex|4_0(String name)
   at LibreHardwareMonitor.Hardware.Mutexes.<Open>g__CreateOrOpenExistingMutex|4_0(String name)
   at LibreHardwareMonitor.Hardware.Mutexes.Open()
   at LibreHardwareMonitor.Hardware.Computer.Open()
   at FanControl.Domain.BackendProviders.LHM.LHMBackendProvider.Open()
[V251] 12/11/2025 9:58:59 PM: Open - System.MissingMethodException: Method not found: 'Void System.Threading.Mutex..ctor(Boolean, System.String, Boolean ByRef, System.Security.AccessControl.MutexSecurity)'.
   at LibreHardwareMonitor.Hardware.Mutexes.<Open>g__CreateOrOpenExistingMutex|4_0(String name)
   at LibreHardwareMonitor.Hardware.Mutexes.<Open>g__CreateOrOpenExistingMutex|4_0(String name)
   at LibreHardwareMonitor.Hardware.Mutexes.Open()
   at LibreHardwareMonitor.Hardware.Computer.Open()
   at FanControl.Domain.BackendProviders.LHM.LHMBackendProvider.Open()
[V251] 12/11/2025 9:59:05 PM: Open - System.MissingMethodException: Method not found: 'Void System.Threading.Mutex..ctor(Boolean, System.String, Boolean ByRef, System.Security.AccessControl.MutexSecurity)'.
   at LibreHardwareMonitor.Hardware.Mutexes.<Open>g__CreateOrOpenExistingMutex|4_0(String name)
   at LibreHardwareMonitor.Hardware.Mutexes.<Open>g__CreateOrOpenExistingMutex|4_0(String name)
   at LibreHardwareMonitor.Hardware.Mutexes.Open()
   at LibreHardwareMonitor.Hardware.Computer.Open()
   at FanControl.Domain.BackendProviders.LHM.LHMBackendProvider.Open()
[V251] 12/11/2025 9:59:10 PM: Open - System.MissingMethodException: Method not found: 'Void System.Threading.Mutex..ctor(Boolean, System.String, Boolean ByRef, System.Security.AccessControl.MutexSecurity)'.
   at LibreHardwareMonitor.Hardware.Mutexes.<Open>g__CreateOrOpenExistingMutex|4_0(String name)
   at LibreHardwareMonitor.Hardware.Mutexes.<Open>g__CreateOrOpenExistingMutex|4_0(String name)
   at LibreHardwareMonitor.Hardware.Mutexes.Open()
   at LibreHardwareMonitor.Hardware.Computer.Open()
   at FanControl.Domain.BackendProviders.LHM.LHMBackendProvider.Open()
[V251] 12/11/2025 9:59:15 PM: Open - System.MissingMethodException: Method not found: 'Void System.Threading.Mutex..ctor(Boolean, System.String, Boolean ByRef, System.Security.AccessControl.MutexSecurity)'.
   at LibreHardwareMonitor.Hardware.Mutexes.<Open>g__CreateOrOpenExistingMutex|4_0(String name)
   at LibreHardwareMonitor.Hardware.Mutexes.<Open>g__CreateOrOpenExistingMutex|4_0(String name)
   at LibreHardwareMonitor.Hardware.Mutexes.Open()
   at LibreHardwareMonitor.Hardware.Computer.Open()
   at FanControl.Domain.BackendProviders.LHM.LHMBackendProvider.Open()
[V251] 12/11/2025 9:59:19 PM: LibreHardwareMonitor could not initialize or has no sensors.

kuretru avatar Dec 11 '25 14:12 kuretru

Seems like you put the wrong .net build in FanControl. .NET 10 needs to be with .NET 10 and so on.

Rem0o avatar Dec 11 '25 14:12 Rem0o

Sorry, it was my oversight. The DLL in LibreHardwareMonitor is .NET 472. After using .NET 10, the fans can be detected normally, but it still only detects the CPU fan and AIO pump. So, do you still need to adapt it?

kuretru avatar Dec 11 '25 15:12 kuretru

nop its all lhm

Rem0o avatar Dec 11 '25 16:12 Rem0o

solved, just fan and speed sensor were hidden, because there are no pairing, why it's not auto pairing, Is there anything I can continue developing? fan name and speed sensor name are same in LHM.

kuretru avatar Dec 14 '25 03:12 kuretru