chip "w83627hf-*"
    label in5 "-12V"
    label in6 "-5V"

    compute in5 (5.14 * @) - 14.91  ,  (@ + 14.91) / 5.14
    compute in6 (3.14 * @) -  7.71  ,  (@ +  7.71) / 3.14

chip "w83627hf-isa-0290"

    label in5 "CK804"
    label in6 "HTV"

    compute in5 @ , @
    compute in6 @ , @


In the above configuration, sensors outputs using the labels 'CK804' and
'HTV', but outputs the values as computed with '(5.14 * @) - 14.91' and
'(3.14 * @) -  7.71' respectively, not '@' and '@' as previous versions did.


Using the following config (swapping the order):
chip "w83627hf-isa-0290"

    label in5 "CK804"
    label in6 "HTV"

    compute in5 @ , @
    compute in6 @ , @

chip "w83627hf-*"
    label in5 "-12V"
    label in6 "-5V"

    compute in5 (5.14 * @) - 14.91  ,  (@ + 14.91) / 5.14
    compute in6 (3.14 * @) -  7.71  ,  (@ +  7.71) / 3.14

makes it output using the labels '-12V' and '-5V', while using the
calculations '@' and '@', respectively.

Therefore, the only way to get proper results with sensors3.conf is to
remove the "w83627hf-*" section completely, or do something extremely
stupid like this:

chip "w83627hf-isa-0290"

    compute in5 @ , @
    compute in6 @ , @

chip "w83627hf-*"
    label in5 "-12V"
    label in6 "-5V"

    compute in5 (5.14 * @) - 14.91  ,  (@ + 14.91) / 5.14
    compute in6 (3.14 * @) -  7.71  ,  (@ +  7.71) / 3.14

chip "w83627hf-isa-0290"

    label in5 "CK804"
    label in6 "HTV"

If you need the full configuration, let me know, but this should be
fairly easy to reproduce by using obviously incorrect
labels/calculations - i.e., adding label in1 "foo" and/or compute in1 @
+ 1000, @ - 1000 to new test sections that match your chip.




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to