severity 457545 normal thanks Svante Signell a écrit : > Package: lm-sensors > Version: 3.0.0 > Severity: serious > Tags: patch
Next time, please read http://www.debian.org/Bugs/Developer#severities before reporting a bug. > The following sensors calculate wrong max and min values for negative > inputs in sensors3.conf: > chip "lm78-*" "lm79-*" "w83781d-*" > chip "as99127f-*" > chip "lm87-*" "adm1024-*" > > The max and min values should be swapped as shown for lm78 below: > Change: > # set in5_max -12 * 1.05 > # set in5_min -12 * 0.95 > # set in6_max -5 * 1.05 > # set in6_min -5 * 0.95 > to: > # set in5_min -12 * 1.05 > # set in5_max -12 * 0.95 > # set in6_min -5 * 1.05 > # set in6_max -5 * 0.95 > > This problem has been present for a long time in sensors.conf for 2.x > versions too! > > Inlined is a diff of the /usr/share/lm-sensors/sensors.conf.eg file: > > --- /usr/share/lm-sensors/sensors.conf.eg~ 2007-12-11 15:36:18.000000000 > +0100 > +++ /usr/share/lm-sensors/sensors.conf.eg 2007-12-23 12:28:29.000000000 > +0100 > @@ -318,10 +318,10 @@ > # set in3_max 5.0 * 1.05 > # set in4_min 12 * 0.95 > # set in4_max 12 * 1.05 > -# set in5_min -12 * 0.95 > -# set in5_max -12 * 1.05 > -# set in6_min -5 * 0.95 > -# set in6_max -5 * 1.05 > +# set in5_max -12 * 0.95 > +# set in5_min -12 * 1.05 > +# set in6_max -5 * 0.95 > +# set in6_min -5 * 1.05 > > # Examples for lm78, lm79 temperature limits > # set temp1_max 40 > @@ -869,10 +869,10 @@ > # set in3_max 5.0 * 1.05 > # set in4_min 12 * 0.90 > # set in4_max 12 * 1.10 > -# set in5_min -12 * 0.90 > -# set in5_max -12 * 1.10 > -# set in6_min -5 * 0.95 > -# set in6_max -5 * 1.05 > +# set in5_max -12 * 0.90 > +# set in5_min -12 * 1.10 > +# set in6_max -5 * 0.95 > +# set in6_min -5 * 1.05 > > # examples for temperature limits > # set temp1_max 40 > @@ -1215,10 +1215,10 @@ > # label in7 "-5V" > # compute in6 (7.50 * @) - 21.45 , (@ + 21.45) / 7.50 > # compute in7 (4.05 * @) - 10.07 , (@ + 10.07) / 4.05 > -# set in6_min -12 * 0.95 > -# set in7_min -5 * 0.95 > -# set in6_max -12 * 1.05 > -# set in7_max -5 * 1.05 > +# set in6_max -12 * 0.95 > +# set in7_max -5 * 0.95 > +# set in6_min -12 * 1.05 > +# set in7_min -5 * 1.05 > > > chip "it87-*" "it8712-*" > > > > -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' [EMAIL PROTECTED] | [EMAIL PROTECTED] `- people.debian.org/~aurel32 | www.aurel32.net -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]