{"id":858,"date":"2015-02-11T23:29:35","date_gmt":"2015-02-11T23:29:35","guid":{"rendered":"http:\/\/10sa.com\/sql_stories\/?p=858"},"modified":"2015-02-11T23:29:35","modified_gmt":"2015-02-11T23:29:35","slug":"fedora-fan-is-working-non-stop-dell-system-vostro-3450-0k8whd","status":"publish","type":"post","link":"http:\/\/10sa.com\/sql_stories\/?p=858","title":{"rendered":"Fedora. Fan is working non stop. Dell System Vostro 3450 \/ 0K8WHD"},"content":{"rendered":"<pre lang=\"bash\">\r\nyum install install i8kutils \r\nyum install lm_sensors.x86_64\r\necho \"i8k\" > \/etc\/modules-load.d\/i8k.conf\r\n# Now, one can manage fan speed.\r\ni8kfan 1 1\r\n<\/pre>\n<p>I run this script into console (as watch command parameter) every 900s.<\/p>\n<pre lang=\"bash\">\r\n#!\/bin\/bash\r\n\r\nSCRIPT_NAME=`basename $0`\r\nFILE_TMP=\"\/tmp\/sensors-$SCRIPT_NAME\"\r\nsensors > $FILE_TMP\r\n\r\nTEMP4=`grep temp4 $FILE_TMP | sed 's\/\\s\/\/g'  | awk -F \":\" '{print $2}' | sed 's\/[^0-9.]\/\/g'`\r\nTEMP4=`printf %d \"$TEMP4\" 2>\/dev\/null`\r\n\r\nFAN_SPEED=`grep fan2 $FILE_TMP | sed 's\/\\s\/\/g' | awk -F \":\" '{print $2}' | sed 's\/[^0-9.]\/\/g'`\r\nFAN_SPEED=`printf %d \"$FAN_SPEED\" 2>\/dev\/null`\r\n\r\nif [ \"$TEMP4\" -lt \"72\" ] && [ \"$TEMP4\" -gt \"50\" ] ; then\r\n    if [ \"$FAN_SPEED\" -gt \"100000\" ]; then\r\n        notify-send \"Fan rotation has been just limited.\" \"TEMP4=$TEMP4, fan2: $FAN_SPEED\" -u low -t 2000\r\n        \/usr\/bin\/i8kfan 1 1\r\n    fi\r\nfi\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>yum install install i8kutils yum install lm_sensors.x86_64 echo &#8220;i8k&#8221; > \/etc\/modules-load.d\/i8k.conf # Now, one can manage fan speed. i8kfan 1 1 I run this script into console (as watch command parameter) every 900s. #!\/bin\/bash SCRIPT_NAME=`basename $0` FILE_TMP=&#8221;\/tmp\/sensors-$SCRIPT_NAME&#8221; sensors > $FILE_TMP TEMP4=`grep temp4 $FILE_TMP | sed &#8216;s\/\\s\/\/g&#8217; | awk -F &#8220;:&#8221; &#8216;{print $2}&#8217; | sed &#8216;s\/[^0-9.]\/\/g&#8217;` [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/10sa.com\/sql_stories\/index.php?rest_route=\/wp\/v2\/posts\/858"}],"collection":[{"href":"http:\/\/10sa.com\/sql_stories\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/10sa.com\/sql_stories\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/10sa.com\/sql_stories\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/10sa.com\/sql_stories\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=858"}],"version-history":[{"count":9,"href":"http:\/\/10sa.com\/sql_stories\/index.php?rest_route=\/wp\/v2\/posts\/858\/revisions"}],"predecessor-version":[{"id":974,"href":"http:\/\/10sa.com\/sql_stories\/index.php?rest_route=\/wp\/v2\/posts\/858\/revisions\/974"}],"wp:attachment":[{"href":"http:\/\/10sa.com\/sql_stories\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=858"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/10sa.com\/sql_stories\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=858"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/10sa.com\/sql_stories\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=858"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}