Difference between revisions of "Talk:Code/tp-fancontrol"
(you have to use "libata", please use the discussion page on "Fan_control_scripts" (http://www.thinkwiki.org/wiki/Talk:Fan_control_scripts)) |
(→Discussion) |
||
Line 35: | Line 35: | ||
--[[User:BDKMPSS|BDKMPSS]] 20:31, 21 January 2008 (CET) | --[[User:BDKMPSS|BDKMPSS]] 20:31, 21 January 2008 (CET) | ||
+ | |||
+ | |||
+ | -- | ||
+ | Works for my X300, though I have no idea if an how I can change the code so it suits my model. I especially wonder about the levels in tp-fancontrol. Why don't you use level 1 for example? Can I only select 4 levels as in the code, or can I add all? At level 1 the fan is not noticeable (does it run at all? - cat /proc/acpi/ibm/fan shows "speed: 1820" at "level: 1", but also sometimes the same speed for level: 3, I therefore don't know if I can trust that information). Secondly I would like to know if I should adjust the min and max thresholds? Does anybody know which ones are good/safe for the X300? | ||
+ | |||
+ | Ben, 17:09, 7 March 2009 (CET) |
Revision as of 17:12, 27 March 2009
- Filename: tp-fancontrol
- Context: ACPI fan control script#Comprehensive_bash_script_with_fine_control_over_fan_speed
- Author(s): Thinker and Spiney
- License: GPL v2 or later, or GFDL v1.2 or later
- Download code (manually save this as tp-fancontrol)
- Edit code
- Code revision history
Please use Talk:Fan_control_scripts to post bugs, questions and other "discussion"-items.
Discussion
Great work, guys!
I have a hitachi HTS548080M9AT00 in my T42 (2373-M1U).
It DOES provide the SENSE CONDITION command
(works with hdparm -H /dev/hda, or your perl script read_hitachi_temp /dev/hda)
however, my system does not provide /sys/block/$DEV/device/model
...so the script gives an error about not finding that file, and does the energy-taxing read.
I'm not sure where else to look for that model number ... it's in dmesg, of course. Perhaps it would be appropriate to change the script to just read that information once, from an alternate source (in the case 'model' is not provided in /sys/block/hda/device) rather than every time it polls?
My fan seems to be running pretty consistently at level 2, about 3000 rpm, whether I use the script or leave it to auto-control.
~David Emerson
You have to use the "libata"-kernel-driver for this function to work! It is not used (by default) if you have a IDE drive (as you do). You can use it, but your drive than appears as sda, not hda.
Please use Talk:Fan_control_scripts for discussions about the script and MOVE both our posts there. I think your question was asked there some time ago.
--BDKMPSS 20:31, 21 January 2008 (CET)
--
Works for my X300, though I have no idea if an how I can change the code so it suits my model. I especially wonder about the levels in tp-fancontrol. Why don't you use level 1 for example? Can I only select 4 levels as in the code, or can I add all? At level 1 the fan is not noticeable (does it run at all? - cat /proc/acpi/ibm/fan shows "speed: 1820" at "level: 1", but also sometimes the same speed for level: 3, I therefore don't know if I can trust that information). Secondly I would like to know if I should adjust the min and max thresholds? Does anybody know which ones are good/safe for the X300?
Ben, 17:09, 7 March 2009 (CET)