hi,
A little feedback.
Can you make separate pets : lm_sensors and your application , so it doesn't get mixed ?
It worked : I run sensors-detect , in the end it says

Code:

To load everything that is needed, add this to one of the system
initialization scripts (e.g. /etc/rc.d/rc.local):
#----cut here----
# Chip drivers
modprobe it87
/usr/local/bin/sensors -s
#----cut here----

I run the modprobe it87 as asked above and then typing "sensors" shows :

Can you make separate pets : lm_sensors and your application , so it doesn't get mixed ?

I'd rather not. I slightly modify the sensors binary to be compatible with the CPUtemp script. It works better if they are packaged together. If you look in CPUtemp, you will see the full path /usr/local/bin/sensors so it doesn't use some other version already installed.

I'd rather not. I slightly modify the sensors binary to be compatible with the CPUtemp script. It works better if they are packaged together. If you look in CPUtemp, you will see the full path /usr/local/bin/sensors so it doesn't use some other version already installed.

What did you modify ? Ok so there can be 2 "sensors" , one in /usr/bin and one in /usr/local/bin ?

rcrsn51 wrote:

There are ways of fine-tuning sensors so the output makes sense with your hardware.

How ?

rcrsn51 wrote:

Add them to what? BK has retired.

To any puppy he wants, he is still active, even retired. It doesn't matter. I can ask, he can do what he wants.

I remove the degree symbol because there were problems getting it to display correctly in non-English character sets.

Quote:

Ok so there can be 2 "sensors" , one in /usr/bin and one in /usr/local/bin ?

Yes. IIRC, some Puppy builders are including the sensors package.

Quote:

How ?

The procedure is described in the sensors documentation. I have never tried it.

IIRC, the script/source (yes I had some affect in C/C++ sources too, could have been me though) must be encoded UTF-8 for the degree symbol, however, this may fall over if the users opts for non UTF-8 locale._________________Woof Mailing List | keep the faith |

To display correct voltage values, the software needs to be corrected with a "correction" file : /etc/sensors.conf
Those "correction factors" depend on the mother board model. People who love maths can calculate them.
Example :

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum