Bug 14514 - Minimum fan speed in applesmc is too low
Summary: Minimum fan speed in applesmc is too low
Status: RESOLVED INVALID
Alias: None
Product: Drivers
Classification: Unclassified
Component: Hardware Monitoring (show other bugs)
Hardware: All Linux
: P1 high
Assignee: Nicolas Boichat
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-30 10:46 UTC by David
Modified: 2009-11-25 16:25 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.31-14
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description David 2009-10-30 10:46:57 UTC
Currently the minimum fan speed is set to be 2000rpm in the applesmc kernel module. This speed doesn't appear to change, and my CPU has reached temperatures over 60c whilst this was the case. I think that this is way too high, and it should be raise to 3000rpm to prevent overheating.

A workaround can be done by switching to a root prompt and typing 'echo 3000 > /sys/devices/platform/applesmc.768/fan1_min'
Comment 1 Nicolas Boichat 2009-10-31 11:53:15 UTC
This is not a problem with the applesmc driver: The minimum fan speed is originally set by the Apple firmware (2000rpm in your case, I think it depends on firmware version and model), applesmc just provides an interface to access and change this value.
Comment 2 David 2009-10-31 12:08:34 UTC
So is there no way to manually increase this default value, or implement a linear relationship between fan speed and temperature like so: http://media.macupdate.com/images/screens/uploaded/JPG/23137_scr.jpg ?
Comment 3 Nicolas Boichat 2009-10-31 13:19:19 UTC
Well you can increase the minimum value by putting the line above in one of your bootup scripts. For the "linear control", yes you can do it, in a user-land application (applesmc provides all the control interface you would need).
(but this is getting off-topic for a bug report)
Comment 4 David 2009-10-31 19:00:25 UTC
I honestly don't think this is off topic, as the bug (in a nutshell) is that due to fan control not working very well, apple laptops have a chance of overheating.

Would getting linear fan control implemented be something to chase up downsream in Ubuntu, or upstream on the kernel?

And am I right in thinking that there is no way to change this default so anyone doing a fresh install has 3000 (as opposed to 2000) as the minimum?
Comment 5 Nicolas Boichat 2009-11-02 08:26:17 UTC
If, with default values set by the firmware, Apple laptops overheat, this is a hardware/firmware problem, not a Linux kernel problem.

Linear control of fans will not be done in the kernel, this can be done in userspace however.

Setting a higher default minimum value is not something that will be done in the kernel. Setting a higher fan speed is a personal choice (i.e. a noise vs heat tradeoff).

Note You need to log in before you can comment on or make changes to this bug.