Jump to content

PWM fan control for NanoPi R2S


gtludwig

Recommended Posts

Hi,

 

I have this great tiny SBC without being used because I could not get its fan temperature dependent on dietpi and really did not liked the stock image, so I have been looking for something more interesting.

 

After installing lm-sensors, I ran sensors-detect as root and no sensors were found.

 

I know I saw a temperature readout (calculated?) somewhere and I wonder if whether is possible to have a PWM control of the fan as the stock image does.

 

All help and suggestions are much appreciated.

 

Cheers,

Gus

 

Link to comment
Share on other sites

2 hours ago, gtludwig said:

as the stock image does

 

Functions that works on stock kernel (image) can be relatively easily copied from presentation stock image or its derivatives, but if you want to have the same with a quality up2date kernel, serious work and costs could be needed / comes with. I assume components for this feature exist in modern kernel, "just" lacks implementation and maintenance. Like many other common troubles.

 

2 hours ago, gtludwig said:

After installing lm-sensors, I ran sensors-detect as root and no sensors were found.


In our nonstandard non mainstream (ARM single board computers) world, such generic tools might not just work. We are using this, to get some common grounds:

https://github.com/armbian/build/blob/master/packages/bsp/common/usr/lib/armbian/armbian-hardware-monitor#L22-L56

... to display board temperature when you login:

https://github.com/armbian/build/blob/master/packages/bsp/common/etc/update-motd.d/30-armbian-sysinfo#L50-L65

 

2 hours ago, gtludwig said:

All help and suggestions

 

https://github.com/cgomesu/nanopim4-satahat-fan
This script handles it for RK3399, which is similar chip but different enough that it won't just work, but it can give you an idea where & how to start. IIRC it also works on modern kernel without much adjustments:


Check if you can contribute on our common agenda:

https://forum.armbian.com/forum/54-help-wanted/

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines