0

I have the 16.04 LTS for my Lenovo G50-80 laptop.

The problem is: cooling fans are working for almost all the time (that's really noisy and boring).

I have this problem since purchasing my laptop a 6 months ago, and I was searching for a solution during this period until now.

I followed these steps:

1) Install the lm-sensors and fancontrol packages.

2) Configure lm-sensors

  1. In terminal type sudo sensors-detect and answer YES to all YES/no questions.
    The first "YES" gives me this:

    Some south bridges, CPUs or memory controllers contain embedded sensors.
    Do you want to scan for them? This is totally safe. (YES/no): y
    Module cpuid loaded successfully.
    Silicon Integrated Systems SIS5595... No
    VIA VT82C686 Integrated Sensors... No
    VIA VT8231 Integrated Sensors... No
    AMD K8 thermal sensors... No
    AMD Family 10h thermal sensors... No
    AMD Family 11h thermal sensors... No
    AMD Family 12h and 14h thermal sensors... No
    AMD Family 15h thermal sensors... No
    AMD Family 16h thermal sensors... No
    AMD Family 15h power sensors... No
    AMD Family 16h power sensors... No
    Intel digital thermal sensor... Success!
    (driver `coretemp')
    Intel AMB FB-DIMM thermal sensor... No
    Intel 5500/5520/X58 thermal sensor... No
    VIA C7 thermal sensor... No
    VIA Nano thermal sensor... No

  2. At the end of sensors-detect, a list of modules that need to be loaded will be displayed. Type "yes" to have sensors-detect insert those modules into /etc/modules.
    So the following lines are added to the file modules.conf:

    # Generated by sensors-detect on Mon Sep 5 13:50:31 2016
    # Chip drivers
    coretemp

  3. Run sudo service kmod start. This will read the changes you made to /etc/modules in step 3, and insert the new modules into the kernel.

3) Configure fancontrol:

At this stage, sudo pwmconfig returns

/usr/sbin/pwmconfig: There are no pwm-capable sensor modules installed

I tried to fix this problem using this link but no way, always the same problem with the command pwmconfig.

What seems abnormal:

1) sensors returns only

coretemp-isa-0000
Adapter: ISA adapter
Physical id 0: +49.0°C (high = +105.0°C, crit = +105.0°C)
Core 0: +48.0°C (high = +105.0°C, crit = +105.0°C)
Core 1: +46.0°C (high = +105.0°C, crit = +105.0°C)

2) acpi -t returns nothing.

May be the kernel doesn't detect fan controller for such laptop model.

Note that there is no way to control fans from BIOS. And cat /proc/cmdline returns

BOOT_IMAGE=/boot/vmlinuz-4.4.0-36-generic.efi.signed root=UUID=b606c0de-3f11-439e-bdd2-c17579566c57 ro quiet splash acpi_enforce_resources=lax vt.handoff=7

I don't know if there are a possible solution for the overall problem. I despair.

2 Answers2

0

Control it using nbfc

I've an Acer Aspire E5-573G laptop and nothing else worked to control the CPU fan, but nbfc. I'm using Ubuntu 18.04. The exact profile for my model is missing, but nbfc worked fine with another similar profile (Acer Aspire E5-575G). If you don't know which profile to use, you can try: mono nbfc.exe config -r

So you can use it and customize a profile to turn your fan as quiet as possible.

marciowb
  • 121
  • 5
0

When it comes to sensors most of the "extras" it reports are for desktop systems.

For my two laptops all I have seen so far are in cat /sys/class/thermal/thermal_zone*/temp:

27800
29800
71000

For thermal zones 0, 1 & 2 which sensors also reports. In this case Thermal Zone 0 is incorrect which Conky also reports. It's a glitch in my system I haven't figured out yet but the last one Thermal Zone 2 is accurate.

As far as your fan running at full speed your kernel boot parameters are:

BOOT_IMAGE=/boot/vmlinuz-4.4.0-36-generic.efi.signed root=UUID=b606c0de-3f11-439e-bdd2-c17579566c57 ro quiet splash acpi_enforce_resources=lax vt.handoff=7

The parameters of note are:

  • ro - read only

  • quiet - don't display system messages overtop of splash screen.

  • splash - display a splash screen with plymouth (Ubuntu logo with moving dots usually)

  • acpi_enforce_resources=lax - Run fan at full speed (as best I can figure)

  • vt.handoff=7 - keep messages flowing from boot to terminal screen (which are controlled not to appear anyway with quiet and splash options earlier).

The first step is to remove the acpi_enforce_resources=lax kernel parameter.

In the terminal type:

gksu gedit /etc/default/grub

Search for this line:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_enforce_resources=lax vt.handoff=7"

Erase the acpi_enforce_resources=lax and save the file. We don't have to write down what we are erasing because AskUbuntu is our giant notepad.

Back at the terminal prompt type:

sudo update-grub

Now reboot your laptop and report back on progress.

Edit 1:

Removing the =lax variable didn't change the fan setting. Now the next step is to tell your Lenovo that ACPI is supported. Some laptops look for Windows and if it doesn't see it doesn't implement ACPI services (such as fan control). We'll tell your laptop Windows is running and turn over control to Linux. On the same Kernel Command line add the option acpi_osi=Linux before the vt.handoff=7

Now your line looks like this:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=linux vt.handoff=7"

Once again update grub and reboot.

Report back on progress.

Edit 2:

After much searching I came across someone who has ten Lenovo G50-80 laptops and one of them had the same problem: Cooling-fan-stays-on. Tech support first advised to upgrade the BIOS to the current version (now it is # B0CN99WW dated August 25, 2016). The user had updated the BIOS and problem persists so he returned it for a new one.

BIOS (Basic Input Output System) contains the ACPI (Advanced Configuration and Power Interface) discussed above.

If your fan works properly in Windows then checking compatibility with Linux is the next step. You can google the question but no answers come up. You can check: Ubuntu certification Lenovo but as of today The G50-80 model doesn't appear on the list.

With any luck another Lenovo G50-80 user will be able to offer advice.

  • cat /proc/cmdline gives now: BOOT_IMAGE=/boot/vmlinuz-4.4.0-36-generic.efi.signed root=UUID=b606c0de-3f11-439e-bdd2-c17579566c57 ro ro quiet splash vt.handoff=7 (there are two 'ro'), the problem is always the same. – Sofiane Sep 08 '16 at 00:48
  • In the greb file, the edited line is now GRUB_CMDLINE_LINUX_DEFAULT="ro quiet splash". – Sofiane Sep 08 '16 at 00:52
  • Take the ro out, it's added automatically. The next step is to research on your ACPI options which I'll start now. It should only take ten minutes or so. – WinEunuuchs2Unix Sep 08 '16 at 00:55
  • Should I edit the field GRUB_CMDLINE_LINUX_DEFAULT to only "quiet splash" (erase the "ro") ? – Sofiane Sep 08 '16 at 01:07
  • Yes erase the ro and you can leave off the vt.handoff=7 too. However I just updated the answer with a new option. Please read after Edit 1: – WinEunuuchs2Unix Sep 08 '16 at 01:12
  • GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=linux" and cat /proc/cmdline gives BOOT_IMAGE=/boot/vmlinuz-4.4.0-36-generic.efi.signed root=UUID=b606c0de-3f11-439e-bdd2-c17579566c57 ro quiet splash acpi_osi=linux vt.handoff=7 but the problem is always the same with the command pwmconfig. – Sofiane Sep 08 '16 at 01:29
  • The pwmconfig command isn't the problem we are looking at right now. First we are focusing on getting the fan to run at normal speed. – WinEunuuchs2Unix Sep 08 '16 at 01:31
  • OK. Unfortunately the noisy fan speed is the same. – Sofiane Sep 08 '16 at 01:36
  • I'm going to do more investigations but I might not have another option to try until tomorrow. With any luck other readers might offer some other suggestions. There is a package called Thinkfan designed for IBM Thinkpads which your Lenovo is a descendant of which I will investigate next. I haven't had a thinkpad since 1994 so I'm a little rusty :) – WinEunuuchs2Unix Sep 08 '16 at 01:40
  • @Sofiane type ls /sys/class/hwmon/hwmon2/device do you see a file like pmw1_enable or pmw2_enable? I just read that pmwconfig can set your fans to run at full speed, disabling automatic fan control within Ubuntu/Linux ACPI. Also how is fan working within Windows? – WinEunuuchs2Unix Sep 08 '16 at 04:07
  • The command returns No such file or directory. I did a full search on the computer and there is no file named pmw1_enable or pmw1_enable. – Sofiane Sep 08 '16 at 06:35
  • Thank you so much for Edit 2. After 18 years of working on Windows, I decided to permanently migrate to Linux. So I installed directly Ubuntu since purchasing this laptop. I have no intention to install Windows anyway, even for a test. – Sofiane Sep 12 '16 at 20:49