{"id":65,"date":"2007-08-23T23:20:17","date_gmt":"2007-08-24T07:20:17","guid":{"rendered":"http:\/\/learnbyblogging.com\/?p=65"},"modified":"2008-03-22T21:47:43","modified_gmt":"2008-03-23T05:47:43","slug":"fan-control-on-ubuntu-for-my-old-sony-pcv-rx650","status":"publish","type":"post","link":"https:\/\/learnbyblogging.com\/?p=65","title":{"rendered":"Fan Control on Ubuntu for my old Sony PCV-RX650"},"content":{"rendered":"<p>Thanks to the below link, I was able to turn down the annoying fans on my old Sony PCV-RX650 while running Ubuntu:<br \/>\nhttp:\/\/ubuntuforums.org\/showthread.php?s=f65942f674eb3572c64c294ca6810608&#038;t=238566&#038;page=2<br \/>\nThis problem has been bugging me and preventing me from running Linux on this system. I&#8217;m glad I was able to resolve this problem without having to upgrade the BIOS (~ $30) to have the latest ACPI 2.0 feature (currently it has APM).<\/p>\n<p>I first found out that I need to activate the root password on Ubuntu by running &#8220;sudo password root&#8221;, this allows me to act like root.<\/p>\n<p>I then followed the instructions of getting and installing  the lm_sensors package first by running &#8220;sudo apt-get install lm-sensors&#8221;<br \/>\nrun: sensors-detect (answered &#8220;yes&#8221; to all of their questions)<br \/>\nThis basically add the following lines to \/etc\/modules:<br \/>\n#====================================<br \/>\n# Generated by sensors-detect on Thu Aug 23 23:44:40 2007<br \/>\n# I2C adapter drivers<br \/>\ni2c-i801<br \/>\n# Chip drivers<br \/>\neeprom<br \/>\nw83627hf<br \/>\n#====================================<br \/>\nreboot to have the modules loaded<\/p>\n<p>run: pwmconfig<br \/>\nto set the preferences<br \/>\nyou can try to run fancontrol at this point as root to see if it is working.<\/p>\n<p>Finally add a line below to to \/etc\/rc.local (to allow for auto execution upon power up)<br \/>\n\/usr\/sbin\/fancontrol &#038;<\/p>\n<p>Below is the transcript of what I did:<br \/>\n======================================================<br \/>\ndtsai@ubuntu:~$ sensors<br \/>\nw83637hf-isa-0290<br \/>\nAdapter: ISA adapter<br \/>\nVCore:     +1.74 V  (min =  +0.71 V, max =  +0.70 V)       ALARM<br \/>\n+12V:     +11.92 V  (min =  +0.00 V, max =  +3.89 V)       ALARM<br \/>\n+3.3V:     +3.36 V  (min =  +2.24 V, max =  +0.51 V)       ALARM<br \/>\n+5V:       +5.15 V  (min =  +0.00 V, max =  +0.21 V)       ALARM<br \/>\n-12V:      +6.06 V  (min = -14.91 V, max =  -4.14 V)       ALARM<br \/>\nV5SB:      +5.08 V  (min =  +0.00 V, max =  +3.44 V)       ALARM<br \/>\nVBat:      +0.00 V  (min =  +0.00 V, max =  +2.06 V)<br \/>\nfan1:     4530 RPM  (min = 16071 RPM, div = 2)              ALARM<br \/>\nCPU Fan:  2265 RPM  (min = 168750 RPM, div = 4)              ALARM<br \/>\nfan3:        0 RPM  (min =   -1 RPM, div = 2)              ALARM<br \/>\nM\/B Temp:    -48\u00b0C  (high =   +33\u00b0C, hyst =  -127\u00b0C)   sensor = thermistor<br \/>\nCPU Temp:  +38.5\u00b0C  (high =   +80\u00b0C, hyst =   +75\u00b0C)   sensor = diode<br \/>\ntemp3:     +34.0\u00b0C  (high =   +80\u00b0C, hyst =   +75\u00b0C)   sensor = thermistor<br \/>\nvid:      +1.550 V  (VRM Version 9.0)<br \/>\nalarms:<br \/>\nbeep_enable:<br \/>\n          Sound alarm enabled<\/p>\n<p>dtsai@ubuntu:~$ pwmconfig<br \/>\nThis program will search your sensors for pulse width modulation (pwm)<br \/>\ncontrols, and test each one to see if it controls a fan on<br \/>\nyour motherboard. Note that many motherboards do not have pwm<br \/>\ncircuitry installed, even if your sensor chip supports pwm.<\/p>\n<p>We will attempt to briefly stop each fan using the pwm controls.<br \/>\nThe program will attempt to restore each fan to full speed<br \/>\nafter testing. However, it is ** very important ** that you<br \/>\nphysically verify that the fans have been to full speed<br \/>\nafter the program has completed.<\/p>\n<p>Found the following PWM controls:<br \/>\n   9191-0290\/pwm1<br \/>\n   9191-0290\/pwm2<br \/>\n   9191-0290\/pwm3<\/p>\n<p>Found the following fan sensors:<br \/>\n   9191-0290\/fan1_input     current speed: 4530 RPM<br \/>\n   9191-0290\/fan2_input     current speed: 2280 RPM<br \/>\n   9191-0290\/fan3_input     current speed: 0 &#8230; skipping!<\/p>\n<p>As you are not root, we cannot write the PWM settings.<br \/>\nPlease run as root to continue.<br \/>\ndtsai@ubuntu:~$ su root<br \/>\nPassword:<br \/>\nroot@ubuntu:\/home\/dtsai# pwmconfig<br \/>\nThis program will search your sensors for pulse width modulation (pwm)<br \/>\ncontrols, and test each one to see if it controls a fan on<br \/>\nyour motherboard. Note that many motherboards do not have pwm<br \/>\ncircuitry installed, even if your sensor chip supports pwm.<\/p>\n<p>We will attempt to briefly stop each fan using the pwm controls.<br \/>\nThe program will attempt to restore each fan to full speed<br \/>\nafter testing. However, it is ** very important ** that you<br \/>\nphysically verify that the fans have been to full speed<br \/>\nafter the program has completed.<\/p>\n<p>Found the following PWM controls:<br \/>\n   9191-0290\/pwm1<br \/>\n   9191-0290\/pwm2<br \/>\n   9191-0290\/pwm3<\/p>\n<p>Found the following fan sensors:<br \/>\n   9191-0290\/fan1_input     current speed: 4470 RPM<br \/>\n   9191-0290\/fan2_input     current speed: 2265 RPM<br \/>\n   9191-0290\/fan3_input     current speed: 0 &#8230; skipping!<\/p>\n<p>Warning!!! This program will stop your fans, one at a time,<br \/>\nfor approximately 5 seconds each!!!<br \/>\nThis may cause your processor temperature to rise!!!<br \/>\nIf you do not want to do this hit control-C now!!!<br \/>\nHit return to continue: <\/p>\n<p>Testing pwm control 9191-0290\/pwm1 &#8230;<br \/>\n  9191-0290\/fan1_input &#8230; speed was 4470 now 0<br \/>\n    It appears that fan 9191-0290\/fan1_input<br \/>\n    is controlled by pwm 9191-0290\/pwm1<br \/>\nWould you like to generate a detailed correlation (y)? y<br \/>\n    PWM 255 FAN 4530<br \/>\n    PWM 240 FAN 4500<br \/>\n    PWM 225 FAN 4272<br \/>\n    PWM 210 FAN 4115<br \/>\n    PWM 195 FAN 3857<br \/>\n    PWM 180 FAN 3688<br \/>\n    PWM 165 FAN 3426<br \/>\n    PWM 150 FAN 3199<br \/>\n    PWM 135 FAN 2973<br \/>\n    PWM 120 FAN 2710<br \/>\n    PWM 105 FAN 0<br \/>\n    Fan Stopped at PWM = 105<\/p>\n<p>  9191-0290\/fan2_input &#8230; speed was 2265 now 2265<br \/>\n    no correlation<\/p>\n<p>Testing pwm control 9191-0290\/pwm2 &#8230;<br \/>\n  9191-0290\/fan1_input &#8230; speed was 4470 now 4383<br \/>\n    no correlation<br \/>\n  9191-0290\/fan2_input &#8230; speed was 2265 now 0<br \/>\n    It appears that fan 9191-0290\/fan2_input<br \/>\n    is controlled by pwm 9191-0290\/pwm2<br \/>\nWould you like to generate a detailed correlation (y)?<br \/>\n    PWM 255 FAN 2280<br \/>\n    PWM 240 FAN 2280<br \/>\n    PWM 225 FAN 2265<br \/>\n    PWM 210 FAN 2265<br \/>\n    PWM 195 FAN 2205<br \/>\n    PWM 180 FAN 2149<br \/>\n    PWM 165 FAN 2070<br \/>\n    PWM 150 FAN 1985<br \/>\n    PWM 135 FAN 1896<br \/>\n    PWM 120 FAN 1814<br \/>\n    PWM 105 FAN 1704<br \/>\n    PWM 90 FAN 1607<br \/>\n    PWM 75 FAN 1500<br \/>\n    PWM 60 FAN 1383<br \/>\n    PWM 45 FAN 0<br \/>\n    Fan Stopped at PWM = 45<\/p>\n<p>Testing pwm control 9191-0290\/pwm3 &#8230;<br \/>\n  9191-0290\/fan1_input &#8230; speed was 4470 now 4500<br \/>\n    no correlation<br \/>\n  9191-0290\/fan2_input &#8230; speed was 2265 now 2280<br \/>\n    no correlation<\/p>\n<p>No correlations were detected.<br \/>\nThere is either no fan connected to the output of 9191-0290\/pwm3,<br \/>\nor the connected fan has no rpm-signal connected to one of<br \/>\nthe tested fan sensors. (Note: not all motherboards have<br \/>\nthe pwm outputs connected to the fan connectors,<br \/>\ncheck out the hardware database on http:\/\/www.almico.com\/forumindex.php)<\/p>\n<p>Did you see\/hear a fan stopping during the above test (n)? <\/p>\n<p>Testing is complete.<br \/>\nPlease verify that all fans have returned to their normal speed.<\/p>\n<p>The fancontrol script can automatically respond to temperature changes<br \/>\nof your system by changing fanspeeds.<br \/>\nDo you want to set up its configuration file now (y)?<br \/>\nWhat should be the path to your fancontrol config file (\/etc\/fancontrol)?<br \/>\n\/etc\/fancontrol does not exist, shall I create it now (y)?<br \/>\nLoading configuration from \/etc\/fancontrol &#8230;<\/p>\n<p>Select fan output to configure, or other action:<br \/>\n1) 9191-0290\/pwm2      3) Change INTERVAL     5) Save and quit<br \/>\n2) 9191-0290\/pwm1      4) Just quit           6) Show configuration<br \/>\nselect (1-n): 6<\/p>\n<p>Common Settings:<br \/>\nINTERVAL=10<\/p>\n<p>Settings of 9191-0290\/pwm2:<br \/>\n  Depends on<br \/>\n  Controls<br \/>\n  MINTEMP=<br \/>\n  MAXTEMP=<br \/>\n  MINSTART=<br \/>\n  MINSTOP=<\/p>\n<p>Settings of 9191-0290\/pwm1:<br \/>\n  Depends on<br \/>\n  Controls<br \/>\n  MINTEMP=<br \/>\n  MAXTEMP=<br \/>\n  MINSTART=<br \/>\n  MINSTOP=<\/p>\n<p>select (1-n): 1<\/p>\n<p>Current temperature readings are as follows:<br \/>\n9191-0290\/temp1_input   -48<br \/>\n9191-0290\/temp2_input   36<br \/>\n9191-0290\/temp3_input   34<\/p>\n<p>Select a temperature sensor as source for 9191-0290\/pwm2:<br \/>\n1) 9191-0290\/temp1_input<br \/>\n2) 9191-0290\/temp2_input<br \/>\n3) 9191-0290\/temp3_input<br \/>\n4) None (Do not affect this PWM output)<br \/>\nselect (1-n): 3<\/p>\n<p>Enter the low temperature (C)<br \/>\nat which the fan should be switched off (0): 32<\/p>\n<p>Enter the high temperature (C)<br \/>\nat which the fan should be switched to full speed (60): <\/p>\n<p>Enter the minimum PWM value (0-255)<br \/>\nat which the fan STARTS spinning (press t to test) (150): <\/p>\n<p>Enter the minimum PWM value (0-255)<br \/>\nat which the fan STOPS spinning (press t to test) (100): <\/p>\n<p>select (1-n): 2<\/p>\n<p>Current temperature readings are as follows:<br \/>\n9191-0290\/temp1_input   -48<br \/>\n9191-0290\/temp2_input   35<br \/>\n9191-0290\/temp3_input   34<\/p>\n<p>Select a temperature sensor as source for 9191-0290\/pwm1:<br \/>\n1) 9191-0290\/temp1_input<br \/>\n2) 9191-0290\/temp2_input<br \/>\n3) 9191-0290\/temp3_input<br \/>\n4) None (Do not affect this PWM output)<br \/>\nselect (1-n): 3<\/p>\n<p>Enter the low temperature (C)<br \/>\nat which the fan should be switched off (0): 32<\/p>\n<p>Enter the high temperature (C)<br \/>\nat which the fan should be switched to full speed (60): <\/p>\n<p>Enter the minimum PWM value (0-255)<br \/>\nat which the fan STARTS spinning (press t to test) (150): <\/p>\n<p>Enter the minimum PWM value (0-255)<br \/>\nat which the fan STOPS spinning (press t to test) (100): <\/p>\n<p>select (1-n):<br \/>\n1) 9191-0290\/pwm2      3) Change INTERVAL     5) Save and quit<br \/>\n2) 9191-0290\/pwm1      4) Just quit           6) Show configuration<br \/>\nselect (1-n): 6<\/p>\n<p>Common Settings:<br \/>\nINTERVAL=10<\/p>\n<p>Settings of 9191-0290\/pwm2:<br \/>\n  Depends on 9191-0290\/temp3_input<br \/>\n  Controls 9191-0290\/fan2_input<br \/>\n  MINTEMP=32<br \/>\n  MAXTEMP=60<br \/>\n  MINSTART=150<br \/>\n  MINSTOP=100<\/p>\n<p>Settings of 9191-0290\/pwm1:<br \/>\n  Depends on 9191-0290\/temp3_input<br \/>\n  Controls 9191-0290\/fan1_input<br \/>\n  MINTEMP=32<br \/>\n  MAXTEMP=60<br \/>\n  MINSTART=150<br \/>\n  MINSTOP=100<\/p>\n<p>select (1-n): 5<\/p>\n<p>Saving configuration to \/etc\/fancontrol&#8230;<br \/>\nConfiguration saved<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Thanks to the below link, I was able to turn down the annoying fans on my old Sony PCV-RX650 while running Ubuntu: http:\/\/ubuntuforums.org\/showthread.php?s=f65942f674eb3572c64c294ca6810608&#038;t=238566&#038;page=2 This problem has been bugging me and preventing me from running Linux on this system. I&#8217;m glad I was able to resolve this problem without having to upgrade the BIOS (~ $30) &hellip; <a href=\"https:\/\/learnbyblogging.com\/?p=65\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Fan Control on Ubuntu for my old Sony PCV-RX650<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-65","post","type-post","status-publish","format-standard","hentry","category-tips-for-computer"],"_links":{"self":[{"href":"https:\/\/learnbyblogging.com\/index.php?rest_route=\/wp\/v2\/posts\/65","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/learnbyblogging.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/learnbyblogging.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/learnbyblogging.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/learnbyblogging.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=65"}],"version-history":[{"count":0,"href":"https:\/\/learnbyblogging.com\/index.php?rest_route=\/wp\/v2\/posts\/65\/revisions"}],"wp:attachment":[{"href":"https:\/\/learnbyblogging.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=65"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/learnbyblogging.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=65"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/learnbyblogging.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=65"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}