-
-
Notifications
You must be signed in to change notification settings - Fork 503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DietPi-Config | Fan control #1818
Comments
@MichaIng You do know that the HC1 and HC2 do not have any connections for a fan? |
@enwi As HC1/2 is the same board, thus we cannot estimate any difference, AFAIK, we can still add the option. Of course it does not have any effect if no fan is attached. And theoretically you could attach one with some case modification ;) (?). |
@MichaIng Yeah that's what I did. I am using a USB fan, that I've attached to the metal extrusion. But to not confuse anybody there is no other way of adding a fan to HC1/2. |
I am working on it. At least for testing/debug reasons it contains more code than I planned 🤣: https://github.com/Fourdee/DietPi/pull/1978 @enwi |
@MichaIng
Also with that I meant that there is no way you can connect any cable to the board to control the fan since it only has a connection for a serial interface and a battery. See this link. |
@enwi Just checked. Yeah, I thought XU4/HC1/HC2 are exactly the same, but the board layout/features are not. For RPi there are several guides for using GPIO pins for fan control, but this needs a separate controller board then. We could add a default (software) interface and configuration for this to the script. But this needs someone who uses this setup and knows a bid how similar control (defined temperature limits, where the fan runs at defined speeds) can be achieved. For general use, this turns out way more complicated then I though 🤣. So far this then just works for XU4 natively. At least I hope that other boards with this fan connector work similar or identical. Especially for native PCs this could be also interesting. |
@MichaIng |
Testing: Native PC / Intel
Trail and error:
https://www.kernel.org/doc/Documentation/laptops/thinkpad-acpi.txt
Placing a fan on level 0 is the same as disabling it. Enabling a fan The fan level can be controlled with the command:
NanoPC T2/3
|
@Fourdee What is inside there?
I guess auto means temp controlled, but can we adjust this, somehow attach temp to fan speeds? Okay was reading the link a bid. There are several interfaces on how to control the fan on IBM/Lenovo/ThinkPad. What is most similar to XU4 is the following: Sysfs
So we can hope, that for most x86_64 systems, the above interface is at least similar. I am thinking about installing DietPi on a separate partition/drive of my laptop 🤔. HP Probook would be it. |
|
@Fourdee
Fan slowly speeds down until stop...
...should lead to fan stays off. Btw.: |
@Fourdee |
Moved from own branch to main branch line |
ROCKPro64 uses |
Some days ago i tested an I2C cooling had, works perfectly on Dietpi, just needed some finetuning to get it work. Python or C based control settings. https://github.com/YahboomTechnology/Raspberry-Pi-RGB-Cooling-HAT |
this one we have as well #4003 |
True. Again very different (much simpler) to configure, but when we write such a script, why not adding every case of fan controls into it. But I think I'll add the RPi case fan to dietpi-config > Advanced Options earlier, as it is all together just a few lines of code, not comparable to the other solutions. Also while the others work OOTB, so can be live-controlled, for RPi fan changes via dtoverlay, a reboot is always required. |
At least for Odroid XU4 this is quite easy:
For RPi there was some similarly easy way.Would be nice to have it inside DietPi-Config where applicable/easy to accomplish.
The text was updated successfully, but these errors were encountered: