All of lore.kernel.org
 help / color / mirror / Atom feed
From: Guenter Roeck <linux@roeck-us.net>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] ASRock IMB-170 configuration help
Date: Tue, 17 Sep 2013 03:47:35 +0000	[thread overview]
Message-ID: <5237D0D7.3040001@roeck-us.net> (raw)
In-Reply-To: <jaf739to4p5c3erfh5rc33qk1mg2iopfoo@4ax.com>

On 09/16/2013 07:50 PM, singumal wrote:
> Guenter Roeck <linux@roeck-us.net> wrote:
>
>> On Fri, Sep 13, 2013 at 06:42:26PM -0700, singumal wrote:
>>> Now that I can read sensors for this ASRock IMB-170 board (see list thread "Re: Cannot
>>> compile w83627ehf standalone driver"), I need to configure it.  I don't see any info
>>> poking around the lm-sensors.org site or in a web search.  Here is the "sensors" output
>>
>> ASRock has a tuning utility which includes xml files for their various boards.
>> The file for your board includes
>>
>>     <Voltage Enable="1">
>>             <Item Index="0" Name="CPU_VCORE_V" Enable="1">Vcore Voltage</Item>
>>             <Item Index="1" Name="P3P3_V" Enable="1">+3.3V Voltage</Item>
>>             <Item Index="2" Name="P5P0_V" Enable="1">+5.0V Voltage</Item>
>>             <Item Index="3" Name="P12_V" Enable="1">+12V Voltage</Item>
>>             <Item Index="4" Name="DRAM_V" Enable="1" VoltageControl="DRAM_V">DRAM Voltage</Item>
>>             <Item Index="5" Name="CPU_NB_V" Enable="0" VoltageControl="CPU_NB_V">CPU NB Voltage</Item>
>>             <Item Index="6" Name="NB_V" Enable="0" VoltageControl="NB_V">NB Voltage</Item>
>>             <Item Index="7" Name="HT_V" Enable="0" VoltageControl="HT_V">HT Voltage</Item>
>>         </Voltage>
>>
>> Based on that, you can assign voltages from in0..in7. You'll have to figure out
>> the scale used for in1 (3.3V) and in3(12V); best might be to record voltages
>> in the BIOS and compare with the actual readings. The other voltages look ok as
>> far as I can see.
>>
>>> (less the coretemp info) with the 3.3.4 sensors.conf.default as /etc/sensors3.conf:
>>>
>>> w83627uhg-isa-0290
>>> Adapter: ISA adapter
>>> in0:           +0.86 V  (min =  +0.00 V, max =  +1.74 V)
>>> in1:           +1.83 V  (min =  +0.61 V, max =  +1.02 V)  ALARM
>>> AVCC:          +5.12 V  (min =  +4.49 V, max =  +5.49 V)
>>> +5V:           +5.14 V  (min =  +4.49 V, max =  +5.51 V)
>>> in4:           +1.71 V  (min =  +0.80 V, max =  +0.62 V)  ALARM
>>> in5:           +1.70 V  (min =  +1.80 V, max =  +1.64 V)  ALARM
>>> 5VSB:          +5.12 V  (min =  +4.49 V, max =  +5.49 V)
>>> Vbat:          +3.37 V  (min =  +2.69 V, max =  +3.64 V)
>>> fan1:            0 RPM  (min =    0 RPM, div = 32)  ALARM
>>> fan2:         6026 RPM  (min = 21093 RPM, div = 16)  ALARM
>>
>> That is really on the high side. Wonder if the fan is configured correctly.
>>
>> Guenter
>>
>>> SYSTIN:        +42.0°C  (high =  +1.0°C, hyst = -76.0°C)  ALARM  sensor = thermistor
>>> PECI Agent 1:  +26.5°C  (high = +80.0°C, hyst = +75.0°C)  sensor = Intel PECI
>>> intrusion0:   ALARM
>>>
>
> Guenter,
>
> Thank you.  Using that information, and experimenting, I am
> closer now (see below).  Questions:
>
> The default lm-sensors config also has in8 for this chip, which
> does seem to be hooked up per voltage reading, and might well be
> battery as labeled in default.  I wonder why it's not in their
> XML?
>
You would have to ask the vendor.

> Why are SYSTIN limits defaulting to such odd values?  What does
> SYSTIN stand for?
>
It is the board temperature. It is labeled SYSTIN in the SuperIO
chip documentation.

> I can't set SYSTIN to get rid of the alarm - neither SYSTIN_high
> nor SYSTIN_max work, the driver complains.
>
I suspect there may be a problem with the driver, but it is hard
to nail down as I don't have the hardware. Technically, I suspect
that the SYSTIN limits need to be read from a different register
location. That is just a wild guess, though. Maybe Jean reads
this e-mail and has an idea.

What does the driver say if you set those limits ?

> What is PECI Agent 1?  How would I label/set/ignore it since the
> name has spaces?  Is it measuring the same thing as coretemp, or
> something different?
>
That is the CPU temperature. See
http://en.wikipedia.org/wiki/Platform_Environment_Control_Interface.

> Why can't I set a fan divisor?  It causes complaint from driver.
> doc/fan-divisors doesn't mention that this may happen.
>
> Oddly, when I set fan2_min to 3000, it also changed the divisor
> to 4; and when set to 1500, to 8.  This isn't mentioned in the
> document either.  But it fixes my problem.
>
The driver sets the divisor automatically.

Guenter

>
> Output now:
>
> w83627uhg-isa-0290
> Adapter: ISA adapter
> Vcore:         +0.85 V  (min =  +0.80 V, max =  +0.90 V)
> +3.3V:         +3.36 V  (min =  +3.09 V, max =  +3.51 V)
> +5.0V:         +5.16 V  (min =  +4.49 V, max =  +5.49 V)
> +12V:         +12.08 V  (min = +10.55 V, max = +12.97 V)
> DRAM-V:        +1.71 V  (min =  +1.50 V, max =  +1.90 V)
> CPU-NB-V:      +1.70 V  (min =  +1.50 V, max =  +1.90 V)
> HT-V:          +5.16 V  (min =  +4.49 V, max =  +5.49 V)
> Vbat:          +3.40 V  (min =  +2.69 V, max =  +3.64 V)
> CPU Fan:      5818 RPM  (min = 1506 RPM, div = 8)
> SYSTIN:        +46.0°C  (high =  +1.0°C, hyst = -76.0°C)  ALARM  sensor = thermistor
> PECI Agent 1:  +29.5°C  (high = +80.0°C, hyst = +75.0°C)  sensor = Intel PECI
>
>
> Using config:
>
> chip "w83627uhg-*"
>
>      label in0 "Vcore"
>      label in1 "+3.3V"
>      label in2 "+5.0V"
>      label in3 "+12V"
>      label in4 "DRAM-V"
>      label in5 "CPU-NB-V"
>      label in6 "NB-V"
>      label in7 "HT-V"
>      label in8 "Vbat"   # Assumed
>
>      label fan1 "System Fan"
>      label fan2 "CPU Fan"
>
>      ignore fan1        # For this particular chassis, not hooked up
>      ignore intrusion0
>
>      compute in1 (@*3.3/1.8), (@*1.8/3.3)
>      compute in3 (@*12/5.1), (@*5.1/12)
>
>      set in0_min 0.80
>      set in0_max 0.90
>      set in1_min 3.1
>      set in1_max 3.5
>      set in4_min 1.5
>      set in4_max 1.9
>      set in5_min 1.5
>      set in5_max 1.9
>
>      #set fan2_div 1    # Doesn't work with this driver, causes complaint
>      set fan2_min 1500
>
>      #set SYSTIN_high 80  # Doesn't work
>      #set SYSTIN_max 80   # Doesn't work
>
>
>
>
> _______________________________________________
> lm-sensors mailing list
> lm-sensors@lm-sensors.org
> http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
>
>


_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

  parent reply	other threads:[~2013-09-17  3:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-14  1:42 [lm-sensors] ASRock IMB-170 configuration help singumal
2013-09-14  3:55 ` Guenter Roeck
2013-09-17  2:50 ` singumal
2013-09-17  3:47 ` Guenter Roeck [this message]
2013-09-18 18:03 ` singumal
2013-09-22 18:41 ` singumal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5237D0D7.3040001@roeck-us.net \
    --to=linux@roeck-us.net \
    --cc=lm-sensors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.