# HC4 fancontrol not working

**URL:** <https://dietpi.com/forum/t/hc4-fancontrol-not-working/19254>\
**Category:** Troubleshooting\
**Created:** [11 February 2024 16:39 UTC](https://dietpi.com/forum/t/hc4-fancontrol-not-working/19254 "2024-02-11T16:39:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ttdussart](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/t/6f9a4e/32.png) [@ttdussart](https://dietpi.com/forum/u/ttdussart)\
**Post date:** [11 February 2024 16:39 UTC](https://dietpi.com/forum/t/hc4-fancontrol-not-working/19254/1 "2024-02-11T16:39:03Z")

</div>

Hello,

#### Required Information

G\_DIETPI\_VERSION\_CORE=9  
G\_DIETPI\_VERSION\_SUB=0  
G\_DIETPI\_VERSION\_RC=2  
G\_GITBRANCH=‘master’  
G\_GITOWNER=‘MichaIng’

- Distro version : Bookworm
- Kernel version : 6.1.63
- Architecture : arm64
- SBC model : Odroid HC4
- Power supply used : 15V 4A
- SD card used : Sandisk 16Go

Impossible to turn on the fan. I have install sensors and fancontrol.

When running pwmconfig :

```auto
Found the following devices:
   hwmon0 is cpu_thermal
   hwmon1 is ddr_thermal
   hwmon2 is pwmfan

Found the following PWM controls:
   hwmon2/pwm1 current value: 0

Giving the fans some time to reach full speed...
Found the following fan sensors:
   hwmon2/fan1_input current speed: 0 ... skipping!

There are no working fan sensors, all readings are 0.
Make sure you have a 3-wire fan connected.
You may also need to increase the fan divisors.

```

I have tried a lot of things but it doesn’t work. I have created and write in my /etc/fancontrol

```auto
INTERVAL=10
DEVPATH=hwmon0=devices/virtual/thermal/thermal_zone0 hwmon2=devices/platform/pwm-fan
DEVNAME=hwmon0=cpu_thermal hwmon2=pwmfan
FCTEMPS= hwmon2/pwm1=hwmon0/temp1_input
FCFANS= hwmon2/pwm1=hwmon2/fan1_input
MINTEMP= hwmon2/pwm1=35
MAXTEMP= hwmon2/pwm1=70
MINSTART= hwmon2/pwm1=10
MINSTOP= hwmon2/pwm1=10
MINPWM= hwmon2/pwm1=10

```

According to [https://docs.linuxfactory.or.kr/guides/sensors.html?highlight=fancontrol#fanspeed-control-using-fancontrol](https://docs.linuxfactory.or.kr/guides/sensors.html?highlight=fancontrol#fanspeed-control-using-fancontrol)

With or without the line FCFANS (I’ve that since a kernel it’s not usefull anymore)

Any help?  
Thanks 🙂

---

<div class="post-metadata">

**Author:** ![amibumpin](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/a/4af34b/32.png) [@amibumpin](https://dietpi.com/forum/u/amibumpin)\
**Post date:** [11 February 2024 17:09 UTC](https://dietpi.com/forum/t/hc4-fancontrol-not-working/19254/2 "2024-02-11T17:09:50Z")

</div>

This works for me.

 ![Screenshot_20240211-180846_JuiceSSH](https://dietpi.com/forum/uploads/default/original/2X/3/3b6812331a212c93c9225393c3b47451a1dcc32c.png)

Sorry for the image, I’m on the phone

---

<div class="post-metadata">

**Author:** ![ttdussart](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/t/6f9a4e/32.png) [@ttdussart](https://dietpi.com/forum/u/ttdussart)\
**Post date:** [11 February 2024 17:20 UTC](https://dietpi.com/forum/t/hc4-fancontrol-not-working/19254/3 "2024-02-11T17:20:10Z")

</div>

I’ve tried your code, but don’t work… When I type `fancontrol` this is the result :

```auto
Common settings:
  INTERVAL=5
: integer expression expected5: [: 35
: integer expression expected7: [: 10
: integer expression expected3: [: 10
: integer expression expected9: [: 10

Settings for hwmon2/pwm1:
  Depends on hwmon0/temp1_input
  Controls
  MINTEMP=35
  MAXTEMP=70
  MINSTART=10
  MINSTOP=10
  MINPWM=10
  MAXPWM=255
  AVERAGE=1

Device path of hwmon2 has changed
Device name of hwmon2 has changed

```

Looks like I have a problem with path and name. Already read this [wiki](https://wiki.archlinux.org/title/fan_speed_control) ☹

---

<div class="post-metadata">

**Author:** ![ttdussart](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/t/6f9a4e/32.png) [@ttdussart](https://dietpi.com/forum/u/ttdussart)\
**Post date:** [12 February 2024 12:55 UTC](https://dietpi.com/forum/t/hc4-fancontrol-not-working/19254/4 "2024-02-12T12:55:12Z")

</div>

Kernel issue maybe?

---

<div class="post-metadata">

**Author:** ![system](https://dietpi.com/forum/uploads/default/original/1X/7e1021de2213860bce185915ce2c1786e56490ec.png) [@system](https://dietpi.com/forum/u/system)\
**Post date:** [9 August 2024 00:55 UTC](https://dietpi.com/forum/t/hc4-fancontrol-not-working/19254/5 "2024-08-09T00:55:59Z")

</div>

This topic was automatically closed 178 days after the last reply. New replies are no longer allowed.
