R: R: [Voyage-linux] Negative temperature reading on Wrap
Punky Tse
(spam-protected)
Fri Dec 16 03:05:19 HKT 2005
Just use the new driver and it now becomes:
voyage:~# cat /sys/bus/i2c/drivers/lm77/0-0048/temp1_input
330000
before that it is:
voyage:~# cat /sys/bus/i2c/drivers/lm77/0-0048/temp1_input
32500
Look like it needs to divid by 10000 to get the read after using the new patch... is this expected?
- Punky
Punky Tse wrote:
> Just load the new kernels with lm77fix.patch to alpha.voyage.hk
>
> http://alpha.voyage.hk/contrib/punkytse/test-kernel/
>
> You can use kernel-image-2.6.14-486-voyage_2.0-7_i386.deb to test
>
> - Punky
>
>
> Tommaso wrote:
>
>> Thanks Mike for me it's really a usefull patch since I want to strictly
>> monitor the Wrap temperature when it works outside.
>> I'm sorry but I don't know exactly how to use your lm77fix.patch file.
>> Could
>> you please give me some more instructions? Thank you.
>>
>> Tommaso
>>
>>
>>
>> -----Messaggio originale-----
>> Da: Michael Renzmann [mailto:mrenzmann at otaku42.de] Inviato: giovedì 15
>> dicembre 2005 16.30
>> A: Tommaso
>> Cc: voyage-linux at voyage.hk
>> Oggetto: Re: R: [Voyage-linux] Negative temperature reading on Wrap
>>
>> Hi again.
>>
>> On Thu, 2005-12-15 at 16:09 +0100, Michael Renzmann wrote:
>>
>>> Please let me know if the attached patch works for you.
>>
>>
>>
>> Oops, missed a small issue: regarding to
>> Documentation/hwmon/sysfs-interface all temperatures should be given in
>> millidegrees celsius (using a factor of 10^3), but the lm77.c (and also
>> my first patch) used a factor of 10^2 instead. Attached is a revised
>> version that fixes this.
>>
>> Sorry for the confusion.
>>
>> Bye, Mike
>>
>>
>> _______________________________________________
>> Voyage-linux mailing list
>> Voyage-linux at list.voyage.hk
>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>
>
>
--
Regards,
Punky
P U N K N ! X . c o m
Technology + Lifestyle
(http://www.punknix.com)
Voyage Linux
(http://www.voyage.hk/software/voyage.html)
More information about the Voyage-linux
mailing list