From 77218c44388d8173bab1c06b0ba195fe910c5794 Mon Sep 17 00:00:00 2001 From: "Mark D. Studebaker" Date: Sat, 10 Feb 2001 04:53:24 +0000 Subject: [PATCH] new as99127f calculations for in5 and temp2 from Guntram Blohm git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1018 7894878c-1315-0410-8ee3-d5d059ff63e0 --- CHANGES | 2 +- etc/sensors.conf.eg | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGES b/CHANGES index b92accde..59a408d6 100644 --- a/CHANGES +++ b/CHANGES @@ -24,7 +24,7 @@ ask CVS about it: Also, mkpatch is probably broken right now. File doc/FAQ: Updates File doc/chips/via686a: Claim support for 686b. - File sensors.conf.eg: Adjust as99127f -12V calculation + File sensors.conf.eg: Adjust as99127f in5 (-12V) and temp2 calculations File sensors.c: Add xxx_init() calls for drivers added to mkpatch in 2.5.5. Include file i2c-isa.h: No longer required, moved to i2c.h in i2c package Include file sensors.h: Most contents moved to i2c-proc.h in i2c package diff --git a/etc/sensors.conf.eg b/etc/sensors.conf.eg index 8d33002e..eba88145 100644 --- a/etc/sensors.conf.eg +++ b/etc/sensors.conf.eg @@ -269,6 +269,7 @@ chip "as99127f-*" # Same as above for w83782d except that in5 and in6 negative voltages # are computed as in the w83781d. # Asus won't release a datasheet so this is guesswork. +# New in5 and temp2 calculations courtesy Guntram Blohm. label in0 "VCore 1" label in1 "VCore 2" @@ -280,11 +281,11 @@ chip "as99127f-*" compute in3 ((6.8/10)+1)*@ , @/((6.8/10)+1) compute in4 ((28/10)+1)*@ , @/((28/10)+1) -# Old calculation was about 15% low. Still guesswork - no datasheet! -# compute in5 -(210/60.4)*@ , -@/(210/60.4) - compute in5 -4*@ , -@/4 + compute in5 -(240/60.4)*@ , -@/(240/60.4) compute in6 -(90.9/60.4)*@ , -@/(90.9/60.4) + compute temp2 (@*30/43)+25, (@-25)*43/30 + # set limits to 5% for the critical voltages # set limits to 10% for the non-critical voltages # set limits to 20% for the battery voltage