Skip to contentSkip to conversation

lm-sensors

DISCUSSION Mark D. Studebaker 7 participants 10 messages May 19, 2005 – Nov 3, 2005

lore
Share & tools
lore
#0 lore raw

It is probably on an I2C bus for which we do not support the driver. See FAQ.

Quoted 21 lines

A&A Computer Solutions wrote:

hey!

I have a Fullyes 82440LX motherboard, with a pentiumII 300MHz. I compiled i2c and lm-sensors with no problems (I guess). But unfortunately there is a problem :)

On my motherboard there is an gl518sm sensor chip, which should be supported.
Unfortunately sensors-detect only detects an eeprom, but not the gl518sm chip.
When I modprobe gl518sm, it nicely adds the module, but then a "sensors -a" results in an: sensors not found!

can you help please?
if you need more info, just ask me,
and I'll be happy to send it.

greetz,
Anne

#1 lore raw

lm-sensors (fwd)

[email protected] wrote:
From [email protected] Wed Aug 14 19:55:04 2002
Date: Wed, 14 Aug 2002 19:55:04 +0200
Message-Id: <[email protected]>
Received: by morannon.frodo.local (8.11.3/8.11.3) id g7EHt4706794 ; Wed, 14 Aug 2002 19:55:04 +0200
Return-Path: <[email protected]>
Received: from pop3.dds.nl [213.196.1.121]

	by localhost with POP3 (fetchmail-5.4.4)
	for frodo@localhost (single-drop); Wed, 14 Aug 2002 19:55:04 +0200 (CEST)

Received: (qmail 5228 invoked from network); 14 Aug 2002 17:27:15 -0000
Received: from unknown (HELO smtp1.libero.it) ([193.70.192.51]) (envelope-sender <[email protected]>)
by arkanoid.cybercomm.nl (qmail-ldap-1.03) with SMTP
for <[email protected]>; 14 Aug 2002 17:27:15 -0000
Received: from mirkwood (151.27.176.163) by smtp1.libero.it (6.5.028)

        id 3D4E45CE002AF762 for [email protected]; Wed, 14 Aug 2002 19:43:13 +0200

From: [email protected]
To: [email protected]
Subject: lm-sensors
X-Mailer: Sylpheed version 0.7.8 (GTK+ 1.2.10; i386-debian-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Loop-Procmail: PreventLoop

Hi

Is possible that for as99127f (A7V133)
computing of temp2 is (@*2)
rather than (@*30/43)+25 ?

the first options seems to be inline with
bios result.

best regards

Paolo

Signature · 4 lines
Frodo Looijaard <[email protected]>  PGP key and more: http://huizen.dds.nl/~frodol
Defenestration n. (formal or joc.):
  The act of removing Windows from your computer in disgust, usually followed
  by the installation of Linux or some other Unix-like operating system.
#2 lore raw

lm-sensors (fwd)

In reply to Mark D. Studebaker
Quoted 9 lines

Hi

Is possible that for as99127f (A7V133)
computing of temp2 is (@*2)
rather than (@*30/43)+25 ?

the first options seems to be inline with
bios result.

I got the same card (A7V133-C to be precise) and I use @*2.0 for a long time (and for temp3 also). Maybe there are other boards where (@*30/43)+25 is correct? I will change to @*2.0, and we'll see if someone complains. I leave the original as a comment anyway, just in case.

Thanks for reporting!

Signature · 2 lines
Jean "Khali" Delvare
http://www.ensicaen.ismra.fr/~delvare/
#3 lore raw

lm-sensors (fwd)

In reply to Mark D. Studebaker

[email protected] wrote:
From [email protected] Fri Aug 16 23:40:05 2002
Date: Fri, 16 Aug 2002 23:40:05 +0200
Message-Id: <[email protected]>
Received: by morannon.frodo.local (8.11.3/8.11.3) id g7GLe5701460 ; Fri, 16 Aug 2002 23:40:05 +0200
Return-Path: <[email protected]>
Received: from pop3.dds.nl [213.196.1.122]

	by localhost with POP3 (fetchmail-5.4.4)
	for frodo@localhost (single-drop); Fri, 16 Aug 2002 23:40:05 +0200 (CEST)

Received: (qmail 28238 invoked from network); 16 Aug 2002 21:12:11 -0000
Received: from unknown (HELO smtp3.libero.it) ([193.70.192.127]) (envelope-sender <[email protected]>)
by arkanoid.cybercomm.nl (qmail-ldap-1.03) with SMTP
for <[email protected]>; 16 Aug 2002 21:12:11 -0000
Received: from mirkwood (151.27.177.240) by smtp3.libero.it (6.5.028)

        id 3D5121BE00257B41 for [email protected]; Fri, 16 Aug 2002 23:28:20 +0200

From: [email protected]
To: [email protected]
Subject: lm-sensors
X-Mailer: Sylpheed version 0.7.8 (GTK+ 1.2.10; i386-debian-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Loop-Procmail: PreventLoop

Hi

i was talking with Martin Peters (Vcool authors)
he says that he has used w83782d datasheet for asus as99.... chip
it says that
"The temperature data format is 8-bit twos-complement for sensor 1 and 9-bit twos-complement for sensor 2/3."

so if sensors reads only 8 bit from sensors2, beh this is the cause of wrong value and of "2" factor :)

Bye
Paolo

Signature · 4 lines
Frodo Looijaard <[email protected]>  PGP key and more: http://huizen.dds.nl/~frodol
Defenestration n. (formal or joc.):
  The act of removing Windows from your computer in disgust, usually followed
  by the installation of Linux or some other Unix-like operating system.
#4 lore raw

lm-sensors (fwd)

In reply to Mark D. Studebaker

Be wary of as99127f changes, I've pretty much given up because everytime I change something for somebody a ton of people complain that it broke something for them. Definitely at the point of diminishing returns.
mds

Quoted 21 lines · Jean Delvare
Quoted 9 lines

Hi

Is possible that for as99127f (A7V133)
computing of temp2 is (@*2)
rather than (@*30/43)+25 ?

the first options seems to be inline with
bios result.

I got the same card (A7V133-C to be precise) and I use @*2.0 for a long time (and for temp3 also). Maybe there are other boards where (@*30/43)+25 is correct? I will change to @*2.0, and we'll see if someone complains. I leave the original as a comment anyway, just in case.

Thanks for reporting!

--
Jean "Khali" Delvare
http://www.ensicaen.ismra.fr/~delvare/

#5 lore raw
In reply to Mark D. Studebaker

Greetings,

I discovered your code after an unfortunate crapping out of my cpu fan over Thanksgiving. Fortunately I got to the machine in time and got it turned off, avoiding serious damage.

I installed a new fan and heat sink, then installed lm-sensors to keep an eye on things. I also, with the help of a couple of guys in my LUG (Lancaster Co.[PA] LUG), wrote a python script to monitor, and shutdown if necessary. I haven't had it running long, but it seems to work fine. I put the script in /sbin and run it from cron every 2 minutes.

I've attached the script so you guys can look at it, alter it or laugh at it and delete it :)

Thanks for a great piece of software.

Sincerely,
Rod

Signature · 34 lines
M. Roderic MacCallum
808 Center Rd.
Womelsdorf, PA 19567
610.589.5017
[email protected]

-------------- next part --------------
#!/usr/bin/python2

# This script works for me, YMMV!
# Thanks rubberpaw for the "int(os.popen" help
# Thanks to malaclypse for the smtplib script

import os
import smtplib

t= int(os.popen("sensors -f | grep CPU_Temp | cut -d ':' -f 2 | cut -d '+' -f 2 | cut -d '.' -f 1", "r").read())

if t > 115:
	
	# Email an alert
	fromaddr = "YourEmailAddy"
	toaddrs  = "email","cell"
	msg = "Your Message"
	server = smtplib.SMTP('YourServer')
	#server.set_debuglevel(1)
	server.sendmail(fromaddr, toaddrs, msg)
	server.quit()

	# Shut the machine down
	os.system("/sbin/shutdown -h now")

else:
	exit
#6 lore raw
In reply to Mark D. Studebaker

hey!

I have a Fullyes 82440LX motherboard, with a pentiumII 300MHz. I compiled i2c and lm-sensors with no problems (I guess). But unfortunately there is a problem :)

On my motherboard there is an gl518sm sensor chip,
which should be supported.
Unfortunately sensors-detect only detects an eeprom, but not the gl518sm chip. When I modprobe gl518sm, it nicely adds the module,
but then a "sensors -a" results in an: sensors not found!

can you help please?
if you need more info, just ask me,
and I'll be happy to send it.

greetz,
Anne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20030205/abfbec18/attachment.html

#7 lore raw

LM-Sensors

In reply to Mark D. Studebaker

Hallo Horst,

Quoted 2 lines

I have tested the "new" version and the result is better, but we can live with the "old" version too.

Magnitude of 3 definitely seems to help, as I hoped. I'll commit the changes to our CVS repository.

Quoted 1 line

I have attached sensors.conf and a display output for the "new" version.

Still I'm a bit worried by displayed limits being rounded off by 0.01V in various places. I don't have the "old" sensors output at hand at the moment, but I think it wasn't that way before the magnitude change. Most likely, what sensors displays as 2.99V, for example, is actually 2.999 (or at least 2.995) and should be rounded up to 3.00V for a nicer display. There was no reason to have rounding done at this place before (driver magnitude and displayed magnitude were the same) but now it would be welcome.

Could you please confirm my suspicions by providing the contents of the /proc/sys/dev/sensors/pc87366-isa-0fb0/in* files for your current configuration?

Thanks.

Jean Delvare

#8 lore raw

AW: AW: LM-Sensors

In reply to Mark D. Studebaker

Hello Jean,

I have tested the "new" version and the result is better, but we can live with the "old" version too.
I have attached sensors.conf and a display output for the "new" version.

Thanks and best regards

Horst Kretschmer

-----Urspr?ngliche Nachricht-----
Von: Jean Delvare [mailto:[email protected]]
Gesendet: Mittwoch, 16. Juni 2004 21:29
An: Kretschmer, Horst
Cc: Bervas, Elodie; Oelkers, Hans-Joachim; Duellings, Peter
Betreff: Re: AW: LM-Sensors

Quoted 11 lines

I have tested -13V with lower values in sensors.conf with the following results:

sensors.conf displayed /proc/sys/....../in1
-13

-12.99          -13.22       2.42 2.55 2.52
-12.98          -13.22       2.42 2.55 2.52

..
-12.88 -13.22 2.42 2.55 2.52

-12.87 -12.88 2.44 2.55 2.52

Hmmm, OK. I get one part of the mystery. The native resolution of the A-D converter is 0.0116V. It's slightly more than 0.01V, which means that, with a magnitude of 2, some values cannot be represented. Among others, 2.43V cannot be represented. This explains why the converted value jumps from -12.88 to -13.22 directly (while you would at least expect -13.05 inbetween).

Also, I just realized that there are four successive roundings when setting a limit. libsensors has to round to the driver's magnitude, then the driver rounds to an integer (register value), then you read the value (with sensors), so conversions are done the other way around. For most drivers, this isn't a problem because the ratio between register values and exported values is "nice" (typical A-D converters have a 16mV/bit resolution) so the noise is limited. But the PC87366 has a weird resolution and this probably adds noise to the conversions.

I think that using a magnitude of 3 for voltages should reduce that noise and the driver should obey "sensors -s" better. Patch attached. Could you please apply and test? If it improves the situation for you, I'll apply to our CVS repository. Then we'll see if more is needed.

Thanks.

Signature · 10 lines
Jean Delvare
http://khali.linux-fr.org/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sensors_new.zip
Type: application/octet-stream
Size: 1167 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20040617/4ba2833a/sensors_new.obj
#9 lore raw
In reply to Mark D. Studebaker

Hi David,

Try using the BIOS reset jumper on the motherboard to cause the CMOS to clear on the MoBo (do this while the MoBo is OFF) then put the jumper back to the normal position and power up the PC. You should find instructions for this in your MoBo manual (which you carefully kept in case you needed it... ;-) ... do follow them carefully.

Hopefully this will clear the problem and allow you to boot cleanly. Then you can start to track down exactly where it came from.

- Roger

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Grant Coady
Sent: 03 November 2005 06:45
To: David Haertig
Cc: [email protected]
Subject: Re: [lm-sensors] lm-sensors installchanged/corruptedBIOS/chip_firmware???!!!

Hi David,

Quoted 7 lines · David Haertig

Hi Grant -

Thanks for the quick reply. However, I don't understand your concerns about what compiler or kernel I have installed. I did not recompile the kernel BTW. I downloaded a binary kernel from Debian SID, but I needed the kernel source and the newer compiler to compile the nVidia drivers.

Okay, but it maybe an issue later. I'm asking the silly preliminary stuff, somebody else will chime in, we hope :)

Quoted 5 lines

After installing lm-sensors (apt-get install, then sensor-detect) I rebooted. The first reboot I tried was a soft one ("Logoff and restart" from within Gnome Desktop). My second reboot was a total power down one.

Okay.

Quoted 6 lines

Anyway, the hang is during POST. This is way before any OS is loaded, tainted kernel or not. I'm not even to the MBR -> XOSL Boot Manager -> Grub -> Linux Kernel yet. I'm still in POST (firmware). Drivers and kernels are not in the picture at this stage of booting. The harddisk hasn't even been accessed yet!

This is where we get concerned, something has upset the BIOS?

Quoted 2 lines

I'm hoping that what I think happened is not what really happened. Or at least there's an easy fix for it.

Can you try clearing the BIOS, don't run lm_sensors, but take a look at the ACPI in dmesg and /sys area, newer BIOS now report hardware monitoring through ACPI, which is a different ballgame. There was info about ACPI hw monitoring very recently either on this list or linux-kernel.

Sorry cannot be more helpful. Out of cluebats today :(

Grant.

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors