{"id":2659,"date":"2021-10-19T16:12:54","date_gmt":"2021-10-19T08:12:54","guid":{"rendered":"http:\/\/euhat.com\/wp\/?p=2659"},"modified":"2022-03-23T12:36:49","modified_gmt":"2022-03-23T04:36:49","slug":"how-to-turn-off-fans-in-linux","status":"publish","type":"post","link":"http:\/\/euhat.com\/wp\/2021\/10\/19\/how-to-turn-off-fans-in-linux\/","title":{"rendered":"how to turn off fans in linux"},"content":{"rendered":"<p>after running 'sensors-detect' command, kernel modules controlling fan speed should be loaded.<\/p>\n<p>here is an occasion with 'Nuvoton NCT6102D\/NCT6104D\/NCT6106D Super IO Sensors' detected.<\/p>\n<p>as nct6775 document said:<\/p>\n<pre line=\"1\">\r\n#\/sys\/class\/hwmon\/hwmon4\r\npwm[1-7]\r\n    - this file stores PWM duty cycle or DC value (fan speed) in range:\r\n\t   0 (lowest speed) to 255 (full)\r\n\r\npwm[1-7]_enable\r\n    - this file controls mode of fan\/temperature control:\r\n\t* 0 Fan control disabled (fans set to maximum speed)\r\n\t* 1 Manual mode, write to pwm[0-5] any value 0-255\r\n\t* 2 \"Thermal Cruise\" mode\r\n\t* 3 \"Fan Speed Cruise\" mode\r\n\t* 4 \"Smart Fan III\" mode (NCT6775F only)\r\n\t* 5 \"Smart Fan IV\" mode\r\n...\r\n<\/pre>\n<p>ps1. if set pwm[1-7]_enable to 0, we will not be able to change it to other value, unless reboot linux.<br \/>\nps2. I still can't find a common way to turn off fans using ipmitool.<\/p>\n<p>IPMI: Intelligent Platform Management Interface<br \/>\nBMC: Baseboard Management Controller<br \/>\nFRU: Field Replaceable Unit<\/p>\n<p>refer to:<br \/>\n[linux-kernel-src-root]\/Documentation\/hwmon\/nct6775.rst<br \/>\n<a href=\"https:\/\/bbs.archlinux.org\/viewtopic.php?id=225349\" rel=\"nofollow\">https:\/\/bbs.archlinux.org\/viewtopic.php?id=225349<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>after running 'sensors-detect' command, kernel modules controlling fan speed should be loaded. here is an occasion with 'Nuvoton NCT6102D\/NCT6104D\/NCT6106D Super IO Sensors' detected. as nct6775 document said: #\/sys\/class\/hwmon\/hwmon4 pwm[1-7] - this file stores PWM duty cycle or DC value (fan speed) in range: 0 (lowest speed) to 255 (full) pwm[1-7]_enable - this file controls mode ... <a title=\"how to turn off fans in linux\" class=\"read-more\" href=\"http:\/\/euhat.com\/wp\/2021\/10\/19\/how-to-turn-off-fans-in-linux\/\" aria-label=\"More on how to turn off fans in linux\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[648,647,158],"_links":{"self":[{"href":"http:\/\/euhat.com\/wp\/wp-json\/wp\/v2\/posts\/2659"}],"collection":[{"href":"http:\/\/euhat.com\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/euhat.com\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/euhat.com\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/euhat.com\/wp\/wp-json\/wp\/v2\/comments?post=2659"}],"version-history":[{"count":2,"href":"http:\/\/euhat.com\/wp\/wp-json\/wp\/v2\/posts\/2659\/revisions"}],"predecessor-version":[{"id":4016,"href":"http:\/\/euhat.com\/wp\/wp-json\/wp\/v2\/posts\/2659\/revisions\/4016"}],"wp:attachment":[{"href":"http:\/\/euhat.com\/wp\/wp-json\/wp\/v2\/media?parent=2659"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/euhat.com\/wp\/wp-json\/wp\/v2\/categories?post=2659"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/euhat.com\/wp\/wp-json\/wp\/v2\/tags?post=2659"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}