Jump to content

lm_sensors gets harder to install each time


scoopy
 Share

Recommended Posts

Getting lm_sensors seems to get more difficult everytime I install it. gkrellm says "No sensors detected." Installed are:

liblm_sensors3-2.8.4-2mdk
lm_sensors-2.8.4-2mdk
gkrellm-2.1.25-2mdk

I ran sensors-detect and get this at end:

To make the sensors modules behave correctly, add these lines to
/etc/modules.conf:

#----cut here----
# I2C module options
alias char-major-89 i2c-dev
#----cut here----

To load everything that is needed, add this to some /etc/rc* file:

#----cut here----
# I2C adapter drivers
modprobe i2c-viapro
modprobe i2c-isa
# I2C chip drivers
modprobe lm80
modprobe via686a
# sleep 2 # optional
/usr/local/bin/sensors -s # recommended
#----cut here----


WARNING! If you have some things built into your kernel, the list above
will contain too many modules. Skip the appropriate ones! You really should
try these commands right now to make sure everything is working properly.
Monitoring programs won't work until it's done.

Do you want to generate /etc/sysconfig/lm_sensors? (YES/no):
Copy prog/init/lm_sensors.init to /etc/rc.d/init.d/lm_sensors
for initialization at boot time.

Last time, I believe I just rebooted and it worked. This time nothing. I have added those lines it said to in /etc/modules.conf.

 

Not sure what else I should try here.

Link to comment
Share on other sites

I guess it depends on the motherboard you are using, In my case (Intel D865 PERLK), I did not even have to edit the /etc/rc* files. All I needed was to install lm_sensors and it's libraries, run sensor-detect script answered yes to allow detection of IC2, but no to ISA , and finally edit the /etc/modules.conf to add:

 

#----cut here----

# I2C module options

alias char-major-89 i2c-dev

#----cut here----

 

Once I rebooted, sensor was running and I just had to configure gkrellm to get motherboard info (temps, fan speed, voltages).

 

Here is a good how to link on to set up lm_sensors from Linux Journal: sensor setup.

 

cyclo

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...