Results 1 to 2 of 2

Thread: Trouble configuring Thinkfan (using 15.04 on ThinkPad T430)

  1. #1
    Join Date
    Feb 2015
    Beans
    12

    Trouble configuring Thinkfan (using 15.04 on ThinkPad T430)

    I'm running Ubuntu 15.04 on a Thinkpad T430. The fan runs constantly, so I tried installing Thinkfan to manage it. Here's my /etc/thinkfan.conf file:

    Code:
    [...]
    #  Syntax:
    #  (LEVEL, LOW, HIGH)
    #  LEVEL is the fan level to use (0-7 with thinkpad_acpi)
    #  LOW is the temperature at which to step down to the previous level
    #  HIGH is the temperature at which to step up to the next level
    #  All numbers are integers.
    #
    
    # I use this on my T61p:
    tp_fan /proc/acpi/ibm/fan
    #tp_thermal /proc/acpi/ibm/thermal (0, 10, 15, 2, 10, 5, 0, 3, 0, 3)
    
    tp_thermal /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input
    tp_thermal /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp2_input
    tp_thermal /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp3_input
    tp_thermal /sys/devices/virtual/hwmon/hwmon0/temp1_input
    
    (0, 0,  55)
    (1, 48, 60)
    (2, 50, 61)
    (3, 52, 63)
    (4, 56, 65)
    (5, 59, 66)
    (7, 63, 32767)
    For some reason, the program refuses to run, and gives me this error message:

    Code:
    $ sudo thinkfan -n
    
    /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input: No such file or directory
    
    add_sensor: Error getting temperature.
    Refusing to run without usable config file!
    It's telling me that no such file exists, when I know there is such a file. Here it is:

    Code:
    $ cat /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input
    44000
    If anyone has an idea as to what's going wrong, I'd appreciate your insights.
    p.s. - Here's the /etc/modprobe.d/thinkfan.conf file:

    Code:
    options thinkpad_acpi fan_control=1
    and the /etc/default/thinkfan file:

    Code:
    # Should thinkfan be started automatically on boot?
    # Only say "yes" when you know what you are doing, have configured
    # thinkfan correctly for *YOUR* machine and loaded thinkpad_acpi
    # with fan_control=1 (if you have a ThinkPad).
    START=yes
    
    # Additional startup parameters
    DAEMON_ARGS="-q"

  2. #2
    Join Date
    Aug 2005
    Location
    Alcabideche, Portugal
    Beans
    232

    Re: Trouble configuring Thinkfan (using 15.04 on ThinkPad T430)

    Hello,

    It's kind of late now but I have been successful in having thinkfan working on T430 and 15.04.
    From what I can see on your posted configuration, you should use hwmon instead of tp_thermal, my config is this:
    Code:
    tp_fan /proc/acpi/ibm/fan
    hwmon /sys/devices/virtual/hwmon/hwmon0/temp1_input
    hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input
    hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp2_input
    hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp3_input
    #(FAN_LEVEL, LOW, HIGH)
    (0, 0,  55)
    (1, 48, 60)
    (2, 50, 61)
    (3, 52, 63)
    (4, 56, 65)
    (5, 59, 66)
    (7, 63, 32767)
    Collecting data is only the first step toward wisdom but sharing data is the first step toward community

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
  •