You are not logged in.
Hello!
When waking up, fan on my laptop go crazy https://bbs.archlinux.org/viewtopic.php?id=156681
Now I have to manually do # for i in {0..9};do echo 0 > /sys/class/thermal/cooling_device$i/cur_state; done
It resets the state of all cooling devices, including the display backlight level.
The question is how can I automate this operation?
Thanx.
Last edited by koshak (2013-04-22 08:49:08)
Offline
You could write a script and put it in /etc/pm/sleep.d. There is a 90alsa script on my system which explains how you can make it run on wakeup.
I'm having the same problem by the way. Are you on a SandyBridge system with Intel GPU? I will try the workaround next time it happens to me..
However my system is heating up as well. Does that happen to you, too?
Last edited by hrkfdn (2013-04-19 14:25:55)
Offline
As well as that workaround, you should report the issue so it gets fixed upstream at some point.
Offline
hrkfdn, no, that's not SandyBridge. GPU is Intel GM965. As for heating, I haven't noticed one. The normal temp of my U7700 is about 40 to 55°C. What's yours after resume?
hobarrera, upstream of what? systemd? Or kernel?
Offline
hrkfdn, no, that's not SandyBridge. GPU is Intel GM965. As for heating, I haven't noticed one. The normal temp of my U7700 is about 40 to 55°C. What's yours after resume?
hobarrera, upstream of what? systemd? Or kernel?
Kernel, IMO, since it's the actual kernel that does the hibernating and the kernel that controls fan speeds as well.
Offline
As a workaround I made /etc/fans.sh:
#!/bin/sh
# fan spindown controller script
for i in {0..9};do echo 0 > /sys/class/thermal/cooling_device$i/cur_state; done
and /etc/systemd/system/root-resume.service:
[Unit]
Description=Local system resume actions
After=suspend.target
[Service]
Type=simple
ExecStart=/etc/fans.sh
[Install]
WantedBy=suspend.target
And then just # systemctl enable root-resume
For those who wants to dig deep:
https://bugzilla.redhat.com/show_bug.cgi?id=895276
https://lkml.org/lkml/2012/12/4/428
Offline