Odroid XU3/4 Fan Controls on Kernel 4.9

Test and fix the Kernel 4.14 features
Post Reply
JonCronSilver
Posts: 4
Joined: Fri Mar 17, 2017 3:39 am
languages_spoken: english
ODROIDs: Odroid XU4 x2
Odroid XU3
Has thanked: 0
Been thanked: 0
Contact:

Odroid XU3/4 Fan Controls on Kernel 4.9

Unread post by JonCronSilver » Sat Mar 18, 2017 2:24 am

Hello everyone!

So I am sorry if this has been asked already, I have been searching around the forums but haven't quite found something that answers my question.
I was previously on kernel 3.10 and had some custom fan settings to keep my boards cool like having it kick on at lower temperatures and ramp up to higher rpm etc. I configured these by making changes in /sys/devices/odroid_fan.14/ and /odroid_fan.13/ so that the fans would for example spin up at a lower temperature. However now that I have moved to 4.9 it seems these config files have been moved, I tried using lm_sensors since that *usually* works with most hardware I have however it doesn't recognize any sensors on the Odroid.
So basically I am looking for some information/explanation on where the fan controls have been moved to, or if I simply create the odroid_fan.14/odroid_fan.13 directories and appropriate files will they work like they did on 3.10?

Odroid-XU4 & Odroid-XU3
Linux 4.9.13-1
ArchLInux

tl;dr how do I set custom fan controls

User avatar
mad_ady
Posts: 6155
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 121 times
Been thanked: 84 times
Contact:

Re: Odroid XU3/4 Fan Controls on Kernel 4.9

Unread post by mad_ady » Sat Mar 18, 2017 3:35 am

Hmm, is this a double post?
Anyway, fan control has not yet been implemented in the 4.9 kernel

User avatar
odroid
Site Admin
Posts: 31363
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 50 times
Been thanked: 184 times
Contact:

Re: Odroid XU3/4 Fan Controls on Kernel 4.9

Unread post by odroid » Sat Mar 18, 2017 4:05 am

I've deleted another post.

JonCronSilver
Posts: 4
Joined: Fri Mar 17, 2017 3:39 am
languages_spoken: english
ODROIDs: Odroid XU4 x2
Odroid XU3
Has thanked: 0
Been thanked: 0
Contact:

Re: Odroid XU3/4 Fan Controls on Kernel 4.9

Unread post by JonCronSilver » Sat Mar 18, 2017 5:15 am

I apologize if you saw a double post! I posted in a different forum directory and was told to come repost it here.

JonCronSilver
Posts: 4
Joined: Fri Mar 17, 2017 3:39 am
languages_spoken: english
ODROIDs: Odroid XU4 x2
Odroid XU3
Has thanked: 0
Been thanked: 0
Contact:

Re: Odroid XU3/4 Fan Controls on Kernel 4.9

Unread post by JonCronSilver » Sat Mar 18, 2017 5:16 am

mad_ady wrote:Hmm, is this a double post?
Anyway, fan control has not yet been implemented in the 4.9 kernel
Good to know, guess I will keep an eye out then for updates :D

phaseshifter
Posts: 3428
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 34 times
Been thanked: 37 times
Contact:

Re: Odroid XU3/4 Fan Controls on Kernel 4.9

Unread post by phaseshifter » Mon Mar 20, 2017 2:21 pm

i found that if
i connected the -tve lead of the fan via a 20 ohm resistor to the earth on the usb port
it runs the fan at a constant medium pace 33 ohm may be better and slow it down more..
but when the cpu pwm kicks in it gets to is max speed the 20 ohm resistor allows the current flow..
hence reaches top speeds thus keeping the fan at a constant for now and also allowing the boost pwm to kick in
the fan with the resistor is quite quiet.
thus others may adapt thus idea for the mean time keeping cpu temperatures down to a reliable level...

Code: Select all

cat /sys/devices/virtual/thermal/thermal_zone0/temp
ant it`s sitting at 55 degrees
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

gotttlieb
Posts: 6
Joined: Fri Jul 07, 2017 10:30 pm
languages_spoken: english, spanish, catalan
ODROIDs: Odroid XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: Odroid XU3/4 Fan Controls on Kernel 4.9

Unread post by gotttlieb » Fri Jul 07, 2017 10:32 pm

Any ETA for this functionality? I bought recently an XU4 and it's cooking himself at 60ºC at idle.

User avatar
meveric
Posts: 10269
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 13 times
Been thanked: 99 times
Contact:

Re: Odroid XU3/4 Fan Controls on Kernel 4.9

Unread post by meveric » Fri Jul 07, 2017 10:52 pm

60°C is normal idle temperature for the XU3/XU4 on performance governor.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

gotttlieb
Posts: 6
Joined: Fri Jul 07, 2017 10:30 pm
languages_spoken: english, spanish, catalan
ODROIDs: Odroid XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: Odroid XU3/4 Fan Controls on Kernel 4.9

Unread post by gotttlieb » Fri Jul 07, 2017 11:13 pm

meveric wrote:60°C is normal idle temperature for the XU3/XU4 on performance governor.
Ok, thanks for the tip, i din't know that!
Anyway, i prefer it to be cooler setting my fan manually to a reasonable value.

User avatar
mad_ady
Posts: 6155
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 121 times
Been thanked: 84 times
Contact:

Re: Odroid XU3/4 Fan Controls on Kernel 4.9

Unread post by mad_ady » Sat Jul 08, 2017 3:08 am

On kernel 4.9, to set trip points and fan speed add the following to your /etc/rc.local:

Code: Select all


#thermal points
if [ -f /sys/devices/virtual/thermal/thermal_zone0/trip_point_0_temp ]; then
echo Set thermal trip points to 60C
echo '60000' > /sys/devices/virtual/thermal/thermal_zone0/trip_point_0_temp
echo '70000' > /sys/devices/virtual/thermal/thermal_zone0/trip_point_1_temp
echo '80000' > /sys/devices/virtual/thermal/thermal_zone0/trip_point_2_temp
fi


if [ -f '/sys/devices/platform/pwm-fan:/hwmon/hwmon0/fan_speed' ]; then
        #set fan speed
        echo Set fan speed
        echo "0 80 150 245" > /sys/devices/platform/pwm-fan:/hwmon/hwmon0/fan_speed
fi
My settings start fan after 60C
Also change governor to ondemand, because performance adds 10C without much speed benefit

gotttlieb
Posts: 6
Joined: Fri Jul 07, 2017 10:30 pm
languages_spoken: english, spanish, catalan
ODROIDs: Odroid XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: Odroid XU3/4 Fan Controls on Kernel 4.9

Unread post by gotttlieb » Sat Jul 08, 2017 10:15 pm

Thanks so much @mad_ady it made the fan working and downing the temp a lot (45ºC at this moment) But, i see that the fan made strange things. It spins for at most 15 seconds every minute, and then it starts to made a big electric buzz until the fan starts again.
It seems that is not able to keep the fan spinning all the time. I shre the script modified by me. I think that i modified something wrong.
As I told before, i want to set the fan at minimum working speed, and then, set it higer at other temps.
Thanks so much for your help :D :geek:

Code: Select all

#!/bin/bash
#thermal points
if [ -f /sys/devices/virtual/thermal/thermal_zone0/trip_point_0_temp ]; then
echo Set thermal trip points to 35C
echo '35000' > /sys/devices/virtual/thermal/thermal_zone0/trip_point_0_temp
echo '50000' > /sys/devices/virtual/thermal/thermal_zone0/trip_point_1_temp
echo '60000' > /sys/devices/virtual/thermal/thermal_zone0/trip_point_2_temp
fi


if [ -f '/sys/devices/platform/pwm-fan:/hwmon/hwmon0/fan_speed' ]; then
        #set fan speed
        echo Set fan speed
        echo "30 80 150 245" > /sys/devices/platform/pwm-fan:/hwmon/hwmon0/fan_speed
fi

User avatar
mad_ady
Posts: 6155
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 121 times
Been thanked: 84 times
Contact:

Re: Odroid XU3/4 Fan Controls on Kernel 4.9

Unread post by mad_ady » Sun Jul 09, 2017 12:00 am

Unfortunatelly other users also reported the fan not spinning continuously at low temperatures. There still must be a bug around.
Regarding noise, the stock fan is noisy at low rpm. Try a higher duty cycle for quieter operation.

gotttlieb
Posts: 6
Joined: Fri Jul 07, 2017 10:30 pm
languages_spoken: english, spanish, catalan
ODROIDs: Odroid XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: Odroid XU3/4 Fan Controls on Kernel 4.9

Unread post by gotttlieb » Sun Jul 09, 2017 12:41 am

First of all: THANKS SO MUCH @mad_ady.
After playing a little more with the script, i finally get what i want :D. I post it here in case of someone want this.
Seems that moving the value form first fan speed from 30 to 40 made the trick! At this moment my Odroid XU4 it's at 40ºC and without any fan problem, no wired spin or loud sound.

Cheers!

Code: Select all

#!/bin/bash
#thermal points
if [ -f /sys/devices/virtual/thermal/thermal_zone0/trip_point_0_temp ]; then
echo Set thermal trip points to 35C
echo '35000' > /sys/devices/virtual/thermal/thermal_zone0/trip_point_0_temp
echo '50000' > /sys/devices/virtual/thermal/thermal_zone0/trip_point_1_temp
echo '60000' > /sys/devices/virtual/thermal/thermal_zone0/trip_point_2_temp
fi


if [ -f '/sys/devices/platform/pwm-fan:/hwmon/hwmon0/fan_speed' ]; then
        #set fan speed
        echo Set fan speed
        echo "40 80 150 245" > /sys/devices/platform/pwm-fan:/hwmon/hwmon0/fan_speed
fi

User avatar
mad_ady
Posts: 6155
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 121 times
Been thanked: 84 times
Contact:

Re: Odroid XU3/4 Fan Controls on Kernel 4.9

Unread post by mad_ady » Sun Jul 09, 2017 1:46 am

But does it run continuously?

gotttlieb
Posts: 6
Joined: Fri Jul 07, 2017 10:30 pm
languages_spoken: english, spanish, catalan
ODROIDs: Odroid XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: Odroid XU3/4 Fan Controls on Kernel 4.9

Unread post by gotttlieb » Sun Jul 09, 2017 2:33 am

Yes, it run continuously.

User avatar
mad_ady
Posts: 6155
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 121 times
Been thanked: 84 times
Contact:

Re: Odroid XU3/4 Fan Controls on Kernel 4.9

Unread post by mad_ady » Sun Jul 09, 2017 3:24 pm

That's great news.

Eni-od
Posts: 14
Joined: Wed May 18, 2016 11:11 pm
languages_spoken: english french dutch
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: Odroid XU3/4 Fan Controls on Kernel 4.9

Unread post by Eni-od » Fri Aug 18, 2017 11:08 pm

Hello excuse me to come here and maybe polute the topic, but it doesnt work for me ..
(If I polute the topic just tell me and I will delete my post and maybe create a new one if its better ?)
Well I have installed the Debian Jessie OS => viewtopic.php?f=96&t=17542
Then I did the nano /etc/rc.local and added the code provided by mad_ady and modified by gottlieb
so that's my obtained rc.local file :

#!/bin/bash
#thermal points
if [ -f /sys/devices/virtual/thermal/thermal_zone0/trip_point_0_temp ]; then
echo Set thermal trip points to 35C
echo '35000' > /sys/devices/virtual/thermal/thermal_zone0/trip_point_0_temp
echo '50000' > /sys/devices/virtual/thermal/thermal_zone0/trip_point_1_temp
echo '60000' > /sys/devices/virtual/thermal/thermal_zone0/trip_point_2_temp
fi


if [ -f '/sys/devices/platform/pwm-fan:/hwmon/hwmon0/fan_speed' ]; then
#set fan speed
echo Set fan speed
echo "40 80 150 245" > /sys/devices/platform/pwm-fan:/hwmon/hwmon0/fan_speed
fi

exit 0

Of course I did a reboot, but the fan is not spinning even when it seems hot.
Any help is welcome :D

phaseshifter
Posts: 3428
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 34 times
Been thanked: 37 times
Contact:

Re: Odroid XU3/4 Fan Controls on Kernel 4.9

Unread post by phaseshifter » Fri Aug 18, 2017 11:35 pm

are you running image kernel 4.9.xx.xx because it works for me....
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

gotttlieb
Posts: 6
Joined: Fri Jul 07, 2017 10:30 pm
languages_spoken: english, spanish, catalan
ODROIDs: Odroid XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: Odroid XU3/4 Fan Controls on Kernel 4.9

Unread post by gotttlieb » Sat Aug 19, 2017 7:44 am

Hi there, I can confirm that works in:

Code: Select all

cat /etc/os-release

Code: Select all

NAME="Ubuntu"
VERSION="16.04.2 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.2 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial
Then, firs of all, i will suggest to check the content of the folder for themp config

Code: Select all

ls -l /sys/devices/virtual/thermal/thermal_zone0/
If is unexistent or empty ( or filled only with the script directories), then it will not work

Eni-od
Posts: 14
Joined: Wed May 18, 2016 11:11 pm
languages_spoken: english french dutch
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: Odroid XU3/4 Fan Controls on Kernel 4.9

Unread post by Eni-od » Sun Aug 20, 2017 1:57 am

My results :
cat /etc/os-release

Code: Select all

PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
NAME="Debian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=debian
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
uname -r

Code: Select all

3.10.105+
Seerms I don't have the right kernel ...?

ls -l /sys/devices/virtual/thermal/thermal_zone0/

Code: Select all

total 0
lrwxrwxrwx 1 root root    0 Aug 19 16:55 cdev0 -> ../cooling_device1
-r--r--r-- 1 root root 4096 Aug 19 16:55 cdev0_trip_point
lrwxrwxrwx 1 root root    0 Aug 19 16:55 cdev1 -> ../cooling_device1
-r--r--r-- 1 root root 4096 Aug 19 16:55 cdev1_trip_point
lrwxrwxrwx 1 root root    0 Aug 19 16:55 cdev2 -> ../cooling_device1
-r--r--r-- 1 root root 4096 Aug 19 16:55 cdev2_trip_point
-rw-r--r-- 1 root root 4096 Aug 19 16:55 mode
-rw-r--r-- 1 root root 4096 Aug 19 16:55 policy
drwxr-xr-x 2 root root    0 Aug 19 16:55 power
lrwxrwxrwx 1 root root    0 Aug 19 16:55 subsystem -> ../../../../class/thermal
-r--r--r-- 1 root root 4096 Aug 19 16:55 temp
-r--r--r-- 1 root root 4096 Aug 19 16:55 trip_point_0_temp
-r--r--r-- 1 root root 4096 Aug 19 16:55 trip_point_0_type
-r--r--r-- 1 root root 4096 Aug 19 16:55 trip_point_1_temp
-r--r--r-- 1 root root 4096 Aug 19 16:55 trip_point_1_type
-r--r--r-- 1 root root 4096 Aug 19 16:55 trip_point_2_temp
-r--r--r-- 1 root root 4096 Aug 19 16:55 trip_point_2_type
-r--r--r-- 1 root root 4096 Aug 19 16:55 trip_point_3_temp
-r--r--r-- 1 root root 4096 Aug 19 16:55 trip_point_3_type
-r--r--r-- 1 root root 4096 Aug 19 16:55 type
-rw-r--r-- 1 root root 4096 Aug 18 15:05 uevent
So what should I do ?
Sorry I am beginner :/

ErikKnowles
Posts: 18
Joined: Wed Sep 16, 2015 1:46 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: Odroid XU3/4 Fan Controls on Kernel 4.9

Unread post by ErikKnowles » Fri Aug 25, 2017 11:05 am

This is the code I use on the XU4 with 3.10:

Code: Select all

#!/bin/bash

# Loud fan control script to lower speed of fun based on current
# max temperature of any cpu
#
# See README.md for details.

#set to false to suppress logs
DEBUG=true

# Make sure only root can run our script
if (( $EUID != 0 )); then
   echo "This script must be run as root:" 1>&2
   echo "sudo $0" 1>&2
   exit 1
fi

if [ -f /sys/devices/odroid_fan.13/fan_mode ]; then
   FAN=13
elif [ -f /sys/devices/odroid_fan.14/fan_mode ]; then
   FAN=14
else
   echo "This machine is not supported."
   exit 1
fi

TEMPERATURE_FILE="/sys/devices/10060000.tmu/temp"
FAN_MODE_FILE="/sys/devices/odroid_fan.$FAN/fan_mode"
FAN_SPEED_FILE="/sys/devices/odroid_fan.$FAN/pwm_duty"
TEST_EVERY=3 #seconds
LOGGER_NAME=odroid-xu3-fan-control

#make sure after quiting script fan goes to auto control
function cleanup {
  ${DEBUG} && logger -t $LOGGER_NAME "event: quit; temp: auto"
  echo 1 > ${FAN_MODE_FILE}
}
trap cleanup EXIT

function exit_xu3_only_supported {
  ${DEBUG} && logger -t $LOGGER_NAME "event: non-xu3 $1"
  exit 2
}
if [ ! -f $TEMPERATURE_FILE ]; then
  exit_xu3_only_supported "no temp file"
elif [ ! -f $FAN_MODE_FILE ]; then
  exit_xu3_only_supported "no fan mode file"
elif [ ! -f $FAN_SPEED_FILE ]; then
  exit_xu3_only_supported "no fan speed file"
fi


current_max_temp=`cat ${TEMPERATURE_FILE} | cut -d: -f2 | sort -nr | head -1`
echo "fan control started. Current max temp: ${current_max_temp}"
echo "For more logs see:"
echo "sudo tail -f /var/log/syslog"

old_fan_speed=0
echo 0 > ${FAN_MODE_FILE} #to be sure we can manage fan

while [ true ];
do

  current_max_temp=`cat ${TEMPERATURE_FILE} | cut -d: -f2 | sort -nr | head -1`
  ${DEBUG} && logger -t $LOGGER_NAME "event: read_max; temp: ${current_max_temp}"

  new_fan_speed=0
  if (( ${current_max_temp} >= 75000 )); then
    new_fan_speed=255
  elif (( ${current_max_temp} >= 70000 )); then
    new_fan_speed=200
  elif (( ${current_max_temp} >= 68000 )); then
    new_fan_speed=130
  elif (( ${current_max_temp} >= 66000 )); then
    new_fan_speed=70 
  elif (( ${current_max_temp} >= 63000 )); then
    new_fan_speed=65 
  elif (( ${current_max_temp} >= 60000 )); then
    new_fan_speed=60
  elif (( ${current_max_temp} >= 58000 )); then
    new_fan_speed=50
  elif (( ${current_max_temp} >= 55000 )); then
    # ++ERK++ 30 didn't work w/ stock fan
    new_fan_speed=40
  else
    new_fan_speed=2
  fi
  
  if (( ${new_fan_speed} != ${old_fan_speed} )); then
    echo 0 > ${FAN_MODE_FILE} #to be sure we can manage fan
#    if (( ${new_fan_speed} < 100 )); then
#      if (( ${old_fan_speed} < 10 )); then
#          ${DEBUG} && logger -t $LOGGER_NAME "event: start up fan at 60"
#          echo 80 > ${FAN_SPEED_FILE}
#          sleep 1
#      fi
#    fi
    ${DEBUG} && logger -t $LOGGER_NAME "event: adjust; speed: ${new_fan_speed}"
    echo ${new_fan_speed} > ${FAN_SPEED_FILE}

    old_fan_speed=${new_fan_speed}
  fi
  sleep ${TEST_EVERY}
done
Note that the lower fan speeds may not work with the stock fan (they didn't for me, but do now that I'm using a Noctua fan).

xflbret
Posts: 7
Joined: Thu Nov 02, 2017 7:02 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: Odroid XU3/4 Fan Controls on Kernel 4.9

Unread post by xflbret » Thu Nov 02, 2017 7:07 am

Hello all, first time poster.

Sorry to revive a dying thread, but I really need this. I bought my XU4 in September, and proceeded to install OMV on it. Everything's been working fine until a couple of days ago. My NAS seems to quit occasionally when I'm transferring some pretty huge files to it. It will come back a while later. I have to believe this is a heat-related issue, though I'm not sure where to go to see the Odroid temps.

Anyway, I'd like to adjust my odroid so that the fan runs at a moderate speed at all times. I found this thread, but am not sure exactly how to implement the solution that gotttlieb posted. Can someone help me out, or point me toward a good, reliable tutorial? (Unfortunately, not all tuts on the web are good :( )

User avatar
mad_ady
Posts: 6155
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 121 times
Been thanked: 84 times
Contact:

Re: Odroid XU3/4 Fan Controls on Kernel 4.9

Unread post by mad_ady » Thu Nov 02, 2017 2:44 pm

What kernel are you running - 3.10 or 4.9?

xflbret
Posts: 7
Joined: Thu Nov 02, 2017 7:02 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: Odroid XU3/4 Fan Controls on Kernel 4.9

Unread post by xflbret » Thu Nov 02, 2017 11:22 pm

4.9

User avatar
mad_ady
Posts: 6155
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 121 times
Been thanked: 84 times
Contact:

Re: Odroid XU3/4 Fan Controls on Kernel 4.9

Unread post by mad_ady » Fri Nov 03, 2017 12:03 am

Try this post from this thread: viewtopic.php?f=146&t=26365&p=205755#p195805

xflbret
Posts: 7
Joined: Thu Nov 02, 2017 7:02 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: Odroid XU3/4 Fan Controls on Kernel 4.9

Unread post by xflbret » Fri Nov 03, 2017 1:01 am

For whatever reason, I looked and looked before and just could not find rc.local. I try to find it again this morning so I can make a more detailed post about how it isn't there...and all of a sudden, it's there. I don't get it, but whatever, I'll take it. I did use gotlieb's script first, though, because what he described seems a little bit closer to what I want. I'm at work right now, and don't want to risk rebooting until I'm home so I can do something about it if things go sideways. I'll report my results.

xflbret
Posts: 7
Joined: Thu Nov 02, 2017 7:02 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: Odroid XU3/4 Fan Controls on Kernel 4.9

Unread post by xflbret » Fri Nov 03, 2017 3:10 pm

Well, I tried it out. I got A LOT closer from where i was, but not quite yet where I want to go. I was hoping that the fan would stay at a constant, unchanging speed. I hear the fan speed going up and down as I'm transferring large files, and it is rather disconcerting. Makes me think there's still something wrong with it...

I mean no disrespect to anyone who worked on OMV, but there really should be some sliders or switches for fan control in the UI. Anyone know if that's going to happen with version 4?

User avatar
mad_ady
Posts: 6155
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 121 times
Been thanked: 84 times
Contact:

Re: Odroid XU3/4 Fan Controls on Kernel 4.9

Unread post by mad_ady » Fri Nov 03, 2017 3:33 pm

To get constant fan speed independent of load set the trip points low (10-20C) so that they will always be triggered and set the fan speed to the same (or incremental) numbers

Post Reply

Return to “Linux Kernel 4.14 Debugging Party”

Who is online

Users browsing this forum: No registered users and 1 guest