Skip to contentSkip to conversation

temperatures

DISCUSSION William 3 participants 7 messages May 19, 2005

lore
Share & tools
lore

William

author
#0 lore raw

Hello;
I've just now installed gkrellm (i2c and lm_sensors) in a new slackware9.1. When finished with sensors-detect I ran "sensors" and was pleased to see lots of stuff.
Since rebooting, I have no temperatures, and running "sensors" gets me "no sensor found!"
I suspect it's where I put the modprobe stuff in /etc/rc.d/init.d; advice on how and where to put it would be welcome.
Hope that's it.
William

Signature · 1 line
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
#1 lore raw

FYI:

Quoted 5 lines

become root with this command:
su
(type your root password)
cd /etc/rc.d/
joe rc.modules

For Slackware, I don't think there is a rc.modules file. Put the lines in rc.local, it should be fine. Make sure that rc.local is executable (chmod +x rc.local if it isn't). Commands in that file will be run for you at each boot.

Khali

#2 lore raw
In reply to William

Hello

Please notice after sensors-detects exits, there is displayed which modules you should load. Cut and paste this to /etc/modules, which is the file for autoloadning modules on startup for most GNU/Linux distributions.

I hope this help for now.

Please cc to list too.

Thanks

Regards

Rudolf

Quoted 16 lines · William

Hello;
I've just now installed gkrellm (i2c and lm_sensors) in a new slackware9.1. When finished with sensors-detect I ran "sensors" and was pleased to see lots of stuff.
Since rebooting, I have no temperatures, and running "sensors" gets me "no sensor found!"
I suspect it's where I put the modprobe stuff in /etc/rc.d/init.d; advice on how and where to put it would be welcome.
Hope that's it.
William

--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/

#3 lore raw
In reply to William
Quoted 5 lines · William

Hello Rudolf;
There is no /etc/modules in my OS.
I'm wondering if it should be pasted into the specified folder as something other than a text file. I don't yet know how to do this. William

Hello,

Step 1:
Do you know the module names?

If not, just after sensors-detect exits there is written what modules should be inserted for your system. You need to edit /etc/rc.d/rc.modules Its a text file, writable by root.

lines are like

#this is comment
modprobe some_module_name

You will just add for EXAMPLE

modprobe i2c-isa
modprobe ....

Step 2: How to edit this file.

Simplest way is to check if you have some textmode editor, like vi, vim or joe.

become root with this command:
su
(type your root password)
cd /etc/rc.d/
joe rc.modules

Now use cursor keys, backspace to delete just like any other editor.

modprobe yourmodule1
modprobe yourmodule2

When done editing, press and hold ctrl key and press k x your file is saved.

If you use vi or vim, type
vi rc.modules

press i key

use cursor lines to go to the end of file add

modprobe yourmodule1
modprobe yourmodule2

press esc
press :
press w
press q
press enter

To abort editing simply close terminal window.

I hope this helps for now.

Regards

Rudolf

#4 lore raw
In reply to William

Hello,

Quoted 4 lines

Yes!
It works, and I have temperatures, and the usual alarms. I put the modprobe lines in rc.local, as it was less cluttered. Both rc.local and rc.modules are shell scripts in slack9.1.

ok thanks for info.

Quoted 3 lines

Should I be concerned about the alarms? Have checked in BIOS, and the voltages seem accurate.

Try to run sensors -s It will load limits to chip calculated in /etc/sensors.conf. Also you can ignore some values, rename labels etc.

All stuff is in /etc/sensors.conf

Follow instructions at the beginning of the file. Basically you need to find configuration section for your chip, and change either labels, formulas, or ignore statements. Note that there can be prepared alternative formulas in each chip section.

You can find relevant section in file by looking at your chip name. sensors command will print the chip name (or look at your modules)

Please note that is needed to run sensors -s to "commit" the computation formulas and limits from sensors.conf file.

If you need some GUI client you can use ksensors for KDE or gkrellm otherwise instead of textmode "sensors".

I hope this helps, if any problem let us know and please include your "sensors" output and any changes you made to config file.

Regards

Rudolf

author
#5 lore raw
In reply to William

Hello Rudolf;
There is no /etc/modules in my OS.
I'm wondering if it should be pasted into the specified folder as something other than a text file. I don't yet know how to do this. William

Quoted 39 lines · Rudolf Marek

Hello

Please notice after sensors-detects exits, there is displayed which modules you should load. Cut and paste this to /etc/modules, which is the file for autoloadning modules on startup for most GNU/Linux distributions.

I hope this help for now.

Please cc to list too.

Thanks

Regards

Rudolf

Quoted 19 lines · William

Hello;
I've just now installed gkrellm (i2c and lm_sensors) in a new slackware9.1.
When finished with sensors-detect I ran "sensors" and was pleased to see lots of stuff.
Since rebooting, I have no temperatures, and running "sensors" gets me "no
sensor found!"
I suspect it's where I put the modprobe stuff in /etc/rc.d/init.d; advice
on how and where to put it would be welcome.
Hope that's it.
William

--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/

Signature · 1 line
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
author
#6 lore raw
In reply to William

Yes!
It works, and I have temperatures, and the usual alarms. I put the modprobe lines in rc.local, as it was less cluttered. Both rc.local and rc.modules are shell scripts in slack9.1.

Should I be concerned about the alarms? Have checked in BIOS, and the voltages seem accurate.

Thanks much, folks.

William

Quoted 18 lines · Rudolf Marek

Hello,

Step 1:
Do you know the module names?

If not, just after sensors-detect exits there is written what modules should be inserted for your system. You need to edit /etc/rc.d/rc.modules Its a text file, writable by root.

lines are like

#this is comment
modprobe some_module_name