Gentoo Archives: gentoo-dev

From: mikepolniak <mikpolniak@××××××××.net>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] lm_sensors
Date: Fri, 22 Feb 2002 08:42:05
Message-Id: 20020222093959.5fa56e96.mikpolniak@adelphia.net
In Reply to: [gentoo-dev] lm_sensors by Dave Lee
1 On Thu, 21 Feb 2002 15:21:09 -0700
2 Dave Lee <davel@××××××.com> wrote:
3
4 >
5 > Is there an ebuild for lm_sensors? I was searching google to find info
6 > about lm_sensors in the portage tree and I was able to find a posting by
7 > someone who had created an ebuild file for it, but again, I cant see it
8 > anywhere in the tree.
9
10 There is no ebuild for lm_sensors. I have installed it on gentoo with kernel-2.4.16
11 and lm_sensors 2.6.2 along with i2c-2.6.1. After installing lm_sensors six different
12 times with different kernels and on different pcs with different chipsets (required to
13 reinstall after kernel or header changes), an ebuild could be made but lm_sensors
14 will still require a lot of attention to get configured and be useful.
15
16 I have always had problems getting the right kernel headers matched with the
17 lm_sensors version. It wont compile untill this is matched. And you will have to
18 recompile your kernel if it doesn't have i2c support set.
19
20 After running the sensors-detect auto-probing, you may still not have the correct
21 modules detected. In my case with a SIS735 chipset the auto-probe suggests
22 a SIS module for the sensors, but in fact i have to use the it87 module.
23 You'll have to do some research to find the right modules. On my second pc with
24 a VIA chipset the right module was detected (via-686).
25
26 Then the sensors read out has to be calibrated. The voltages and temps are liable
27 to be very inaccurate untill you have a benchmark to use for calibration.
28 You will need a BIOS that has hardware-health monitor readings or you will need
29 an external temp sensor on the CPU and a voltmeter to take voltage readings.
30 In all my installs, never have all the readings been accurate before calibration.
31
32 Then you will want a program to display the temps and volts on your desktop
33 and configure that setup . I use gkrellm which has a built-in sensors display.
34
35 So an ebuild would be a first step only and would require some work to get sensors
36 running and calibrated after that. In other words, it wont be a simple emerge process.
37
38 So in this case, be careful you dont get what you wish for ;)