Results 1 to 5 of 5

Thread: Newbie Question about heat and fans

  1. #1
    Join Date
    Nov 2008
    Beans
    18

    Question Newbie Question about heat and fans

    Hi

    I'm brand new to Ubuntu and Linux and therefore don't know much. I'm using kernal 2.6

    I have a Macbook Pro 3.1 (Santa Rosa) and it runs hot under Ubuntu.

    The fans don't kick in (above 2000rpm) until the Cores hit 80 Degrees C. This seems high, as Mac OS X puts the fans at 6000rpm when it hits this temperature.

    How can I change the settings to do just that?

    I've tried the command:

    sudo echo > 3500 /sys/devices/platform/applesmc.768/fan1_min:

    but get that I need permissions to do this.

    I'm confused


    Thanks for the help,

    Rob.

  2. #2
    Join Date
    Nov 2008
    Location
    indonesia
    Beans
    3
    Distro
    Xubuntu 8.10 Intrepid Ibex

    Re: Newbie Question about heat and fans

    I also need to know about this question's answer. But actually noone has answered it. I'll wait the answer. thanks.

  3. #3
    Join Date
    Jul 2008
    Beans
    245
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Newbie Question about heat and fans

    Quote Originally Posted by RobSoko315 View Post
    The fans don't kick in (above 2000rpm) until the Cores hit 80 Degrees C. This seems high, as Mac OS X puts the fans at 6000rpm when it hits this temperature.

    How can I change the settings to do just that?

    I've tried the command:

    sudo echo > 3500 /sys/devices/platform/applesmc.768/fan1_min:

    but get that I need permissions to do this.
    have a look at this thread. the bottom line is: fan speed is controlled by the hardware. you can change the minimum, if you like more noise, but your command was wrong. use this one:
    Code:
    echo 3500 | sudo tee /sys/devices/platform/applesmc.768/fan1_min
    however do not set the minimum to less than 1000 RPM. or at least check carefully. on my machine (MacBookPro 4), the fans start really late causing unhealthy temperatures under high load.

    as kosumi68 pointed out, also check that manual control is turned off, i.e., _manual files report 0. this should be the default.

    ciao,
    Mario

  4. #4
    Join Date
    Nov 2008
    Beans
    18

    Smile Re: Newbie Question about heat and fans

    Okay, thanks. That line worked

    My temperatures seem to max out at 80C now

  5. #5
    Join Date
    May 2005
    Location
    Chicago
    Beans
    130

    Re: Newbie Question about heat and fans

    I created two scripts to increase and decrease the minimum fan speed, in order to have more control over this. First I created the file "fans-up" with the following lines:
    Code:
    echo 4000 | sudo tee /sys/devices/platform/applesmc.768/fan1_min
    echo 4000 | sudo tee /sys/devices/platform/applesmc.768/fan2_min
    and made a corresponding file "fans-down" with:
    Code:
    echo 2000 | sudo tee /sys/devices/platform/applesmc.768/fan1_min
    echo 2000 | sudo tee /sys/devices/platform/applesmc.768/fan2_min
    to restore things to the original settings. Then I made both files executable by:
    Code:
    chmod +x fans-up
    chmod +x fans-down
    One can now run "./fans-up" to increase (minimum) fan speed and ./fans-down" to decrease it.

    As an added step, to make things nicer, one can create a hidden folder .bin in one's home directory with "mkdir .bin" and then move the scripts there. Then open up your .bashrc file with an editor and add the lines
    Code:
    PATH=$PATH:$HOME/.bin
    export PATH
    at the end of the file. This includes your new folder ~/.bin in the search path, so that you can now execute your scripts from the command line no matter what folder you happen to be in.

    Hope it helps.
    Ubuntu 10.04

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •