{"id":1303,"date":"2015-02-11T06:44:05","date_gmt":"2015-02-11T06:44:05","guid":{"rendered":"http:\/\/rglinuxtech.com\/?p=1303"},"modified":"2015-02-11T06:44:05","modified_gmt":"2015-02-11T06:44:05","slug":"arm-kernel-3-19-for-odroid-u3-with-fan-control","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=1303","title":{"rendered":"ARM &#8211; Kernel 3.19 for Odroid U3 &#8211; With Fan Control.."},"content":{"rendered":"<p>Updated the Odroid U3 to (patched) Kernel <strong>3.19<\/strong>, from <a title=\"https:\/\/github.com\/tobiasjakobi\/linux-odroid\/tree\/odroid-3.19.y\" href=\"https:\/\/github.com\/tobiasjakobi\/linux-odroid\/tree\/odroid-3.19.y\" target=\"_blank\">https:\/\/github.com\/tobiasjakobi\/linux-odroid\/tree\/odroid-3.19.y<\/a><\/p>\n<p>Thanks to work by <strong><em>tobiasjakobi<\/em><\/strong>, this now includes the preliminary patches &#8211; updated for 3.19 &#8211; for fan control on the Odroid U3, originally posted by <em><strong>Lukasz Majewski<\/strong><\/em> at <a title=\"http:\/\/www.spinics.net\/lists\/linux-samsung-soc\/msg42259.html\" href=\"http:\/\/www.spinics.net\/lists\/linux-samsung-soc\/msg42259.html\" target=\"_blank\">http:\/\/www.spinics.net\/lists\/linux-samsung-soc\/msg42259.html<\/a><\/p>\n<p>So, (on a Fedora 21 system) you can now control the fan, as follows:<\/p>\n<pre><strong># echo \"0\" &gt;\/sys\/class\/hwmon\/hwmon0\/pwm1<\/strong><\/pre>\n<p>&#8211; fan stops (as at boot..)<\/p>\n<pre><strong># echo \"65\" &gt;\/sys\/class\/hwmon\/hwmon0\/pwm1<\/strong><\/pre>\n<p>&#8211; fan runs &#8211; at reasonable speed<\/p>\n<pre><strong># echo \"255\" &gt;\/sys\/class\/hwmon\/hwmon0\/pwm1<\/strong><\/pre>\n<p>&#8211; fan runs &#8211; full speed..<\/p>\n<p>Temperature can be found at<\/p>\n<pre><strong># cat \/sys\/devices\/virtual\/thermal\/thermal_zone0\/temp<\/strong><\/pre>\n<p>&#8211; which returns value (with fan running) of &#8211; typically &#8211; <em>32000<\/em>\u00a0 (presumably need to divide by 1000 to get &#8216;degrees&#8217; Centigrade ?)<\/p>\n<p>You can check this by stopping the fan, and seeing the &#8216;temperature&#8217; result increasing, and then decreasing again, when the fan is restarted..<\/p>\n<p>There is some old code (license uncertain?) for automated fan\/temperature control from <strong><em>mrdjr<\/em><\/strong> at hardkernel, at <a title=\"https:\/\/github.com\/mdrjr\/odroidu2-fan-service.git\" href=\"https:\/\/github.com\/mdrjr\/odroidu2-fan-service.git\" target=\"_blank\">https:\/\/github.com\/mdrjr\/odroidu2-fan-service.git<\/a>..\u00a0\u00a0 This is for an <span style=\"text-decoration: underline;\">older<\/span> kernel version, and (presumably) Ubuntu\/Debian-centric, but it may be possible to modify and update this&#8230;<\/p>\n<p>As usual, more research is needed!<\/p>\n<p><em>Robert Gadsdon.\u00a0 February 10, 2015.<\/em><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Updated the Odroid U3 to (patched) Kernel 3.19, from https:\/\/github.com\/tobiasjakobi\/linux-odroid\/tree\/odroid-3.19.y Thanks to work by tobiasjakobi, this now includes the preliminary patches &#8211; updated for 3.19 &#8211; for fan control on the Odroid U3, originally posted by Lukasz Majewski at http:\/\/www.spinics.net\/lists\/linux-samsung-soc\/msg42259.html So, (on a Fedora 21 system) you can now control the fan, as follows: # echo &#8220;0&#8221; <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=1303\"><span class=\"more-msg\">Continue reading &rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[5,6,14,16,794,19,20],"tags":[1174,1007,1006,986,242,795,297,1175,362],"class_list":["post-1303","post","type-post","status-publish","format-standard","hentry","category-compilation","category-crash-and-burn","category-kernel","category-linux-arm","category-odroid","category-opinion","category-performance-2","tag-arm","tag-cpu-temperature","tag-fan-control","tag-kernel-3-19","tag-linux","tag-odroid-u3","tag-patched","tag-success","tag-testing"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1303","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1303"}],"version-history":[{"count":1,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1303\/revisions"}],"predecessor-version":[{"id":1304,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1303\/revisions\/1304"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1303"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1303"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1303"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}