This bug was fixed in the package lm-sensors - 1:3.4.0-4ubuntu0.1
---
lm-sensors (1:3.4.0-4ubuntu0.1) bionic; urgency=medium
* d/fancontrol-systemd-sleep, d/rules: Restart fancontrol.service
after power sleep if it is active (LP: #1882272)
-- Andreas Hasenack Thu, 31 Mar
This is difficult to reproduce without the appropriate hardware. In
particular, I found no way to do it in a VM.
So here is my attempt with a twist.
In a Bionic laptop, I create this file:
# cat /lib/systemd/system-sleep/rsync
#!/bin/sh
case "$1" in
post)
if /bin/systemctl --quiet
This bug was fixed in the package lm-sensors - 1:3.6.0-2ubuntu1.1
---
lm-sensors (1:3.6.0-2ubuntu1.1) focal; urgency=medium
* d/fancontrol/systemd-sleep, d/rules: Restart fancontrol.service
after power sleep if it is active (LP: #1882272)
-- Andreas Hasenack Thu, 31 Mar
Verification done in Focal. All scenarios OK:
❯ cat /etc/fancontrol
# Configuration file generated by pwmconfig, changes will be lost
INTERVAL=10
DEVPATH=hwmon5=devices/platform/qc71_laptop hwmon6=devices/platform/qc71_laptop
DEVNAME=hwmon5=qc71_laptop.hwmon.fan hwmon6=qc71_laptop.hwmon.pwm
Hello flexman, or anyone else affected,
Accepted lm-sensors into focal-proposed. The package will build now and
be available at https://launchpad.net/ubuntu/+source/lm-
sensors/1:3.6.0-2ubuntu1.1 in a few hours, and then in the -proposed
repository.
Please help us by testing this new package.
** Description changed:
[Impact]
When resuming from suspend, the fancontrol service is in a failed state. Fans
might be stopped, at full speed, or in an indeterminate state.
A restart of the service after resume gets it working again, and this
fix uses a system-sleep hook script to
** Description changed:
[Impact]
+ When resuming from suspend, the fancontrol service is in a failed state. Fans
might be stopped, at full speed, or indeterminate state in general.
- * An explanation of the effects of the bug on users and
+ A restart of the service after resume gets it
** Description changed:
+ [Impact]
+
+ * An explanation of the effects of the bug on users and
+
+ * justification for backporting the fix to the stable release.
+
+ * In addition, it is helpful, but not required, to include an
+explanation of how the upload fixes this bug.
+
+ [Test
** Merge proposal linked:
https://code.launchpad.net/~ahasenack/ubuntu/+source/lm-sensors/+git/lm-sensors/+merge/418109
** Merge proposal linked:
https://code.launchpad.net/~ahasenack/ubuntu/+source/lm-sensors/+git/lm-sensors/+merge/418111
--
You received this bug notification because
I was testing the solution adopted in lm-sensors 3.6.0-6 and later, and
there is something that is bothering me a bit.
To recap, the fix that was applied is to restart the fancontrol service
in the systemd-sleep hook. That sounds find, but imagine this scenario.
I installed fancontrol, it's
** Changed in: lm-sensors (Ubuntu Bionic)
Assignee: (unassigned) => Andreas Hasenack (ahasenack)
** Changed in: lm-sensors (Ubuntu Bionic)
Status: New => In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
** Changed in: lm-sensors (Ubuntu Focal)
Assignee: (unassigned) => Andreas Hasenack (ahasenack)
** Changed in: lm-sensors (Ubuntu Focal)
Status: New => In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Fixed in Version: 1:3.6.0-6
Ubuntu is at
lm-sensors | 1:3.6.0-7| impish/universe | amd64, arm64, armhf, i386,
ppc64el, riscv64, s390x
lm-sensors | 1:3.6.0-7build1 | jammy/universe | amd64, arm64, armhf, i386,
ppc64el, riscv64, s390x
Thereby this is fixed in Jammy and Impish, not
** Also affects: lm-sensors (Ubuntu Bionic)
Importance: Undecided
Status: New
** Tags added: server-todo
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1882272
Title:
fancontrol does not
The workaround suggested by Paride [1] is available since 1:3.6.0-7 and
is available since hirsute
[1] https://github.com/lm-sensors/lm-
sensors/issues/172#issuecomment-677688391
** Also affects: lm-sensors (Ubuntu Focal)
Importance: Undecided
Status: New
--
You received this bug
** Changed in: lm-sensors (Debian)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1882272
Title:
fancontrol does not work after sleep/wakeup
To manage
** Changed in: lmsensors
Status: Unknown => New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1882272
Title:
fancontrol does not work after sleep/wakeup
To manage notifications about this
I think that a more acceptable workaround would be adding a script to
/usr/lib/systemd/system-sleep/
that stops the service pre-sleep and starts it post-sleep. See systemd-
sleep(8) on how this can be implemented. I'd then propose it to the
Debian package maintainers; Ubuntu will then pickup
Below is a suitable workaround for me. How do you feel about this as
solution?
--- /lib/systemd/system/fancontrol.service.orig 2020-08-19 11:46:13.779547039
-0500
+++ /lib/systemd/system/fancontrol.service 2020-08-19 11:46:51.566212436
-0500
@@ -9,6 +9,8 @@
** Changed in: lm-sensors (Debian)
Status: Unknown => New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1882272
Title:
fancontrol does not work after sleep/wakeup
To manage notifications
** Changed in: lm-sensors (Ubuntu)
Importance: Undecided => Low
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1882272
Title:
fancontrol does not work after sleep/wakeup
To manage notifications
Bug filed in Debian in 2012 (!). There are comments in the Debian bug
also suggesting a post-wakeup service restart, but I don't agree it's
the correct solution unless there's a good reason for the service to
stop before the system goes to sleep.
** Changed in: lm-sensors (Ubuntu)
Status:
** Bug watch added: Debian Bug tracker #664141
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=664141
** Also affects: lm-sensors (Debian) via
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=664141
Importance: Unknown
Status: Unknown
--
You received this bug notification
23 matches
Mail list logo