howtos:hp_and_cpu_fan_constantly_on_after_resume
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | howtos:hp_and_cpu_fan_constantly_on_after_resume [02/12/2018 21:34] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | Reference from: https:// | ||
+ | / | ||
+ | |||
+ | < | ||
+ | #!/bin/sh | ||
+ | |||
+ | case $1 in | ||
+ | | ||
+ | ;; | ||
+ | | ||
+ | # No need to do anything here, kernel unsuspends USB devices | ||
+ | echo -n " | ||
+ | sleep 10 | ||
+ | echo -n " | ||
+ | ;; | ||
+ | esac | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | </ | ||
+ | |||
+ | or | ||
+ | |||
+ | / | ||
+ | |||
+ | < | ||
+ | #!/bin/sh | ||
+ | # | ||
+ | # https:// | ||
+ | # file / | ||
+ | |||
+ | case " | ||
+ | | ||
+ | # Stopping is not required. | ||
+ | ;; | ||
+ | | ||
+ | echo -n " | ||
+ | ;; | ||
+ | *) exit $NA | ||
+ | ;; | ||
+ | esac | ||
+ | </ | ||
+ | |||
+ | This will work on Ubuntu 13.04 Raring Ringtail: | ||
+ | < | ||
+ | touch / | ||
+ | chmod +x / | ||
+ | |||
+ | cat > / | ||
+ | </ | ||
+ | < | ||
+ | #!/bin/sh | ||
+ | # | ||
+ | # https:// | ||
+ | # file / | ||
+ | |||
+ | case " | ||
+ | hibernate|suspend) | ||
+ | # Stopping is not required. | ||
+ | ;; | ||
+ | |||
+ | thaw|resume) | ||
+ | # In background. | ||
+ | ls / | ||
+ | ;; | ||
+ | |||
+ | *) exit $NA | ||
+ | ;; | ||
+ | esac | ||
+ | </ | ||
+ | |||
+ | Note from the bug: | ||
+ | |||
+ | //"pd (petr-danecek) wrote on 2013-04-06: #94 | ||
+ | |||
+ | I can also confirm that the above solves the problem. Apparently the kernel does not know what state are the fans in. | ||
+ | This can be solved by turning them on and off for a brief period of time. Note that this does not turn the fans off permanently, | ||
+ | "// |
howtos/hp_and_cpu_fan_constantly_on_after_resume.txt · Last modified: 02/12/2018 21:34 by 127.0.0.1