GithubHelp home page GithubHelp logo

fancontrol.lianli's Introduction

FanControl.LianLi

An unofficial LianLi plugin for FanControl.

Support

Device Support

Device PID Status Read Fan RPM Set Fan RPM
LianLi-UNI SL 7750, a100 Supported ✔️ ✔️
LianLi-UNI AL a101 Supported ✔️ ✔️
LianLi-UNI SL-Infinity a102 Supported ✔️ ✔️
LianLi-UNI SL v2 a103, a105 Supported ✔️ ✔️
LianLi-UNI AL v2 a104 Supported ✔️ ✔️

Installation

  1. Download latest release. You will have 2 options once you unzip the file:

    • FanControl.LianLiPlugin.ARGB.dll (recommended): This will set LED effects to match the motherboard ARGB header.
    • FanControl.LianLiPlugin.dll: This will not configure any LED settings.

    Please review the Known Issues section to determine which version is right for you.

  2. Once you determine which version of the plugin you want to use, drag it into FanControl's Plugins folder.

Known Issues

  1. Sharing the controllers across multiple pieces of software at the same time will lead to issues. For example, using this plugin along with OpenRGB. If you want to dynamically change the RGB, please use FanControl.LianLiPlugin.ARGB.dll and connect the controller to your motherboard's ARGB header.

Submitting An Issue

When submitting an issue, please include the Name, VID, and PID of your controller. It can be located within Device Manager:

Device Manager

Screenshots

Screenshot 1

fancontrol.lianli's People

Contributors

eightb1ts avatar

Stargazers

 avatar  avatar Keenan Ng avatar SeRoM avatar  avatar KiddClutch avatar Bao Nguyen avatar Dillon Chappell avatar Vitangelo Recchia avatar alepouna avatar Gisli Gudmundsson avatar Agustín Covarrubias avatar Gustavo Muratalla avatar Michael Jon avatar  avatar Moogly avatar Peter Abbasi avatar Sören Gade avatar  avatar  avatar Markus avatar Halsafar avatar  avatar Zapp avatar ethzero avatar Luke Grandke avatar Jared Byers avatar John Faust avatar Luana avatar  avatar Mike Hennessy avatar Julien Gares avatar Masanori Ogino avatar Wez Furlong avatar Wolphin avatar  avatar  avatar

Watchers

 avatar Gustavo Muratalla avatar  avatar  avatar  avatar

Forkers

pa-0 w141-id

fancontrol.lianli's Issues

Support For Uni Fan TL and V2 Controller

Wondering if/when there will be support for the TL fans and the v2 controller. It appears to know detect at least the one row of fans and the pump from the AIO because it registers RPMs from 2 of the RPM sensors. Not a free-loader either, I made sure to donate to help support your work. Thanks!

PID-VID

Repeated error log messages, every 5min

Getting repeated errors sent to the log, I'm not sure what to make of them. They are reoccurring every 3-5min
I only get this error when L-Connect Service is NOT running.
Currently, the only way to get correct control of the fans is by quitting both L-Connect 3 program AND the background service (which I believe is normal). I used the update tool to upgrade the firmware of the controller but that didn't change anything.

Any help would be appreciated!

Screenshot 2024-01-21 113045

Error Log Message

1/21/2024 10:43:53 AM: Unhandled exception in FanControl v179.0.0.0
1/21/2024 10:43:53 AM: System.IO.IOException: GetInputReport failed. ---> System.ComponentModel.Win32Exception: The operation completed successfully
--- End of inner exception stack trace ---
at HidSharp.Platform.Windows.WinHidStream.GetInputReport(Byte[] buffer, Int32 offset, Int32 count)
at LianLi.FanController.GetSpeed(Int32 fancontroller_channel)
at FanControl.LianLiPlugin.Sensors.Update()
at FanControl.Domain.BackendProviders.Plugin.PluginBackendProvider.Update()
at System.Collections.Generic.List1.ForEach(Action1 action)
at FanControl.Domain.ComputerAccessLayer.Update()
at FanControl.Domain.ApplicationClock.DoActions()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
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)
1/21/2024 10:43:53 AM: System.ComponentModel.Win32Exception (0x80004005): The operation completed successfully

Fan control not taking control of Lian Li controller/fans anymore

So I just updated L-connect to v2.0.8 because i was trying to see if i could fix some rgb related things. But after doing this it seems that fan control is not taking control of the fans anymore. I use the Uni hub sl-infinity-aio controller with 3 channels, but now when i do assisted setup it says no speed sensor detected even though i can see the rpm in the speeds section.
If i manually set 1 channel to 100% it seems like fan control wants to take over but then after a second it cancels. I tried setting a static rpm in bios with dc, but this didn't help. Setting MB sync on for fans in L-connect only ramps it up to the max, but i cant control it in fan control still. I do have L-connect off all the time usually.
I also have the argb plugin for lian li installed.

I've fixed the 0 fan speed issue

Having grown frustrated with the lack of precise fan speed control and the inability to set the fan speed to 0, I decided to resolve the issue myself. I discovered that the problem was due to an offset set in the variable controlling the fan speed. Removing this calculation resolved the issue. However, I am unsure why the offset was implemented in the first place, so please use my "fix" with caution.

I will update the plugin on my fork shortly.

Minimum Speed issue

Hello, user of lian uni SL120 here.

All works great, except minimum RPM settings, for some reason it stuck at ~1000-1100 rpm even if 0% load is chosen in manual mode.
But those fans should work at 800 rpm minimum, and they do when i`am using the L-Connect 3 app.
Any fix possible?

Name: LianLi-UNI FAN-SL-v1.8
VID_0CF2&PID_A100

No Dispose?

Took a quick look, and saw that the Close() method in the plugin, which is the mirror of Initialize(), doesn't dispose/clears anything.

The HIDDevice internal class opens a stream and doesn't dispose it AFAIK. Maybe take a quick look round the stuff that should be disposed, and route all of this back to the Plugin.Close() method. There isn't a need for the dispose pattern in that class by the way. Close will get called when the app exits.

SL-INF-140 static speed ~60%

Untitled

SL-Uni Infinity 140 seems to be uncontrollable via "Fan Control"

120mm fans are fully customizable separate of each other cluster, however the 140mm cluster seems to default to ~60% RPM regardless of settings used. Tried forcing, applying a curve, setting a static RPM, all to no avail.

"Initialization failed" after installing this Plugin

When i install FanControl.LianLiPlugin.dll or FanControl.LianLiPlugin.ARGB.dll into the plugins directoy of Fan Control, no fans are recognized:

image

The error.log contains the following exceptions (error messages are in german)

21.06.2023 10:42:05: System.FormatException: Die Eingabezeichenfolge hat das falsche Format.
   bei System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
   bei System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
   bei LianLi.HID.Locate(Int32[] VENDOR_IDS, Int32[] PRODUCT_IDS)
   bei LianLi.Devices..ctor(Boolean enableARGB)
   bei FanControl.LianLiPlugin.LianLiPlugin.Initialize()
   bei FanControl.Domain.BackendProviders.Plugin.PluginBackendProvider.Open()
21.06.2023 10:42:07: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei FanControl.LianLiPlugin.LianLiPlugin.Close()
   bei System.Collections.Generic.List`1.ForEach(Action`1 action)
   bei FanControl.Domain.ComputerAccessLayer.Close()
   bei FanControl.Domain.ComputerAccessLayer.<>c__DisplayClass11_0.<<TryRefresh>b__0>d.MoveNext()
21.06.2023 10:42:07: Initialization failed.
21.06.2023 10:42:39: Unhandled exception in FanControl v160.0.0.0
21.06.2023 10:42:39: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei FanControl.LianLiPlugin.LianLiPlugin.Close()
   bei System.Collections.Generic.List`1.ForEach(Action`1 action)
   bei FanControl.Domain.ComputerAccessLayer.Close()
   bei Autofac.Core.Disposer.Dispose(Boolean disposing)
   bei Autofac.Util.Disposable.Dispose()
   bei Autofac.Core.Lifetime.LifetimeScope.Dispose(Boolean disposing)
   bei Autofac.Util.Disposable.Dispose()
   bei Autofac.Core.Container.Dispose(Boolean disposing)
   bei Autofac.Util.Disposable.Dispose()
   bei FanControl.App.OnExit(ExitEventArgs e)
   bei System.Windows.Application.DoShutdown()
   bei System.Windows.Application.ShutdownImpl()
   bei System.Windows.Application.ShutdownCallback(Object arg)
   bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
21.06.2023 10:42:43: System.FormatException: Die Eingabezeichenfolge hat das falsche Format.
   bei System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
   bei System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
   bei LianLi.HID.Locate(Int32[] VENDOR_IDS, Int32[] PRODUCT_IDS)
   bei LianLi.Devices..ctor(Boolean enableARGB)
   bei FanControl.LianLiPlugin.LianLiPlugin.Initialize()
   bei FanControl.Domain.BackendProviders.Plugin.PluginBackendProvider.Open()
21.06.2023 10:42:45: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei FanControl.LianLiPlugin.LianLiPlugin.Close()
   bei System.Collections.Generic.List`1.ForEach(Action`1 action)
   bei FanControl.Domain.ComputerAccessLayer.Close()
   bei FanControl.Domain.ComputerAccessLayer.<>c__DisplayClass11_0.<<TryRefresh>b__0>d.MoveNext()
21.06.2023 10:42:45: Initialization failed.

image

When i remove the plugin, the initialization works.

FanControl.LianLiPlugin.ARGB.dll Backward ?

Hi, thanks for the plugin.

Unfortunately I ran the one with ARGB first.
I don't need it at all, now I can't control the colors of the INF fans via Lian Li Connect 3.

How can I remove the plugin? Deleting does not work.

Fans don't stop at 0%

A lot of the fans have the capability of stopping completely. Using UNI-SYNC and Fan Control, my fans stop when they hit 0% RPM, but that doesn't happen with this plugin (when UNI-SYNC is stopped)

2 Unifan v2 Controllers

Screenshot 2023-11-29 111306
Screenshot 2023-11-29 111357
I have a total of 12 SL120v2.

There are 6 connected to controller 1 and 6 connected to controller 2. (Think top rad push/pull and bottom rad push/pull)

So basically it's 3 daisy chained fan port 3 controller 1, 3 daisy chained fan port 4 controller 1, 3 daisy chained fan port 3 controller 2, 3 daisy chained fan port 4 controller 2

Each of the controllers are connected to a MB fan header

It seems FanControl only wants to control ALL fans on controller 1 through port 3. Not sure how much I care since I want the push/pull fans sync'd anyway. I assume because it's connected to one fan header per controller?

The real issue: I can get FanControl to do the same thing with controller 2 ONCE. Then I reboot, and controller 2 ports 3 and 4 are both locked to 2000ish RPM no matter what paring of control/speed in FanControl I try.

What am I doing wrong?

Uni Controller Ch. 4 not paired

I have 9 fans connected to my controller as follows:

Ch#1: 3 fans
Ch#2: 3 fans
Ch#3: 2 fans
Ch#4: 1 fan

I can pair correctly Channels # 1 to # 3 m but I get an error message on Ch#4 that the fan control is not associated to any sensor.
However by trying and installing L-Connect temporarily and setting manually the speed for channel # 4, that is responsive, and it shows up the correct reading for channel # 4 in the FanControl application

Some screenshots below
Screenshot 2023-12-30 211531

Screenshot 2023-12-30 212125

Should I try something else?
Please advise

Plugins

The 2 plugins are not being detected by the software. Anything that i can do to fix it?
Screenshot 2023-08-26 224849
Screenshot 2023-08-26 224830

Support for Lian-Li TL controller?

Just started looking in to Fan Control today, found that it has this plugin, which is cool... but then it hasn't been updated since June 2023, and in the original Reddit posts by the author announcing the plugin, the username is [deleted]... did something happen?

If still active... wondering if it's possible to add support for the new TL Controller that came out in December 2023?

Note that compared to previous LL controllers, this one shows up as two different devices in Device Manager: looks like one is for the typical functions of the controller, and the second is specific to the LCD function on the TL LCD fans. Also, while normal controllers only utilize one half of an internal USB header, this one utilizes the entire USB header (hence the two different devices).

Info from Device Manager 1:

  • Name: TL_Series_ControllerV0.1
  • VID: 0416
  • PID: 7372
  • Complete string from Parent Device: USB\VID_0416&PID_7372\Nuvoton
  • Complete string from Hardware IDs 1: USB\VID_0416&PID_7372&REV_0101&MI_00
  • Complete string from Hardware IDs 2: USB\VID_0416&PID_7372&MI_00

Info from Device Manager 2:

  • Name: TL_LCDV0.1
  • VID: 04FC
  • PID: 7393
  • Complete string from Parent Device: USB\VID_04FC&PID_7393\TL_LCDV0.1
  • Complete string from Hardware IDs 1: USB\VID_04FC&PID_7393&REV_0100&MI_01
  • Complete string from Hardware IDs 2: USB\VID_04FC&PID_7393&MI_01

If anything else is needed, please let me know.

Control speed sometimes 0 RPM or "" while fan is at 100%

Hey, sometimes the fan control displays 0 RPM or "". It sometimes gets fixes when unplugging the PSU (which i think clears the cache in the lian-li controller), but it breaks again after 1 or more reboots.

I have 10x SL-INF120 connected to the lian li controller in an 3-3-3-1 configuration.

FanControl_rs2R7xYrBy

SL-Infinity Controller issues...

Thank you for this.

I am using the SL-Inifinity Controller (pid a102) with version 1.4 (latest) BIOS with the FanControl.LianLi.Plugin.dll. L-Connect is not running at all in the background.

There are definite signs of life, the controller channels are detected and showing up in FanControl. They do respond to manual speed adjustments so they are receiving commands from FanControl. However, they dont hold the speed that is being set... i.e. they will respond initially to the setting but then after a few seconds (5-10ish) the fan speeds will ramp back to maximum speed. If I readjust the sliders the fans will respond again, temporarily, and then after 5-10 seconds return to max speed. Very odd.

Setting to a curve doesnt seem to react at all, meaning if I set to a sensor curve (cpu temp for example), the fans simply run at max speed.

So FYI, I do have an extra controller that I probably would be willing to ship out to you but before going that route is it possible to make any headway/progress via debug or logging files? I would be happy to capture any logging information for you if that's an option...

FanControl won't recognize the plugin

Hey there!

Thank you for your work on this plugin and I'm hoping to find a way to get it to work on my end. I may be doing something wrong so I apologize in advance but I have 3 LianLi SL-Infinity fans running and the plugin is not recognized by FanControl. Let me know what you think or if you need more info from me.

SS_FanControl_Plugins_12_27_23
SS_FanControl_Dash_12_27_23
SS_LianLi_DeviceManager_A102

FanControl will not take control of UniHub speeds

FanControl will not take control of fan speeds. It did not pair the speeds automatically on setup and can read the speeds properly when I change in L-Connect 3, but I can not change speeds in FanControl. I have unblocked the plugin if that info helps. I do not know how to to get the device manger info because I just get this:

image

In viewing 'ALL EVENTS':
image

(Do not know if that will help)

Here is what my FanControl looks like.
image

Plugin Crashing FanControl when Launched

Problem Signature 03: b14a05cf
I have the AL fan controller and wanted to see if it worked.
When I try to run FanControl with the plugin, FanControl crashes immediately. I have tried both plugins. Please let me know what sort of help you need to diagnose the issue.

I have seen this issue with 159 and 160 of the fan control, and Windows 10 Pro.
`
FanControl Error:
2023-06-13 15:36:02: Unhandled exception in FanControl v159.0.0.0
2023-06-13 15:36:02: System.InvalidOperationException: HidSharp RegisterClass failed.
at HidSharp.Platform.Windows.WinHidManager.Run(Action readyCallback)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

Reliability Report shows the application crashing on load:
Problem signature
Problem Event Name: CLR20r3
Problem Signature 01: FanControl.exe
Problem Signature 02: 159.0.0.0
Problem Signature 03: b14a05cf
Problem Signature 04: HidSharp
Problem Signature 05: 2.1.0.0
Problem Signature 06: 5ccde7b9
Problem Signature 07: 689
Problem Signature 08: 0
Problem Signature 09: System.InvalidOperationException
OS Version: 10.0.19045.2.0.0.256.48
Locale ID: 4105
Additional Information 1: e96e
Additional Information 2: e96e5edf0e41a0014ff7903826543795
Additional Information 3: cf08
Additional Information 4: cf08e5e54967910ddf3c6941db692465

Extra information about the problem
Bucket ID: fe77c5e3e7eb47eb7b1311c72cc57bcb (1950922610728860619)
Description
Faulting Application Path: D:\Cloud Storage\OneDrive\Programs\FanControl\FanControl.exe

Problem signature
Problem Event Name: CLR20r3
Problem Signature 01: FanControl.exe
Problem Signature 02: 160.0.0.0
Problem Signature 03: a1cb1214
Problem Signature 04: HidSharp
Problem Signature 05: 2.1.0.0
Problem Signature 06: 5ccde7b9
Problem Signature 07: 689
Problem Signature 08: 0
Problem Signature 09: System.InvalidOperationException
OS Version: 10.0.19045.2.0.0.256.48
Locale ID: 4105
Additional Information 1: e96e
Additional Information 2: e96e5edf0e41a0014ff7903826543795
Additional Information 3: f63f
Additional Information 4: f63fd1fde7630f5bbca64d4e5c0b9e8e

Extra information about the problem
Bucket ID: e7448f811e7098729ce242e6f83c56ef (2081299537573205743)
`

I have LianLi-UNI FAN-AL-v1.7 but it currently is not connected. Even deleting the device from my system, so it isn't there, I still have it crashing FanControl when either plugin is installed. I do not have any other plugin installed.

Asus Crosshair VIII Hero Wifi Motherboard.

Please let me know of any other testing or information you need.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.