Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

vanilla kernel 5.15 and fancontrol

Featured Replies

Hi!

 

I am trying the vanilla 5.15 kernel which has support for helios64.

The system is booting, disks, MMC and network are working.

 

But fancontrol fails.

It seems the /sys entries have changed and the udev rules are not working.

 

I've tried to understand the wiki page in order to adapt the udev rules and fancontrol config file but I am a little bit lost.

Is there updated versions of those config files?

 

Kind regards,

Xavier Miller.

 

  • Author

Hi,

 

I thought this forum did support on the Helios{4,64} regardless of the OS since Kobol is now closed.

More, the issues I encounter testing the Armbian patches can be helpful for the future Armbian releases (I had the eMMC issues long time before many Armbian users were impacted with the Buster update).

I did tried to apply the Armbian patches for kernel 5.15, but they fail because Helios4 and 64 are now mainlined.

 

But not problem, I will try to fix it by myself, and report back the solution here. I have the skills to do it.

BTW I have the same issue with vanilla kernel 5.15 and Helios4. I will test it first on the helios4 because it's not used anymore.

 

Kind regards,

Xavier Miller

Hello,

My workaround or patch, maybe it bad, sad or unclear but it's KISS and seem to work !

Bye

 

root@helios64:~# cat /etc/fancontrol

# Helios64 PWM Fan Control Configuration
# Temp source : /dev/thermal-cpu
INTERVAL=10
#FCTEMPS=/dev/fan-p6/pwm1=/dev/thermal-cpu/temp1_input /dev/fan-p7/pwm1=/dev/thermal-cpu/temp1_input
FCTEMPS=/dev/fan-p6/pwm1=/sys/class/thermal/thermal_zone0/temp /dev/fan-p7/pwm1=/sys/class/thermal/thermal_zone0/temp
MINTEMP=/dev/fan-p6/pwm1=40 /dev/fan-p7/pwm1=40
MAXTEMP=/dev/fan-p6/pwm1=110 /dev/fan-p7/pwm1=110
MINSTART=/dev/fan-p6/pwm1=60 /dev/fan-p7/pwm1=60
MINSTOP=/dev/fan-p6/pwm1=40 /dev/fan-p7/pwm1=40
MINPWM=20

  • Author

Hi!

 

seems the udev rule needs to be rewritten too. I will look at that later...

 

EDIT: @BipBip1981 do you really run kernel 5.15 or is your workaround for 5.10?

 

Hi,

I was thinking of something else...(I thought you were taking the Board probe values as a reference value but which is not the case)

 

But I highly recommend MAXTEMP = / dev / fan-p6 / pwm1 = 85 / dev / fan-p7 / pwm1 = 85 and MAXPWD=140 with the original thermal pad.

 

Personally my helios has a powerful thermal pad, this allows it to be fanless (which is not the case because I always have a MAXPWM = 50 for ventilation in my helios64 with SSD),

but the original thermal pad is of very poor quality (it insulates more than it dissipates).

If you have high enough usage I would recommend changing the thermal pad or having the more severe fan control variables for safety

or only not to use your helios64 without safety net (without thermal control it is hardware suicide with original thermal pad).

 

Thank BipBip1981

4 hours ago, alchemist said:

Hi!

 

seems the udev rule needs to be rewritten too. I will look at that later...

 

EDIT: @BipBip1981 do you really run kernel 5.15 or is your workaround for 5.10?

 

Hello, yes, -> Welcome to Armbian 21.08.6 Hirsute with bleeding edge Linux 5.15.5-rockchip64

  • Author

Finally OK with vanilla 5.16 kernel.

 

I have to edit the UDEV rule in order to alias fan1 and fan2 to fan-p6 and fan-p7, see the lines "fan1" and "fan2":

 

# Helios64 persistent hwmon

ACTION=="remove", GOTO="helios64_hwmon_end"

#
KERNELS=="p6-fan", SUBSYSTEMS=="platform", ENV{_HELIOS64_FAN_}="p6", ENV{_IS_HELIOS64_FAN_}="1", ENV{IS_HELIOS64_HWMON}="1"
KERNELS=="p7-fan", SUBSYSTEMS=="platform", ENV{_HELIOS64_FAN_}="p7", ENV{_IS_HELIOS64_FAN_}="1", ENV{IS_HELIOS64_HWMON}="1"
KERNELS=="2-004c", SUBSYSTEMS=="i2c", DRIVERS=="lm75", ENV{IS_HELIOS64_HWMON}="1"
KERNELS=="thermal_zone0", SUBSYSTEMS=="thermal", ENV{IS_HELIOS64_HWMON}="1"

KERNELS=="fan1", SUBSYSTEMS=="platform", ENV{_HELIOS64_FAN_}="p6", ENV{_IS_HELIOS64_FAN_}="1", ENV{IS_HELIOS64_HWMON}="1"
KERNELS=="fan2", SUBSYSTEMS=="platform", ENV{_HELIOS64_FAN_}="p7", ENV{_IS_HELIOS64_FAN_}="1", ENV{IS_HELIOS64_HWMON}="1"


SUBSYSTEM!="hwmon|thermal", GOTO="helios64_hwmon_end"

ENV{HWMON_PATH}="/sys%p"
#
ATTR{type}=="soc-thermal", ENV{HWMON_PATH}="/sys%p/temp", ENV{HELIOS64_SYMLINK}="/dev/thermal-cpu/temp1_input", RUN+="/usr/bin/mkdir /dev/thermal-cpu/"
ATTR{name}=="cpu|cpu_thermal", ENV{IS_HELIOS64_HWMON}="1", ENV{HELIOS64_SYMLINK}="/dev/thermal-cpu"
#
ENV{IS_HELIOS64_HWMON}=="1", ATTR{name}=="lm75", ENV{HELIOS64_SYMLINK}="/dev/thermal-board"
ENV{_IS_HELIOS64_FAN_}=="1", ENV{HELIOS64_SYMLINK}="/dev/fan-$env{_HELIOS64_FAN_}"

#
ENV{IS_HELIOS64_HWMON}=="1", RUN+="/bin/ln -sf $env{HWMON_PATH} $env{HELIOS64_SYMLINK}"

LABEL="helios64_hwmon_end"

 

Guest
This topic is now closed to further replies.

Account

Navigation

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.