erlow.blogg.se

Linux fan control ubuntu
Linux fan control ubuntu




There are two places to get the CPU temperature in sysfs, /sys/devices/10060000.tmu/temp and /sys/devices/virtual/thermal/thermal_zone0/temp. Temp_levels: Three space delimited CPU Celcius temperature values, in ascending order (default "57 63 68")

linux fan control ubuntu

Pwm_duty: Current setting of the PWM duty cycle (0-255, set dynamically) There are a number of settings in sysfs for the odroid-fan driver, on the XU4 this is under /sys/devices/odroid_fan.13, while on the XU3 it is /sys/devices/odroid_fan.14.įan_mode: Auto or Manual (set to 1 for auto and 0 for manual, default Auto)įan_speeds: Four space delimited fan speed percentage values, in ascending order. So, if the current CPU temp is below the lowest temperature setting it uses the first fan speed, if between the first and second temperature settings it uses the second fan speed, if between the second and third temperature settings it uses the third fan speed, and if greater than the third temperature setting it uses the fourth fan speed. The driver has four speed settings, which it selects among based on three temperature settings.

linux fan control ubuntu

The odroid fan driver uses pulse width modulation (PWM) to control the speed of the fan, with the PWM duty cycle adjusted based on the temperature of the CPU. So, this is my attempt to document the fan settings. I don't think that the workarounds are all that necessary, if the proper configuration is done.

linux fan control ubuntu

There are a lot of postings about the fan in the forums and some workarounds like a script that slows it down.






Linux fan control ubuntu