reading fan speed

Post Reply
User avatar
jaym
Posts: 29
Joined: Sat Dec 17, 2016 11:53 pm
languages_spoken: english
ODROIDs: C2, HC1, H2
Location: VA, USA
Has thanked: 0
Been thanked: 0
Contact:

reading fan speed

Post by jaym »

I have found the H2's SoC temperature sensors at

Code: Select all

/sys/devices/virtual/thermal/thermal_zone0/temp
/sys/devices/virtual/thermal/thermal_zone1/temp
Has anyone figured out how to read the fan speed?

FWIW, the Noctua 5v Fan (NF-A9 PWM) is very quiet. Mounted in the KKSB case, in a quiet room, I have yet to hear it at all.

User avatar
odroid
Site Admin
Posts: 34947
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 960 times
Been thanked: 775 times
Contact:

Re: reading fan speed

Post by odroid »

There is a dedicated IC which controls the fan speed by reading the board temperature with its own temp sensor.
The controller IC is isolated from the system and it is accessible in the BIOS settings only.

mad_ady
Posts: 8337
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: 574 times
Been thanked: 439 times
Contact:

Re: reading fan speed

Post by mad_ady »

lmsensors can see it, but doesn't read rpm correctly

User avatar
roots
Posts: 37
Joined: Thu Feb 28, 2019 4:16 pm
languages_spoken: English, Romanian
ODROIDs: H2, XU4
Location: Romania
Has thanked: 11 times
Been thanked: 1 time
Contact:

Re: reading fan speed

Post by roots »


struthio
Posts: 4
Joined: Wed Oct 09, 2019 4:17 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: reading fan speed

Post by struthio »

Does anyone can read values ?
To read temperature form those sensors do fan needs to be enabled in BIOS?

I tried to load module but sensors didn't found nothing new:

Code: Select all

struthio@eden:~/shSystemSetup$ lsmod | grep emc2103
emc2103                16384  0
struthio@eden:~/shSystemSetup$ sensors
acpitz-virtual-0
Adapter: Virtual device
temp1:        +47.0°C  (crit = +95.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +47.0°C  (high = +105.0°C, crit = +105.0°C)
Core 0:        +45.0°C  (high = +105.0°C, crit = +105.0°C)
Core 1:        +46.0°C  (high = +105.0°C, crit = +105.0°C)
Core 2:        +46.0°C  (high = +105.0°C, crit = +105.0°C)
Core 3:        +46.0°C  (high = +105.0°C, crit = +105.0°C)

User avatar
odroid
Site Admin
Posts: 34947
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 960 times
Been thanked: 775 times
Contact:

Re: reading fan speed

Post by odroid »

@struthio,

You don't need to change the BIOS settings.
Did you see this thread?
viewtopic.php?f=168&t=38520#p290014

struthio
Posts: 4
Joined: Wed Oct 09, 2019 4:17 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: reading fan speed

Post by struthio »

Yes. That is why I asked :)

I loaded the same module as mentioned in other post:

Code: Select all

struthio@eden:~/shSystemSetup$ lsmod | grep emc2103
emc2103                16384  0
but sensors didn't returned anything new:

Code: Select all

struthio@eden:~/shSystemSetup$ sensors
acpitz-virtual-0
Adapter: Virtual device
temp1:        +47.0°C  (crit = +95.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +47.0°C  (high = +105.0°C, crit = +105.0°C)
Core 0:        +45.0°C  (high = +105.0°C, crit = +105.0°C)
Core 1:        +46.0°C  (high = +105.0°C, crit = +105.0°C)
Core 2:        +46.0°C  (high = +105.0°C, crit = +105.0°C)
Core 3:        +46.0°C  (high = +105.0°C, crit = +105.0°C)

User avatar
odroid
Site Admin
Posts: 34947
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 960 times
Been thanked: 775 times
Contact:

Re: reading fan speed

Post by odroid »

We've made a WiKi page. I used Ubuntu 20.04 and Kernel 5.4 for the test.
https://wiki.odroid.com/odroid-h2/appli ... _fan_speed
These users thanked the author odroid for the post:
domih (Wed Jun 10, 2020 3:50 pm)

Post Reply

Return to “Hardware and peripherals”

Who is online

Users browsing this forum: No registered users and 0 guests