Announcement

Collapse
No announcement yet.

CPU Fan control - problem solved (amilo pro 2030)

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    CPU Fan control - problem solved (amilo pro 2030)

    My hardware is Fujitsu Siemens Amilo Pro 2030 laptop so the guide is for the hardware, but possibly can be applicable to other.

    This guide is solution to following problem: Under Kubuntu 6.06 Dapper Drake cpu's fan is allways on by full speed.

    Let's first summarize what I did: Repairing the DSDT. The repair enable ways of controling the cpu fan, but it does not make active fan control. Control can be made manualy or automaticly at boot time.

    Here are the steps

    1. Install iasl package by Adept (Package manager)
    2. Copy dsdt to file:

    cat /proc/acpi/dsdt > dsdt.dat

    3. Make dsdt.dat readable by human eye:
    iasl -d dsdt.dat

    4. Edit your dsdt.dsl (the new file (.dsl) is created by previous command). This option can vary. But, for my laptop (amilo pro 2030) I had to do this:

    Original DSDT taken down from my BIOS:

    Method functions are empty:

    Device (FAN)
    {
    Name (_HID, EisaId ("PNP0C0B"))
    Name (_PSC, 0x00)
    Method (_PS0, 0, NotSerialized)
    {
    }

    Method (_PS3, 0, NotSerialized)
    {
    }
    }


    GO-GO SOLUTION:

    Method (_PS0, 0, NotSerialized)
    {
    \_TZ.PFAN._ON ()
    SFAN(0x03)
    }

    Method (_PS1, 0, NotSerialized)
    {
    SFAN (0x01)
    }

    Method (_PS2, 0, NotSerialized)
    {
    SFAN (0x02)
    }

    Method (_PS3, 0, NotSerialized)
    {
    \_TZ.PFAN._OFF ()
    }

    5. Compile dsdt:

    iasl -tc dsdt.dsl

    this makes DSDT.asl

    6. sudo cp DSDT.aml /etc/mkinitramfs/
    7. sudo dpkg-reconfigure linux-image-`uname -r`

    8. So far I have established ways for fan control to be possible. After finishing previous step - restart system

    9. echo 3 > /proc/acpi/fan/FAN/state (you must do this as root and this is manual way of controling the fan)

    10. How about to automaticaly control fan, without manualy entering step 9? This way:

    11. Create text file with this lines (save it after as fan_control):

    #! /bin/sh
    #
    # omogucavanje kontrole cpu ventilatora

    echo 3 > /proc/acpi/fan/FAN/state

    exit 0

    12. chmod 755 fan_control
    13. sudo cp fan_control /etc/init.d/
    14. sudo update-rc.d kontrola_cpu_fan start 51 S .

    Done.

    #2
    Re: CPU Fan control - problem solved (amilo pro 2030)

    Could I suggest that if you are good with wiki work, put this on the [https://wiki.ubuntu.com]Ubuntu Wiki[/url]. This is good information that people may be looking for. Also could I recommend a post over at the Ubuntu Forums.

    If you are unfamiliar with the Ubuntu wiki, feel free to let me know, as I am a WikiTeam member, and would be more then happy to get this up there for you, keeping your information attached to it of course, in case people have have questions for it.

    Thanks for the informaiton and thanks for coming back showing how you fixed your problem. Take care!!!
    Richard Johnson (nixternal)<br />Core Developer :: MOTU :: MOTU Council :: Community Council<br />https://launchpad.net/~nixternal<br />http://www.nixternal.com

    Comment

    Working...
    X