PDA

View Full Version : How I configured lm_sensors on an Intel Core i7


KenJackson
26th April 2009, 04:18 PM
I put together my new PC with Intel Core i7 CPU and Intel DX58SO motherboard and installed Fefora Core 10. But the current version of lm_sensors is 3.0.2, which doesn't have support for the sensors on the i7.

I could solve this by waiting for the update (which may come soon?), or install v3.1.0 from source. But when I saw how simple the change is that introduces i7 support (http://www.lm-sensors.org/changeset/5563), I did this instead.

I made a copy of /usr/bin/sensors-detect and edited it to replace line 5490:
$probecpu->{'model'} == 0x17)) { with these two lines
$probecpu->{'model'} == 0x17 ||
$probecpu->{'model'} == 0x1a)) {
Then I ran the modified file and accepted the default answers.
It worked!