Re: [lm-sensors] Hardware running hot and without the fan

From: Guenter Roeck
Date: Thu Nov 03 2011 - 13:06:16 EST


On Thu, 2011-11-03 at 12:55 -0400, Guenter Roeck wrote:
> On Thu, 2011-11-03 at 12:43 -0400, Jean Delvare wrote:
> > On Thu, 3 Nov 2011 08:32:02 -0700, Guenter Roeck wrote:
> > > On Thu, 2011-11-03 at 11:19 -0400, Lars NoodÃn wrote:
> > > > I can set the fan speed manually. e.g.:
> > > >
> > > > echo 3500 > /sys/class/hwmon/hwmon0/device/fan1_output
> > > >
> > > > That helps some.
> > > >
> > > If you can do that, you should be able to set up fancontrol to
> > > automatically control fan speed based on system temperatures.
> >
> > This won't work, as fancontrol wants pwmX attributes which the applesmc
> > driver doesn't implement.
> >
> Yes, you are right - it won't work without patching it to use
> fanX_output and to accept larger values for the limits.
>
> Wonder how this works for other Apple systems. Maybe there is an
> Apple-specific script out there to control fan speed.
>
> > > There is another sysfs attribute - fanX_manual. I don't find driver
> > > documentation, so I have no idea what it is doing. The name indicates
> > > that it might set manual vs. automatic fan control. What is it set to in
> > > your system ? From the code, looks like it should be 0 or 1. Try to
> > > toggle it and see what happens - after all, it can not get worse ;).
> >
> > Might be worth looking at files fanX_min, _max and _safe too. Too bad
> > there doesn't seem to be any documentation available for all these
> > non-standard attributes :(
> >
> Here is some info from the web about the problem. See
> http://ubuntuforums.org/archive/index.php/t-981280.html.
>
The above link points to

https://wiki.ubuntu.com/MacBookPro/SantaRosaFanControl

which provides a script to control fan speed on MAC systems.

Guenter


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/