[Voyage-linux] [Fwd: [PATCH 01/11] hwmon: Fix negative temperaturereadings in lm77 driver]
Beat Meier
(spam-protected)
Tue Jan 17 20:53:24 HKT 2006
Michael Renzmann wrote:
>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
>
>
>
Hi Mike
I'm back in the civilization ...
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).
With the old patch I get the following output
current:0 low:0 lowHyst:-1 high:0 highHist:0 critical:0 criticalHyst:0
instead of negatives ones but it's still the same.
The driver 'hangs' and gives no more other values than this ones.
What I have seen now is that removing all modules and inserting again
does not solve the problem
even a reboot does not work so It seems that the drvier is doing
something nasty with the hw ...
After removing inserting all modules for i2c the Directory 0-0048 did
not exist of path
/sys/bus/i2c/drivers/lm77/0-0048
I had to do a power off/on of my wrap board so the temp. could be read
again right.
The next time the error ocurred I tried to reboot without removing modules.
Same thing, a reboot does not solve the problem, so something really
needs to be reseted !!!
The funny thing is that this occures on one wrap board on the other not
(both the same patch)
I have to test other wrap boards. As I remember it was not only onre
board so an hw defect
is improbable but maybe a design error ...
Here output of my temp gettings script
Tue Jan 17 20:30:02 ART 2006 current:59 low:10 high:0 critical:80
Tue Jan 17 20:40:02 ART 2006 current:0 low:0 high:0 critical:0
Tue Jan 17 20:50:02 ART 2006 Error: Cannot change to directory
/sys/bus/i2c/drivers/lm77/0-0048
Here what I've found in the logs:
Jan 17 20:30:02 localhost kernel: i2c_adapter i2c-0: timeout in state read
Jan 17 20:30:04 localhost kernel: i2c_adapter i2c-0: timeout in state
address
Jan 17 20:30:36 localhost last message repeated 19 times
Jan 17 20:31:37 localhost last message repeated 39 times
Jan 17 20:32:40 localhost last message repeated 39 times
Jan 17 20:33:41 localhost last message repeated 39 times
Jan 17 20:34:42 localhost last message repeated 39 times
Jan 17 20:35:43 localhost last message repeated 39 times
Jan 17 20:36:45 localhost last message repeated 40 times
Jan 17 20:37:47 localhost last message repeated 39 times
Jan 17 20:38:51 localhost last message repeated 38 times
Jan 17 20:39:53 localhost last message repeated 39 times
Jan 17 20:40:54 localhost last message repeated 38 times
Jan 17 20:41:58 localhost last message repeated 19 times
Jan 17 20:42:04 localhost last message repeated 5 times
Jan 17 20:43:41 localhost kernel: : probe failed
Jan 17 20:44:02 localhost kernel: i2c_adapter i2c-0: timeout in state quick
Greetings
Beat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20060117/d6d95bad/attachment-0001.html>
More information about the Voyage-linux
mailing list