ODROID XU Fan High Pitch Noise

Post Reply
xlink
Posts: 6
Joined: Wed Apr 02, 2014 3:58 pm
languages_spoken: English, Afrikaans
ODROIDs: U3 and XU
Location: Pretoria, South Africa
Has thanked: 0
Been thanked: 0
Contact:

ODROID XU Fan High Pitch Noise

Unread post by xlink » Wed May 21, 2014 7:22 pm

I am getting a high pitch from the fan. Fan does not run.
I have found the PWM setting and have tried different PW settings. any setting below 78 causes the high pitch sound to come from fan. 79 and up controls the fan.

it is new unit with supplied fan fitted.

I am assuming that the temp is causing the fan to start but it is actually not running, I found the following

//*****************************************************
There are 5 steps of PWM
0% : off
20%
50%
70%
100% : full running.

When the CPU temperature is lower than 50C, fan is not running.
When the CPU temp is higher than 90C, fan is fully running.
There are 3 steps between 50C and 90C.
We also need to check the TMU throttling condition.

//*******************************************

is their any way to set different percentages for fan, a file somewhere.... I am not referring to manual control...
Or can the fan driver be recompiled separate. Or do I need to recompile the full kernel... I presume these settings is hard coded in the driver?

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

Re: ODROID XU Fan High Pitch Noise

Unread post by odroid » Wed May 21, 2014 8:26 pm

Those values are hard-coded.

I think mdrjr can answer where is the code.

jordy5
Posts: 5
Joined: Tue May 20, 2014 5:41 pm
languages_spoken: english
ODROIDs: XU
Has thanked: 0
Been thanked: 0
Contact:

Re: ODROID XU Fan High Pitch Noise

Unread post by jordy5 » Wed May 21, 2014 8:59 pm

I have the exact same thing. In android it happens when 20% fan speed is engadged. Anything higher is no problem. It seems the 20% is not enough to rotate the fan itself and causes the sound. When helping the fan turning by hand, it rotates slowly without the tone. After going from 0% to 20% again, it starts over.

Disabling the 20% step and bringing it to 30% or higher could fix the issue.

mdrjr
Site Admin
Posts: 11710
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 0
Been thanked: 6 times
Contact:

Re: ODROID XU Fan High Pitch Noise

Unread post by mdrjr » Wed May 21, 2014 10:12 pm

https://github.com/hardkernel/linux/blo ... idxu_fan.c

Here.. You can experiment with this code :)

jordy5
Posts: 5
Joined: Tue May 20, 2014 5:41 pm
languages_spoken: english
ODROIDs: XU
Has thanked: 0
Been thanked: 0
Contact:

Re: ODROID XU Fan High Pitch Noise

Unread post by jordy5 » Thu May 22, 2014 1:02 am

Any way too make this configurable in Android? I'm not really into recompiling the kernel to test :)

mdrjr
Site Admin
Posts: 11710
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 0
Been thanked: 6 times
Contact:

Re: ODROID XU Fan High Pitch Noise

Unread post by mdrjr » Thu May 22, 2014 1:35 am

Whell.. You can set the fan_mode to manual and write the values to it as you wish :)

Where 0 = 0%
and 255 = 100% :)

thx1138hu
Posts: 12
Joined: Sun May 18, 2014 6:57 am
languages_spoken: english
ODROIDs: XU
Has thanked: 0
Been thanked: 0
Contact:

Re: ODROID XU Fan High Pitch Noise

Unread post by thx1138hu » Fri May 23, 2014 6:43 am

I have exactly the same problem. First i thought it is the adapter that gives this high pitch noise, so i purcashed a new one. i was very fustrated when i still heard the noise, and then i checked it again and realized the fan makes the noise when it cannot start. this is really annoying, and it seems its a common problem for many people.

mdrjr
Site Admin
Posts: 11710
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 0
Been thanked: 6 times
Contact:

Re: ODROID XU Fan High Pitch Noise

Unread post by mdrjr » Fri May 23, 2014 8:39 am

I'll check that.. gimme a couple of days :)

xlink
Posts: 6
Joined: Wed Apr 02, 2014 3:58 pm
languages_spoken: English, Afrikaans
ODROIDs: U3 and XU
Location: Pretoria, South Africa
Has thanked: 0
Been thanked: 0
Contact:

Re: ODROID XU Fan High Pitch Noise

Unread post by xlink » Fri May 23, 2014 3:33 pm

mdrjr wrote:https://github.com/hardkernel/linux/blo ... idxu_fan.c

Here.. You can experiment with this code :)
:mrgreen: Thank you will give it a try, need to get my Build environment setup. I take it that i will need to download the kernel source files, to get all the include files.

I will search forum for setup suggestions.

Thank you

ukki
Posts: 2
Joined: Wed May 07, 2014 6:32 am
languages_spoken: english
ODROIDs: odroid-xu
Has thanked: 0
Been thanked: 0
Contact:

Re: ODROID XU Fan High Pitch Noise

Unread post by ukki » Fri May 30, 2014 5:03 pm

Hello there!
I received my ODROID-XU three weeks ago and it sported the very same issue. Could be a batch of bad fans? Anyway, I downloaded the kernel source from github and modified "drivers/hardkernel/odroidxu_fan.c" to expose both thermal thresholds and fan speeds to /sys in order to play with them and adjust them on the fly. The minimum power duty value that makes my fan turn without any reluctance appears to be ~71 (28%) so I adjusted the fan speeds to 1 28 51 100.
At first, I also altered odroidxu_fan.c to make it ramp the fan speed up to 100% for half a second and then lower it as low as the requested duty when duty was < 71, but in the end it was not worth it.

mdrjr
Site Admin
Posts: 11710
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 0
Been thanked: 6 times
Contact:

Re: ODROID XU Fan High Pitch Noise

Unread post by mdrjr » Fri May 30, 2014 7:49 pm

Its not a bad batch of fans.

Its http://en.wikipedia.org/wiki/Coil_noise

:)

Anyway.. sent us a PR on Github with all your changes :)

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

Re: ODROID XU Fan High Pitch Noise

Unread post by odroid » Sat May 31, 2014 10:07 pm

We will release a new image in the middle of next week to reduce the high frequency noise.

ukki
Posts: 2
Joined: Wed May 07, 2014 6:32 am
languages_spoken: english
ODROIDs: odroid-xu
Has thanked: 0
Been thanked: 0
Contact:

Re: ODROID XU Fan High Pitch Noise

Unread post by ukki » Sun Jun 01, 2014 8:37 pm

mdrjr wrote:Its not a bad batch of fans.

Its http://en.wikipedia.org/wiki/Coil_noise

:)
Sorry, I was referring to the fact that, like for the OP, my fan doesn't run at all when power duty is below ~71/255 (28%)...
What I observed on my odroid-xu is that, when power duty is:
- at 1%, no noise and fan not running (expected, I guess);
- below 26%, high pitch noise and fan not running. When higher than 20%, If I push the fan gently with my finger, the noise stops and the fan tries hard to rotate using the momentum, but after a little while (half a sec) the fan stops and the noise is back;
- at 26%, high pitch noise and fan not running. If I push the fan, the noise stops and the fan manages to run;
- at and above 28%, no noise and fan running.

Seems to me that the fan should work even below 28% (and over 1% of course). Unless for any reason it works for discrete steps of power duty... but then, why the fan speeds hardcoded in odroidxu_fan.c are 1% 21% 51% 100% ? It looks like the fan is expected to work when power duty is 21%.

Mind you, I'm not complaining at all! When all it takes to make it right is to modify a C source, it's fine.
mdrjr wrote:Anyway.. sent us a PR on Github with all your changes :)
As soon as I'm back home (couple of days) I'll send you the patch.

mdrjr
Site Admin
Posts: 11710
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 0
Been thanked: 6 times
Contact:

Re: ODROID XU Fan High Pitch Noise

Unread post by mdrjr » Sun Jun 01, 2014 10:08 pm

Nah.. I was just explaining what could cause that :)

In fact the fan operation will change based on humidity / temperature as those will affect the parts with friction..
It may had work for us when we tested with the values above.
But since for you didn't worked.. we'll fix it.

xlink
Posts: 6
Joined: Wed Apr 02, 2014 3:58 pm
languages_spoken: English, Afrikaans
ODROIDs: U3 and XU
Location: Pretoria, South Africa
Has thanked: 0
Been thanked: 0
Contact:

Re: ODROID XU Fan High Pitch Noise

Unread post by xlink » Sun Jun 08, 2014 1:19 am

ukki wrote:Hello there!
I received my ODROID-XU three weeks ago and it sported the very same issue. Could be a batch of bad fans? Anyway, I downloaded the kernel source from github and modified "drivers/hardkernel/odroidxu_fan.c" to expose both thermal thresholds and fan speeds to /sys in order to play with them and adjust them on the fly. The minimum power duty value that makes my fan turn without any reluctance appears to be ~71 (28%) so I adjusted the fan speeds to 1 28 51 100.
At first, I also altered odroidxu_fan.c to make it ramp the fan speed up to 100% for half a second and then lower it as low as the requested duty when duty was < 71, but in the end it was not worth it.
Hi did you need to recompile all or can you just compile the fan....

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

Re: ODROID XU Fan High Pitch Noise

Unread post by odroid » Mon Jun 09, 2014 4:43 pm

This Android 4.4.2 update fixes the high pitch noise of Fan.
http://dn.odroid.com/ODROID-XU/Firmware/06-02-2014/

Run the ODROID Updater app and press the "Get Latest version".

The PWM ratio is changed to 30, 60, 90, 100% from 20, 50, 70, 100%.

Github source code is also updated.

Petite_Voix
Posts: 30
Joined: Wed Jul 02, 2014 9:24 pm
languages_spoken: french
ODROIDs: Odroid-XU lite with 16 Go SDcard
Location: France
Has thanked: 0
Been thanked: 0
Contact:

Re: ODROID XU Fan High Pitch Noise

Unread post by Petite_Voix » Fri Jul 11, 2014 11:52 pm

Hello,
I've nerver expérienced noise with fan with release before 06 Jun, it's the contrary, my Fan is turn to 50% every 30 sec for a cpu temp at 50°C, it's very noizy. I use the last release from today.
mdrjr wrote:Whell.. You can set the fan_mode to manual and write the values to it as you wish :)

Where 0 = 0%
and 255 = 100% :)
How can i do that ? I want to use the old values ( 20% 50% 100%).
Just a end user who use an ODROID for media center and video game émulator, and may be to compose music.

http://niarg.org/

mdrjr
Site Admin
Posts: 11710
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 0
Been thanked: 6 times
Contact:

Re: ODROID XU Fan High Pitch Noise

Unread post by mdrjr » Sat Jul 12, 2014 2:19 am

find /sys -iname fan_mode

;) You'll find the file that allows fan configuration.

Petite_Voix
Posts: 30
Joined: Wed Jul 02, 2014 9:24 pm
languages_spoken: french
ODROIDs: Odroid-XU lite with 16 Go SDcard
Location: France
Has thanked: 0
Been thanked: 0
Contact:

Re: ODROID XU Fan High Pitch Noise

Unread post by Petite_Voix » Sat Jul 12, 2014 2:26 am

:) Thank you.

Edit : the file only containt "fan_mode auto",

what is the syntax for define the differente value ? don't fine any exemple or manual to this file.
Just a end user who use an ODROID for media center and video game émulator, and may be to compose music.

http://niarg.org/

Raymond Day
Posts: 500
Joined: Tue Jun 04, 2013 8:18 pm
languages_spoken: english
ODROIDs: Odroid-U2, XU4, C1+,
Location: Belleville MI
Has thanked: 0
Been thanked: 0
Contact:

Re: ODROID XU Fan High Pitch Noise

Unread post by Raymond Day » Sun Jul 13, 2014 1:46 am

Mine was making sound too.

I posted about putting a now one on it here.

http://forum.odroid.com/viewtopic.php?f=63&t=4805

-Raymond Day

Petite_Voix
Posts: 30
Joined: Wed Jul 02, 2014 9:24 pm
languages_spoken: french
ODROIDs: Odroid-XU lite with 16 Go SDcard
Location: France
Has thanked: 0
Been thanked: 0
Contact:

Re: ODROID XU Fan High Pitch Noise

Unread post by Petite_Voix » Tue Jul 15, 2014 11:08 am

I think i'ill take your solution Raymond, the fan start to have some noize of vibration :( , i don't understand why my fan is spinning at 50% for ~ 50 ° instead of 30%.
Just a end user who use an ODROID for media center and video game émulator, and may be to compose music.

http://niarg.org/

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

Re: ODROID XU Fan High Pitch Noise

Unread post by odroid » Tue Jul 15, 2014 11:42 am

Petite_Voix wrote: i don't understand why my fan is spinning at 50% for ~ 50 ° instead of 30%.
Some fans can't kick start at 30% of duty ratio. So we increased it to 50%. :(

Petite_Voix
Posts: 30
Joined: Wed Jul 02, 2014 9:24 pm
languages_spoken: french
ODROIDs: Odroid-XU lite with 16 Go SDcard
Location: France
Has thanked: 0
Been thanked: 0
Contact:

Re: ODROID XU Fan High Pitch Noise

Unread post by Petite_Voix » Tue Jul 15, 2014 8:52 pm

Ok, i see the wiki to compile the kernel, and may be try to do that with the older value, if i understand well i just to change the differente #define TEMP_LEVEL_ and #define FAN_SPEED_ in odroidxu_fan.c , my fan spinning well at 20%, the only thing i've compile is LMMS some year ago on Ubuntu, my understanding of english is far from perfect, some compiling step is not clear for me after a fast reading, but if i spend time.
Just a end user who use an ODROID for media center and video game émulator, and may be to compose music.

http://niarg.org/

Respectech
Posts: 279
Joined: Wed Nov 13, 2013 9:20 am
languages_spoken: English, German, some Ukrainian, some Spanish
ODROIDs: All the ODROIDs!!

Well, the ones released since the U2.
Location: California
Has thanked: 0
Been thanked: 0
Contact:

Re: ODROID XU Fan High Pitch Noise

Unread post by Respectech » Wed Jul 16, 2014 2:50 am

This type of PWM problem is common with many different devices. For instance, solenoids can have the same issue. What we do to correct this type of situation in our software is to kick the PWM on at 100% duty cycle for 100ms and then back it down to the value where we want it.

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

Re: ODROID XU Fan High Pitch Noise

Unread post by odroid » Wed Jul 16, 2014 2:34 pm

It seem to be a good idea. Start at 30%+20% and go back to 30% after 0.1~0.5 second.

But.. many people will complain about the high pitch nosie again if it doesn't work..
So we need a lot of test with various fan samples. :(

xlink
Posts: 6
Joined: Wed Apr 02, 2014 3:58 pm
languages_spoken: English, Afrikaans
ODROIDs: U3 and XU
Location: Pretoria, South Africa
Has thanked: 0
Been thanked: 0
Contact:

Re: ODROID XU Fan High Pitch Noise

Unread post by xlink » Thu Aug 21, 2014 4:53 pm

odroid wrote:This Android 4.4.2 update fixes the high pitch noise of Fan.
http://dn.odroid.com/ODROID-XU/Firmware/06-02-2014/

Run the ODROID Updater app and press the "Get Latest version".

The PWM ratio is changed to 30, 60, 90, 100% from 20, 50, 70, 100%.

Github source code is also updated.
How do I Update on Ubuntu is this change updated to the kernel update?
what files do i need to update ?

mdrjr
Site Admin
Posts: 11710
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 0
Been thanked: 6 times
Contact:

Re: ODROID XU Fan High Pitch Noise

Unread post by mdrjr » Fri Aug 22, 2014 1:28 am

xlink wrote:
odroid wrote:This Android 4.4.2 update fixes the high pitch noise of Fan.
http://dn.odroid.com/ODROID-XU/Firmware/06-02-2014/

Run the ODROID Updater app and press the "Get Latest version".

The PWM ratio is changed to 30, 60, 90, 100% from 20, 50, 70, 100%.

Github source code is also updated.
How do I Update on Ubuntu is this change updated to the kernel update?
what files do i need to update ?
My signature

xlink
Posts: 6
Joined: Wed Apr 02, 2014 3:58 pm
languages_spoken: English, Afrikaans
ODROIDs: U3 and XU
Location: Pretoria, South Africa
Has thanked: 0
Been thanked: 0
Contact:

Re: ODROID XU Fan High Pitch Noise

Unread post by xlink » Thu Aug 28, 2014 3:59 pm

mdrjr wrote:
xlink wrote:
odroid wrote:This Android 4.4.2 update fixes the high pitch noise of Fan.
http://dn.odroid.com/ODROID-XU/Firmware/06-02-2014/

Run the ODROID Updater app and press the "Get Latest version".

The PWM ratio is changed to 30, 60, 90, 100% from 20, 50, 70, 100%.

Github source code is also updated.
How do I Update on Ubuntu is this change updated to the kernel update?
what files do i need to update ?
My signature
I might be slow on the uptake where do I get the ODROID Updater app for Ubuntu... apt for Android... how do I get this installed on Ubuntu. and this is on XU looking at kernel source code it does not appear to be updated, but I might look at wrong code.

I have tried your Odroid Utility to updated the kernel, the firmware. but fan problem persists. I would have thought at this stage the kernel / firmware has been updated, to include the updated fan

mdrjr
Site Admin
Posts: 11710
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 0
Been thanked: 6 times
Contact:

Re: ODROID XU Fan High Pitch Noise

Unread post by mdrjr » Fri Aug 29, 2014 12:28 am

I'll check that

Post Reply

Return to “General Chat”

Who is online

Users browsing this forum: No registered users and 1 guest