Skip to content
View in the app

A better way to browse. Learn more.

Learn more

[Armbian build PR] - Add pwm-fan support to nanopi r4s

Featured Replies

Description

Add pwm fan support to NanoPi R4S.

Document from FriendlyElec: https://wiki.friendlyelec.com/wiki/index.php/NanoPi_R4S#How_to_Control_Fan_Speed_for_Cooling

And reference code: https://github.com/friendlyarm/kernel-rockchip/commit/f74ac319f02e2d22cdd33227e7f167e4232809f9

How Has This Been Tested?

build and run on R4SE hardware.

  • [x] fan works
  • [x] /sys/devices/virtual/thermal/thermal_zone0/trip_point_[3/4]_temp controls two speed of the fan

Checklist:

  • [x] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my own code
  • [x] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [x] My changes generate no new warnings
  • [x] Any dependent changes have been merged and published in downstream modules

View the full article

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.