<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
Michael Renzmann wrote:
<blockquote cite="mid1136879261.4447.49.camel@gimli" type="cite">
<pre wrap="">Hi all.
This is a revised version of my previous patch to fix negative
temperature readings of the LM77 in kernel 2.6.x.
Bye, Mike
</pre>
<br>
</blockquote>
Hi Mike<br>
<br>
I'm back in the civilization ...<br>
<br>
I have applied the old patch not this one but the changes from the new
are marginal so this doesn't solve the problem
(see below).<br>
With the old patch I get the following output<br>
current:0 low:0 lowHyst:-1 high:0 highHist:0 critical:0 criticalHyst:0<br>
instead of negatives ones but it's still the same.<br>
The driver 'hangs' and gives no more other values than this ones.<br>
What I have seen now is that removing all modules and inserting again
does not solve the problem<br>
even a reboot does not work so It seems that the drvier is doing
something nasty with the hw ...<br>
After removing inserting all modules for i2c the Directory 0-0048 did
not exist of path<br>
/sys/bus/i2c/drivers/lm77/0-0048<br>
I had to do a power off/on of my wrap board so the temp. could be read
again right.<br>
The next time the error ocurred I tried to reboot without removing
modules.<br>
Same thing, a reboot does not solve the problem, so something really
needs to be reseted !!!<br>
<br>
The funny thing is that this occures on one wrap board on the other not
(both the same patch)<br>
I have to test other wrap boards. As I remember it was not only onre
board so an hw defect<br>
is improbable but maybe a design error ...<br>
<br>
Here output of my temp gettings script<br>
Tue Jan 17 20:30:02 ART 2006 current:59 low:10 high:0 critical:80<br>
Tue Jan 17 20:40:02 ART 2006 current:0 low:0 high:0 critical:0<br>
Tue Jan 17 20:50:02 ART 2006 Error: Cannot change to directory
/sys/bus/i2c/drivers/lm77/0-0048<br>
<br>
<br>
Here what I've found in the logs:<br>
Jan 17 20:30:02 localhost kernel: i2c_adapter i2c-0: timeout in state
read<br>
Jan 17 20:30:04 localhost kernel: i2c_adapter i2c-0: timeout in state
address<br>
Jan 17 20:30:36 localhost last message repeated 19 times<br>
Jan 17 20:31:37 localhost last message repeated 39 times<br>
Jan 17 20:32:40 localhost last message repeated 39 times<br>
Jan 17 20:33:41 localhost last message repeated 39 times<br>
Jan 17 20:34:42 localhost last message repeated 39 times<br>
Jan 17 20:35:43 localhost last message repeated 39 times<br>
Jan 17 20:36:45 localhost last message repeated 40 times<br>
Jan 17 20:37:47 localhost last message repeated 39 times<br>
Jan 17 20:38:51 localhost last message repeated 38 times<br>
Jan 17 20:39:53 localhost last message repeated 39 times<br>
Jan 17 20:40:54 localhost last message repeated 38 times<br>
Jan 17 20:41:58 localhost last message repeated 19 times<br>
Jan 17 20:42:04 localhost last message repeated 5 times<br>
Jan 17 20:43:41 localhost kernel: : probe failed<br>
Jan 17 20:44:02 localhost kernel: i2c_adapter i2c-0: timeout in state
quick<br>
<br>
Greetings<br>
<br>
Beat<br>
</body>
</html>