Difference between revisions of "Talk:Code/tp-fancontrol"

From ThinkWiki
Jump to: navigation, search
m (noise)
(began discussion section, report of use with t42)
Line 5: Line 5:
 
|license=GPL v2 or later, or GFDL v1.2 or later
 
|license=GPL v2 or later, or GFDL v1.2 or later
 
}}
 
}}
 +
 +
 +
----
 +
 +
 +
=== Discussion ===
 +
 +
Great work, guys!
 +
 +
I have a hitachi HTS548080M9AT00 in my T42 (2373-M1U).<br />
 +
It DOES provide the SENSE CONDITION command<br />
 +
(works with hdparm -H /dev/hda, or your perl script read_hitachi_temp /dev/hda)<br />
 +
however, my system does not provide /sys/block/$DEV/device/model<br />
 +
...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

Revision as of 02:03, 9 December 2007

Hint:
Wondering about this sourcecode posting convention? See Category:Code.





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