All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] lsensors3.conf for ASRock K7VT2
@ 2013-06-07 12:29 Marcus Roeckrath
  2013-06-09 19:04 ` Jean Delvare
  2013-06-10  7:18 ` Jean Delvare
  0 siblings, 2 replies; 3+ messages in thread
From: Marcus Roeckrath @ 2013-06-07 12:29 UTC (permalink / raw)
  To: lm-sensors

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

here is my sensors3.conf for ASRock K7VT2 Board, please add this to the 
Motherboard Specific Configuration:

# Sample configuration for ASRock K7VT2

chip "w83697hf-*"
set beep_enable 0
label in0 "VCore"
label in2 "+3.3V"
label in3 "+5V"
label in4 "+12V"
label in5 "-12V"
label in6 "-5V"
label in7 "V5SB"
label in8 "VBat"
compute in3 ((6.8/10)+1)*@ , @/((6.8/10)+1)
compute in4 ((28/10)+1)*@ , @/((28/10)+1)
#compute in5 (5.14 * @) - 14.91 , (@ + 14.91) / 5.14
#compute in5 (3.14 * @) - 7.71 , (@ + 7.71) / 3.14
compute in5 -((28/10)+1)*@ , -@/((28/10)+1)
compute in6 -((6.8/10)+1)*@ , -@/((6.8/10)+1)
compute in7 ((6.8/10)+1)*@ , @/((6.8/10)+1)
set in0_min 1.5 * 0.95
set in0_max 1.65 * 1.05
set in2_min 3.3 * 0.9
set in2_max 3.3 * 1.1
set in3_min 5 * 0.95
set in3_max 5 * 1.05
set in4_min 12 * 0.9
set in4_max 12 * 1.1
set in5_min -12 * 0.9
set in5_max -12 * 1.1
set in6_min -5 * 0.9
set in6_max -5 * 1.1
set in7_min 5 * 0.9
set in7_max 5 * 1.1
set in8_min 3.0 * 0.8
set in8_max 3.0 * 1.2
label temp1 "System Temp"
label temp2 "CPU Temp"
set temp1_max 50
set temp1_max_hyst 45
set temp2_max 52
set temp2_max_hyst 47
label fan1 "CPU Fan"
ignore fan2
set fan1_div 4
set fan1_min 2000

- -- 

Gruß Marcus

Marcus Röckrath -- Vikarsbusch 8 -- D-48308 Senden -- Germany
Phone  : +49-2536-9944 -- Fax : +49-2536-9943
E-Mail : marcus.roeckrath@gmx.de
WWW    : http://home.foni.net/~marcusroeckrath/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iQEVAwUBUbHSNgp4kFlTVf6VAQL0uwf/eAbf8ZSNoh/zKxG52En/Ko8WbEz2w5/1
A+Mw4aMNTZFysHH707QpX0D1u+guIfg1yN/ZuISP3SapIaYpjQc1UzvLXvijSFAy
QNacxL8r3GV11LNJYVsgELiYuDSUZxd+kY0Hsb5tUvfPybFP7AH4Q0jV3326cWYr
UvbQQCuwB5ILd5kGT2SBntzHmZNc90knHbDvFos5Nt0+bE+QANVWOWPfJXQwz30M
dgf4jp4dz/blMZPkpdxCyG/kNakmCx+U8W5EqzRQtGdAZeAbwaENdFWovXCet5IJ
g14cQF0lB5pfaDonlO6CT31+Ml2I/hURvYwhIWRkdVcYbRf+gqfCpw==
=AdEu
-----END PGP SIGNATURE-----

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [lm-sensors] lsensors3.conf for ASRock K7VT2
  2013-06-07 12:29 [lm-sensors] lsensors3.conf for ASRock K7VT2 Marcus Roeckrath
@ 2013-06-09 19:04 ` Jean Delvare
  2013-06-10  7:18 ` Jean Delvare
  1 sibling, 0 replies; 3+ messages in thread
From: Jean Delvare @ 2013-06-09 19:04 UTC (permalink / raw)
  To: lm-sensors

Hi Marcus,

On Fri, 7 Jun 2013 14:29:38 +0200, Marcus Roeckrath wrote:
> here is my sensors3.conf for ASRock K7VT2 Board, please add this to the 
> Motherboard Specific Configuration:
> 
> # Sample configuration for ASRock K7VT2
> 
> chip "w83697hf-*"
> set beep_enable 0

Why? We normally don't touch beep_enable in the configuration files we
put in the wiki.

> label in0 "VCore"
> label in2 "+3.3V"
> label in3 "+5V"
> label in4 "+12V"
> label in5 "-12V"
> label in6 "-5V"
> label in7 "V5SB"
> label in8 "VBat"
> compute in3 ((6.8/10)+1)*@ , @/((6.8/10)+1)
> compute in4 ((28/10)+1)*@ , @/((28/10)+1)
> #compute in5 (5.14 * @) - 14.91 , (@ + 14.91) / 5.14
> #compute in5 (3.14 * @) - 7.71 , (@ + 7.71) / 3.14
> compute in5 -((28/10)+1)*@ , -@/((28/10)+1)

If you are sure the last in5 formula is right, you should remove the
other two.

> compute in6 -((6.8/10)+1)*@ , -@/((6.8/10)+1)
> compute in7 ((6.8/10)+1)*@ , @/((6.8/10)+1)

How did you find / validate the compute formulas ?

> set in0_min 1.5 * 0.95
> set in0_max 1.65 * 1.05
> set in2_min 3.3 * 0.9
> set in2_max 3.3 * 1.1
> set in3_min 5 * 0.95
> set in3_max 5 * 1.05
> set in4_min 12 * 0.9
> set in4_max 12 * 1.1

The ATX specification says the positive voltage inputs should be within
a +/- 5% margin, not 10% as you used for +3.3V and +12V

> set in5_min -12 * 0.9
> set in5_max -12 * 1.1
> set in6_min -5 * 0.9
> set in6_max -5 * 1.1
> set in7_min 5 * 0.9
> set in7_max 5 * 1.1
> set in8_min 3.0 * 0.8
> set in8_max 3.0 * 1.2
> label temp1 "System Temp"
> label temp2 "CPU Temp"
> set temp1_max 50
> set temp1_max_hyst 45
> set temp2_max 52
> set temp2_max_hyst 47
> label fan1 "CPU Fan"
> ignore fan2

Does the board have a System Fan header? If it does then we don't want
this ignore statement in the configuration file that will go on the
wiki, we want a label statement instead.

> set fan1_div 4
> set fan1_min 2000

Preliminary configuration file at:
http://www.lm-sensors.org/wiki/Configurations/ASRock/K7VT2

Thanks for your contribution,
-- 
Jean Delvare

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [lm-sensors] lsensors3.conf for ASRock K7VT2
  2013-06-07 12:29 [lm-sensors] lsensors3.conf for ASRock K7VT2 Marcus Roeckrath
  2013-06-09 19:04 ` Jean Delvare
@ 2013-06-10  7:18 ` Jean Delvare
  1 sibling, 0 replies; 3+ messages in thread
From: Jean Delvare @ 2013-06-10  7:18 UTC (permalink / raw)
  To: lm-sensors

Hi Marcus,

Please keep the list in Cc.

On Sun, 9 Jun 2013 22:32:42 +0200, Marcus Roeckrath wrote:
> Hi Jean,
> 
> Am Sonntag, 9. Juni 2013 21:04 schrieb Jean Delvare:
> 
> Because I do not have an wiki account I added a new version of the 
> conf-file to this mail.
> 
> > > # Sample configuration for ASRock K7VT2
> > >
> > > chip "w83697hf-*"
> > > set beep_enable 0
> >
> > Why? We normally don't touch beep_enable in the configuration files we
> > put in the wiki.
> 
> Removed.
> 
> > > #compute in5 (5.14 * @) - 14.91 , (@ + 14.91) / 5.14
> > > #compute in5 (3.14 * @) - 7.71 , (@ + 7.71) / 3.14
> 
> Typo should be in6.

Indeed.

> > > compute in5 -((28/10)+1)*@ , -@/((28/10)+1)
> >
> > If you are sure the last in5 formula is right, you should remove the
> > other two.
> 
> I added these line because they are the original compute lines for the 
> w83697hf Chip from the sensors.conf.eg sample file in the 
> lm-sensor-source-archive.
> 
> But they did not work on my K7VT2 board; Using these lines for the negative 
> Voltages they are displayed around +1V. resp. +2 V.
> 
> Therefor I took the compute lines for the positive voltages for the 
> negative voltages also to get plausible values.

Yes, the sample configuration file uses the formula from the Winbond
W83697HF datasheet, but some board makers prefer to use inverters rather
than reference voltages. This could be the case on the K7VT2.

However the old MBM init file I have here has slightly different
scaling factors: 3.78 (instead of 3.8) for -12V, and 1.575 (instead of
1.68) for -5V. You may want to try these and see if you get values
closer from what the BIOS displays.

> > > compute in6 -((6.8/10)+1)*@ , -@/((6.8/10)+1)
> 
> I think a user of the K7VT2 sample configuration should be told that there 
> is a difference in the negative compute lines between the standard of the 
> w83697hf chip and its implementation on this board.
> 
> I have added a comment to the sample configuration to explain this.
> 
> > > compute in7 ((6.8/10)+1)*@ , @/((6.8/10)+1)
> >
> > How did you find / validate the compute formulas ?
> 
> in7 is from the sample configuration for the w83697hf.
> 
> For in6 see my comments above.
>
> > > set in0_min 1.5 * 0.95
> > > set in0_max 1.65 * 1.05
> > > set in2_min 3.3 * 0.9
> > > set in2_max 3.3 * 1.1
> > > set in3_min 5 * 0.95
> > > set in3_max 5 * 1.05
> > > set in4_min 12 * 0.9
> > > set in4_max 12 * 1.1
> >
> > The ATX specification says the positive voltage inputs should be within
> > a +/- 5% margin, not 10% as you used for +3.3V and +12V
> 
> Corrected.

in4_min was still wrong, I fixed it.

> > > ignore fan2
> >
> > Does the board have a System Fan header? If it does then we don't want
> > this ignore statement in the configuration file that will go on the
> > wiki, we want a label statement instead.
> 
> Corrected; the board has an chassis fan connector which isn't connected on 
> my system.

OK, thanks for checking. I've lowered fan2_min because it is frequent
to have low speed chassis fans.

> Thanks for publishing in the wiki.

Done, thanks for your contribution.

-- 
Jean Delvare

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-06-10  7:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-07 12:29 [lm-sensors] lsensors3.conf for ASRock K7VT2 Marcus Roeckrath
2013-06-09 19:04 ` Jean Delvare
2013-06-10  7:18 ` Jean Delvare

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.