Fancontrol ignores pwmconfig settings after suspend to ram/disk

Bug #489596 reported by emil on 2009-11-28
54
This bug affects 12 people
Affects Status Importance Assigned to Milestone
lm-sensors (Debian)
New
Undecided
Unassigned
lm-sensors-3 (Ubuntu)
Undecided
Unassigned

Bug Description

When I suspend to ram/disk and reboot my pc, fancontrol doesn't use the config file in /etc/fancontrol.
Killing and restarting fancontrol solves the problem.

I am using a Asrock A780GM-LE amd motherboard.
-Kubuntu 9.10 AMD64
-lm-sensors version: 1:3.0.2-2ubuntu4

ProblemType: Bug
Architecture: amd64
Date: Sat Nov 28 15:06:13 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/sbin/fancontrol
InstallationMedia: Kubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
InterpreterPath: /bin/bash
Package: lm-sensors 1:3.0.2-2ubuntu4
ProcEnviron:
 PATH=(custom, no user)
 LANG=nl_BE.UTF-8
 LANGUAGE=
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-15.50-generic
SourcePackage: lm-sensors-3
Uname: Linux 2.6.31-15-generic x86_64

emil (goderic92) wrote :
emil (goderic92) wrote :

Not fixed in 10.04

emil (goderic92) wrote :

Not fixed in 10.10

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in lm-sensors-3 (Ubuntu):
status: New → Confirmed
muzah (sylvain-lesne) wrote :

Same bug here with Ubuntu 12.04 on gigabyte P965-DS3.

Gert Brinkmann (g111) wrote :

In my case fancontrol does not control the fan anymore after waking up from suspend to disk. Doing a manual restart of fancontrol fixes the problem. When waking up from suspend to RAM the problem does not occur.

board: gigabyte z68x-ud3h-b3
cpu: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
kernel: 3.5.0-23-generic
fancontrol 1:3.3.1-2ubuntu2
lm-sensors 1:3.3.1-2ubuntu2

Greetings,
Gert

Benedict (bela83) wrote :

Thank you Erik for the workaround.

Gert Brinkmann (g111) wrote :

Thanks, Erik. The script does work for me. (btw. I made it executable like all the other scripts in this directory. I do not know if it is necessary, but I think so.)

So IMHO this script should be included in the fancontrol package as long as not other solution exists.

manojav (manojav) wrote :

still broken in 13.04. work around still fixes issue.

The same problem at HP proBook 4515s. It worked in 12.10...

TheSkorm (ubuntu-uz) wrote :

If your system uses systemd you can edit /lib/systemd/system/fancontrol.service and add under [Service], Restart=always

It's a better workaround than using pm-utils

For example

[Unit]
Description=fan speed regulator
# Run pwmconfig to create this file.
ConditionPathExists=/etc/fancontrol
After=lm-sensors.service
Documentation=man:fancontrol(8) man:pwmconfig(8)

[Service]
ExecStartPre=/usr/sbin/fancontrol --check
ExecStart=/usr/sbin/fancontrol
PIDFile=/var/run/fancontrol.pid
Restart=always

[Install]
WantedBy=multi-user.target

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers