Hi all, I've trivially modified the applesmc.patch to allow for changing the minimum fan speed. This is useful if you don't care mind a trade-off of a little noise increase for a much cooler laptop. The minimum speed device for each fan is now writable as well as readable.
jason Patch: Index: kernel/mactel-patches-2.6.18/applesmc.patch =================================================================== --- kernel/mactel-patches-2.6.18/applesmc.patch (revision 57) +++ kernel/mactel-patches-2.6.18/applesmc.patch (working copy) @@ -641,8 +641,13 @@ +{ \ + return applesmc_show_fan_speed(dev, buf, FAN_MIN_SPEED, offset); \ +} \ -+static DEVICE_ATTR(fan##offset##_minimum_speed, S_IRUGO, \ -+ show_fan_minimum_speed_##offset, NULL); \ ++static ssize_t store_fan_minimum_speed_##offset (struct device *dev, \ ++ struct device_attribute *attr, const char *buf, size_t count) \ ++{ \ ++ return applesmc_store_fan_speed(dev, buf, count, FAN_MIN_SPEED, offset); \ ++} \ ++static DEVICE_ATTR(fan##offset##_minimum_speed, S_IRUGO | S_IWUSR, \ ++ show_fan_minimum_speed_##offset, store_fan_minimum_speed_##offset); \ +\ +static ssize_t show_fan_maximum_speed_##offset (struct device *dev, \ + struct device_attribute *attr, char *buf) \ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Mactel-linux-devel mailing list Mactel-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mactel-linux-devel