[Solved] No odroid_fan.13 file in fresh installation
-
- Posts: 9
- Joined: Tue Mar 06, 2018 2:45 am
- languages_spoken: english, german
- ODROIDs: XU4
- Has thanked: 0
- Been thanked: 0
- Contact:
[Solved] No odroid_fan.13 file in fresh installation
Hey guys, I am using Ubuntu 16.04.3 with the 4.14 Kernel.
I downloaded the fresh image and put it onto the SD card with rufus. Then I wanted to change the fan speed to 100% with this guide: viewtopic.php?f=52&t=16308
However there is no such file as odroid_fan.13 or *.14....
Did the location change?
I downloaded the fresh image and put it onto the SD card with rufus. Then I wanted to change the fan speed to 100% with this guide: viewtopic.php?f=52&t=16308
However there is no such file as odroid_fan.13 or *.14....
Did the location change?
Last edited by TheGammel on Wed Apr 11, 2018 8:25 pm, edited 1 time in total.
- odroid
- Site Admin
- Posts: 37222
- Joined: Fri Feb 22, 2013 11:14 pm
- languages_spoken: English, Korean
- ODROIDs: ODROID
- Has thanked: 1720 times
- Been thanked: 1118 times
- Contact:
Re: No odroid_fan.13 file in fresh installation
Fan control method has changed in Kernel 4.x
Look into the second page of the guide link.
Look into the second page of the guide link.
-
- Posts: 9
- Joined: Tue Mar 06, 2018 2:45 am
- languages_spoken: english, german
- ODROIDs: XU4
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: No odroid_fan.13 file in fresh installation
Ok thx! I didn't realize, that this was such a mega-thread...
So after some time I found this:
But where can I see to which speed that trip_point_0_temp corresponds to?
EDIT
I basically want to run the fan at 100% all the time...
So after some time I found this:
Code: Select all
echo 35000 > /sys/class/thermal/thermal_zone1/trip_point_0_temp
echo 35000 > /sys/class/thermal/thermal_zone2/trip_point_0_temp
echo 35000 > /sys/class/thermal/thermal_zone3/trip_point_0_temp
echo 35000 > /sys/class/thermal/thermal_zone4/trip_point_0_temp
EDIT
I basically want to run the fan at 100% all the time...
-
- Posts: 333
- Joined: Tue Jan 19, 2016 10:19 am
- languages_spoken: english
- ODROIDs: XU4, N1
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: No odroid_fan.13 file in fresh installation
If your kernel version is 4.14.20 or higher and you want to run the fan at 100% all the time then do:
No longer any need to edit the trip points 
Code: Select all
echo 0 > /sys/devices/platform/pwm-fan/hwmon/hwmon0/automatic
echo 255 > /sys/devices/platform/pwm-fan/hwmon/hwmon0/pwm1

-
- Posts: 9
- Joined: Tue Mar 06, 2018 2:45 am
- languages_spoken: english, german
- ODROIDs: XU4
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: No odroid_fan.13 file in fresh installation
ok... that seems reasonable...
first shut off automatic speeds and then 100%...
but it outputs this error for both commands:
first shut off automatic speeds and then 100%...
but it outputs this error for both commands:
Code: Select all
-bash: /sys/devices/platform/pwm-fan/hwmon/hwmon0/automatic: Permission denied
-
- Posts: 333
- Joined: Tue Jan 19, 2016 10:19 am
- languages_spoken: english
- ODROIDs: XU4, N1
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: No odroid_fan.13 file in fresh installation
You'll need to sudo them probably.
Code: Select all
echo 0 | sudo tee /sys/devices/platform/pwm-fan/hwmon/hwmon0/automatic
echo 255 | sudo tee /sys/devices/platform/pwm-fan/hwmon/hwmon0/pwm1
-
- Posts: 9
- Joined: Tue Mar 06, 2018 2:45 am
- languages_spoken: english, german
- ODROIDs: XU4
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: No odroid_fan.13 file in fresh installation
Well I performed the above command as root...
Your command does not work either. I wonder what is going on...
Your command does not work either. I wonder what is going on...
-
- Posts: 333
- Joined: Tue Jan 19, 2016 10:19 am
- languages_spoken: english
- ODROIDs: XU4, N1
- Has thanked: 0
- Been thanked: 0
- Contact:
-
- Posts: 9
- Joined: Tue Mar 06, 2018 2:45 am
- languages_spoken: english, german
- ODROIDs: XU4
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: No odroid_fan.13 file in fresh installation
Code: Select all
root@huxley:~# cat /proc/version
Linux version 4.14.5-92 (root@1604_builder_armhf) (gcc version 5.4.1 20160904 (Ubuntu/Linaro 5.4.1-2ubuntu1~16.04)) #1 SMP PREEMPT Mon Dec 11 15:48:15 UTC 2017
- odroid
- Site Admin
- Posts: 37222
- Joined: Fri Feb 22, 2013 11:14 pm
- languages_spoken: English, Korean
- ODROIDs: ODROID
- Has thanked: 1720 times
- Been thanked: 1118 times
- Contact:
Re: No odroid_fan.13 file in fresh installation
Update the kernel first. The latest version should be 4.14.32 probably.
https://wiki.odroid.com/odroid-xu4/os_i ... st-upgrade
https://wiki.odroid.com/odroid-xu4/os_i ... st-upgrade
-
- Posts: 9
- Joined: Tue Mar 06, 2018 2:45 am
- languages_spoken: english, german
- ODROIDs: XU4
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: No odroid_fan.13 file in fresh installation
Ok done and it works...
I have no idea why a simple kernel update fixed it though... THANK YOU!
For Future Reference:
set fan to manual:
set speed to 100%:
get temperature:
Code: Select all
root@huxley:~# cat /proc/version
Linux version 4.14.32-126 (root@1604_builder_armhf) (gcc version 5.4.1 20160904 (Ubuntu/Linaro 5.4.1-2ubuntu1~16.04)) #1 SMP PREEMPT Wed Apr 4 03:59:40 UTC 2018
For Future Reference:
set fan to manual:
Code: Select all
echo 0 | sudo tee /sys/devices/platform/pwm-fan/hwmon/hwmon0/automatic
Code: Select all
echo 255 | sudo tee /sys/devices/platform/pwm-fan/hwmon/hwmon0/pwm1
Code: Select all
cat /sys/devices/virtual/thermal/thermal_zone0/temp
- rooted
- Posts: 8486
- Joined: Fri Dec 19, 2014 9:12 am
- languages_spoken: english
- Location: Gulf of Mexico, US
- Has thanked: 740 times
- Been thanked: 340 times
- Contact:
Re: No odroid_fan.13 file in fresh installation
Or you can do this:
To go back to normal
Code: Select all
echo 90000 | sudo tee /sys/devices/virtual/thermal/thermal_zone0/emul_temp
Code: Select all
echo 0 | sudo tee /sys/devices/virtual/thermal/thermal_zone0/emul_temp
-
- Posts: 9359
- Joined: Wed Jul 15, 2015 5:00 pm
- languages_spoken: english
- ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
- Location: Bucharest, Romania
- Has thanked: 599 times
- Been thanked: 651 times
- Contact:
Re: No odroid_fan.13 file in fresh installation
Wouldn't that start triggering (or prevent from triggering) the cpu overheat protection as well?
- rooted
- Posts: 8486
- Joined: Fri Dec 19, 2014 9:12 am
- languages_spoken: english
- Location: Gulf of Mexico, US
- Has thanked: 740 times
- Been thanked: 340 times
- Contact:
Re: No odroid_fan.13 file in fresh installation
Maybe, I just use it to manually cool down my device. If you echo higher than the third trip point it shuts down.mad_ady wrote:Wouldn't that start triggering (or prevent from triggering) the cpu overheat protection as well?
Who is online
Users browsing this forum: No registered users and 9 guests