OpenFanController icon indicating copy to clipboard operation
OpenFanController copied to clipboard

CoolerControl on Ubuntu

Open defaultsecurity opened this issue 9 months ago • 1 comments

Is it possible to use this controller with CoolerControl on Ubuntu? https://gitlab.com/coolercontrol/coolercontrol

Coolercontrol supports devices via hwmon and liquidctl.

defaultsecurity avatar May 04 '25 23:05 defaultsecurity

I just heard about this device in the CoolerControl Discord. A few thoughts of how this could be done, in order of preference:

A liquidctl driver would be really special for this! It's written in python so I imagine that the existing linux control app would be a fairly easy port for an interested party.

Another possibly viable alternative would be a python-based CoolerControl daemon similar to coolercontrol-liqctld.

Another would be to write a lightweight interface between CoolerControl and the existing web-based software.

Quality and performant fan controllers are surprisingly rare on linux, and even more rare if we only allow in-tree kernel drivers, so to have a driver for this device for liquidctl would be a really big deal.

pallaswept avatar May 05 '25 02:05 pallaswept

@defaultsecurity @pallaswept I'm sure it's possible because the controller is SW/HW agnostic. 😃

I am more than happy to support anyone who wants to build any plugin/integration. Feel free to reach out. There is also documentation available on https://docs.sasakaranovic.com/openfan/

SasaKaranovic avatar May 15 '25 23:05 SasaKaranovic

the controller is SW/HW agnostic. 😃

If I understood correctly, it's just using a standard serial port for communication, right? Simple but effective!

pallaswept avatar May 16 '25 04:05 pallaswept

If I understood correctly, it's just using a standard serial port for communication, right? Simple but effective!

Correct, it uses serial port for communication with the hardware. There is also a layer of abstraction (Web API) that allows easier integration and also allows multiples processes/apps to communicate with one controller locally and remotely.

So if you don't want to lose the Web API functionality, it's probably best to integrate it by making http request. Big downside to this approach is that you need to have the Web API app running in the background.

If you don't care about Web API (or maybe you will provide your own interface that other apps can use), then you should go directly to serial communication. This would be easier, more efficient and has no dependencies. But obviously you will lose (or have to implement your own) capability to allow other apps to communicate with the controller.

SasaKaranovic avatar May 17 '25 03:05 SasaKaranovic

This issue is stale because it has been open 15 days with no activity. Remove stale label or comment or this will be closed in 3 days.

github-actions[bot] avatar Jun 02 '25 02:06 github-actions[bot]

This issue was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar Jun 08 '25 02:06 github-actions[bot]