All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] sensors.conf for Gigabyte B75-D3V
@ 2014-02-27 11:26 Dominik Egert
  2014-02-27 17:20 ` Jean Delvare
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Dominik Egert @ 2014-02-27 11:26 UTC (permalink / raw)
  To: lm-sensors

Hello,

 

after playing around for a day or so, i've come up with a new config file
for the Gigabyte B75-D3V Mainboard.

The chip in use is the it8728, and sensor input is differently wired to
other Gigabyte mainboards. 

 

I wasn't able to ignore the sensors from pkg-*

Also the acpitz-* dies not give reasonable values, they don't change at all.

 

BTW: It would be nice to have a Webpage/DB to contribute configurations
utilizing a webform.

 

Greetings

 

 

Here it is, with most reasonable values:

 

# libsensors configuration file

# -----------------------------

#

#  For the Gigabyte B75-D3V Rev: 1.2

#

#

#

 

                ######################################

                # VOLTAGES                           #

                # These figures are from estimations #

                # based on values provided in BIOS.  #

                # This means that some of them may   #

                # be mixed up.                       #

                ######################################

 

 

##############################################

chip "it8728-isa-0a30"

 

# Fans

 

                label      fan1                      "CPU-Fan"

                                               set
fan1_min 1000

                                               

                label      fan2                      "System Fan 1"

                                               set
fan2_min 450

                                               

                label      fan3                      "System Fan 2"

                                               set
fan3_min 450

 

                label      fan4                      "System Fan 3"

                                               set
fan4_min 450

 

                ignore   fan5                      #"Chassis Fan"

                                               set
fan5_min 450

 

 

# Temperatures

 

                label      temp1                  "CPU Chip Temperature"

                                               set
temp1_min 10

                                               set
temp1_max 60

                                               

                ignore   temp2                  #"Unknown"

                                               set
temp2_min 10

                                               set
temp2_max 60

 

                label      temp3                  "System Temperature"

                                               set
temp3_min 10

                                               set
temp3_max 55

 

 

# Voltages                                         

                               

                label      in1                         "+3.3V"

                                               set
in1_min 3.135

                                               set
in1_max 3.465

 
compute in1 1.635*@,@/1.635

 

                label      in3                         "+5V"

                                               set
in3_min 4.750

                                               set
in3_max 5.250

 
compute in3 2.5*@,@/2.5

 

                label      in2                         "+12V"

                                               set
in2_min 11.40

                                               set
in2_max 12.60

 
compute in2 6.0*@,@/6.0

 

                label      in7                                         "3.3
VSB"

                                               set
in7_min 3.15

                                               set
in7_max 3.45

 

                label      in4                         "Vaxg IGD"

                                               set
in4_min 0.80

                                               set
in4_max 1.00

 

                label      in5                                         "CPU
Vcore"

                                               set
in5_min 0.75

                                               set
in5_max 1.15

                

                label      in6                                         "Dram
Voltage"

                                               set
in6_min 1.45

                                               set
in6_max 1.55

 

                label      in0                         "Vtt"

                                               set
in0_min 1.02

                                               set
in0_max 1.08

 

                label      in8
"Vbat"

                                               set
in0_min 2.70

                                               set
in0_max 3.30

 

 

# Other sensor readings

                label      intrusion0           "Chassis Open"

 

 

 

 

 

##############################################

chip "coretemp-*"

 

                label      temp1                  "CPU Chip Temperature"

                label      temp2                  "CPU Core 1 Temperature"

                label      temp3                  "CPU Core 2 Temperature"

 

 

                                               

##############################################

chip "pkg-*"

 

                label      temp1                  "ACPI Thermal CPU"

 

 

##############################################

chip "acpitz-virtual-0"

 

                label      temp1                  "ACPI Thermal Zone 0
Temp1"

                label      temp2                  "ACPI Thermal Zone 0
Temp2"

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

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

* Re: [lm-sensors] sensors.conf for Gigabyte B75-D3V
  2014-02-27 11:26 [lm-sensors] sensors.conf for Gigabyte B75-D3V Dominik Egert
@ 2014-02-27 17:20 ` Jean Delvare
  2014-02-27 17:52 ` Guenter Roeck
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Jean Delvare @ 2014-02-27 17:20 UTC (permalink / raw)
  To: lm-sensors

Hello Dominik,

On Thu, 27 Feb 2014 12:26:46 +0100, Dominik Egert wrote:
> after playing around for a day or so, i've come up with a new config file
> for the Gigabyte B75-D3V Mainboard.
> 
> The chip in use is the it8728, and sensor input is differently wired to
> other Gigabyte mainboards. 
> 
>  
> 
> I wasn't able to ignore the sensors from pkg-*

First time I see this. I don't know which driver does this but this
looks pretty wrong, "pkg" is way too generic as a device name. This
should be fixed quickly.

> Also the acpitz-* dies not give reasonable values, they don't change at all.

Feel free to ignore them then.

> BTW: It would be nice to have a Webpage/DB to contribute configurations
> utilizing a webform.

The formatting in this e-mail is simply too bad for me to even look at
your configuration file. If you want it to be reviewed and go in the
wiki, please resend it in a way which does not destroy the formatting.

Thanks,
-- 
Jean Delvare
Suse L3 Support

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

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

* Re: [lm-sensors] sensors.conf for Gigabyte B75-D3V
  2014-02-27 11:26 [lm-sensors] sensors.conf for Gigabyte B75-D3V Dominik Egert
  2014-02-27 17:20 ` Jean Delvare
@ 2014-02-27 17:52 ` Guenter Roeck
  2014-02-27 19:55 ` Jean Delvare
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Guenter Roeck @ 2014-02-27 17:52 UTC (permalink / raw)
  To: lm-sensors

On Thu, Feb 27, 2014 at 06:20:54PM +0100, Jean Delvare wrote:
> Hello Dominik,
> 
> On Thu, 27 Feb 2014 12:26:46 +0100, Dominik Egert wrote:
> > after playing around for a day or so, i've come up with a new config file
> > for the Gigabyte B75-D3V Mainboard.
> > 
> > The chip in use is the it8728, and sensor input is differently wired to
> > other Gigabyte mainboards. 
> > 
> >  
> > 
> > I wasn't able to ignore the sensors from pkg-*
> 
> First time I see this. I don't know which driver does this but this
> looks pretty wrong, "pkg" is way too generic as a device name. This
> should be fixed quickly.
> 
Not sure, but it might come in through drivers/thermal/x86_pkg_temp_thermal.c.
It registers thermal zones named pkg-temp-<processor id>.

Guenter

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

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

* Re: [lm-sensors] sensors.conf for Gigabyte B75-D3V
  2014-02-27 11:26 [lm-sensors] sensors.conf for Gigabyte B75-D3V Dominik Egert
  2014-02-27 17:20 ` Jean Delvare
  2014-02-27 17:52 ` Guenter Roeck
@ 2014-02-27 19:55 ` Jean Delvare
  2014-02-27 21:36 ` Guenter Roeck
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Jean Delvare @ 2014-02-27 19:55 UTC (permalink / raw)
  To: lm-sensors

Hi Guenter,

On Thu, 27 Feb 2014 09:52:42 -0800, Guenter Roeck wrote:
> On Thu, Feb 27, 2014 at 06:20:54PM +0100, Jean Delvare wrote:
> > First time I see this. I don't know which driver does this but this
> > looks pretty wrong, "pkg" is way too generic as a device name. This
> > should be fixed quickly.
>
> Not sure, but it might come in through drivers/thermal/x86_pkg_temp_thermal.c.
> It registers thermal zones named pkg-temp-<processor id>.

A name with a dash, that's bad. What about catching (and rejecting)
these in hwmon_device_register_with_groups?

-- 
Jean Delvare
Suse L3 Support

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

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

* Re: [lm-sensors] sensors.conf for Gigabyte B75-D3V
  2014-02-27 11:26 [lm-sensors] sensors.conf for Gigabyte B75-D3V Dominik Egert
                   ` (2 preceding siblings ...)
  2014-02-27 19:55 ` Jean Delvare
@ 2014-02-27 21:36 ` Guenter Roeck
  2014-02-28 10:18 ` Dominik Egert
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Guenter Roeck @ 2014-02-27 21:36 UTC (permalink / raw)
  To: lm-sensors

On Thu, Feb 27, 2014 at 08:55:47PM +0100, Jean Delvare wrote:
> Hi Guenter,
> 
> On Thu, 27 Feb 2014 09:52:42 -0800, Guenter Roeck wrote:
> > On Thu, Feb 27, 2014 at 06:20:54PM +0100, Jean Delvare wrote:
> > > First time I see this. I don't know which driver does this but this
> > > looks pretty wrong, "pkg" is way too generic as a device name. This
> > > should be fixed quickly.
> >
> > Not sure, but it might come in through drivers/thermal/x86_pkg_temp_thermal.c.
> > It registers thermal zones named pkg-temp-<processor id>.
> 
> A name with a dash, that's bad. What about catching (and rejecting)
> these in hwmon_device_register_with_groups?
> 
They are calling hwmon_device_register(), so we don't see the name
and it would not help. The entire hwmon initialization sequence
from thermal is kind of upside down (hwmon device registration
and attribute handline is pretty much independent of each other),
so changing to the new API would be all but impossible.

Anyway, I think it is a good idea to add a validation to the new API.
I'll implement it and submit a patch when I find a few minutes.

Of course even that won't help much to prevent hyper-generic names
like the above from being introduced. pkg ? what pkg ?

Guenter

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

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

* Re: [lm-sensors] sensors.conf for Gigabyte B75-D3V
  2014-02-27 11:26 [lm-sensors] sensors.conf for Gigabyte B75-D3V Dominik Egert
                   ` (3 preceding siblings ...)
  2014-02-27 21:36 ` Guenter Roeck
@ 2014-02-28 10:18 ` Dominik Egert
  2014-03-03  8:10 ` Jean Delvare
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Dominik Egert @ 2014-02-28 10:18 UTC (permalink / raw)
  To: lm-sensors

> On Thu, Feb 27, 2014 at 08:55:47PM +0100, Jean Delvare wrote:
> > Hi Guenter,
> > 
> > On Thu, 27 Feb 2014 09:52:42 -0800, Guenter Roeck wrote:
> > > On Thu, Feb 27, 2014 at 06:20:54PM +0100, Jean Delvare wrote:
> > > > First time I see this. I don't know which driver does this but this
> > > > looks pretty wrong, "pkg" is way too generic as a device name. This
> > > > should be fixed quickly.
> > >
> > > Not sure, but it might come in through
drivers/thermal/x86_pkg_temp_thermal.c.
> > > It registers thermal zones named pkg-temp-<processor id>.
> > 
> > A name with a dash, that's bad. What about catching (and rejecting)
> > these in hwmon_device_register_with_groups?
> > 
> They are calling hwmon_device_register(), so we don't see the name
> and it would not help. The entire hwmon initialization sequence
> from thermal is kind of upside down (hwmon device registration
> and attribute handline is pretty much independent of each other),
> so changing to the new API would be all but impossible.
> 
> Anyway, I think it is a good idea to add a validation to the new API.
> I'll implement it and submit a patch when I find a few minutes.
> 
> Of course even that won't help much to prevent hyper-generic names
> like the above from being introduced. pkg ? what pkg ?


Hi everyone,

Maybe this helps your development process.

Sorry for the malformed configuration file. - I am really having trouble
with the configuration, as it seems. 
After checking back to the machine running this configuration, I noticed it
was beeping. - Unstoppable beeping every time I set the min/max values by
calling sensors -s

Could you give me a hint on what I am doing wrong, please.
(BTW: I recognized the in0_min and in0_max are not taken into account.)
Sensors -v: sensors version 3.3.2 with libsensors version 3.3.2 (on Debian,
from package)

Sorry for this long mail.

The config:
######################
# libsensors configuration file
# -----------------------------
#
#  For the Gigabyte B75-D3V Rev: 1.2
#
#
#


##############################################
chip "it8728-isa-0a30"

########
# Fans
label fan1 "CPU-Fan"
set fan1_min 1000

label fan2 "System Fan 1"
set fan2_min 450

ignore fan3 #"System Fan 2"
set fan3_min 450

label fan4 "System Fan 3"
set fan4_min 450

ignore fan5 #"Chassis Fan"

################
# Temperatures
label temp1 "CPU Chip Temperature"
set temp1_min 10
set temp1_max 60
set temp1_offset 55

ignore temp2 #"Unknown"

label temp3 "System Temperature"
set temp3_min 10
set temp3_max 55
set temp3_offset 50

############
# Voltages
label in0 "Vtt"
set in0_min 1.020
set in0_max 1.080

label in1 "+3.3V"
set in1_min 3.135
set in1_max 3.465
compute in1 1.635*@,@/1.635

label in2 "+12V"
set in2_min 11.400
set in2_max 12.600
compute in2 6.0*@,@/6.0

label in3 "+5V"
set in3_min 4.750
set in3_max 5.250
compute in3 2.5*@,@/2.5

label in4 "Vaxg IGD"
set in4_min 0.800
set in4_max 1.000

label in5 "CPU Vcore"
set in5_min 0.750
set in5_max 1.150

label in6 "Dram Voltage"
set in6_min 1.450
set in6_max 1.550

label in7 "3.3 VSB"
set in7_min 3.150
set in7_max 3.450

label in8 "Vbat"
set in0_min 2.700
set in0_max 3.300

# Other sensor readings
label intrusion0 "Chassis Open"
set intrusion0_alarm 0


##############################################
chip "coretemp-*"

label temp1 "CPU Chip Temperature"
label temp2 "CPU Core 1 Temperature"
label temp3 "CPU Core 2 Temperature"


##############################################
chip "pkg-*"

label temp1 "ACPI Thermal CPU"


##############################################
chip "acpitz-virtual-0"

label temp1 "ACPI Thermal Zone 0 Temp1"
label temp2 "ACPI Thermal Zone 0 Temp2"
######################


The Output of sensors, sensors -u, sensors -s, sensors -u
After sensors -s the beeping starts. - But why?
######################
coretemp-isa-0000
Adapter: ISA adapter
CPU Chip Temperature:    +38.0°C  (high = +85.0°C, crit = +105.0°C)
CPU Core 1 Temperature:  +38.0°C  (high = +85.0°C, crit = +105.0°C)
CPU Core 2 Temperature:  +36.0°C  (high = +85.0°C, crit = +105.0°C)

it8728-isa-0a30
Adapter: ISA adapter
Vtt:                   +1.07 V  (min =  +0.00 V, max =  +3.06 V)
+3.3V:                 +3.36 V  (min =  +0.00 V, max =  +5.00 V)
+12V:                 +11.95 V  (min =  +0.00 V, max = +18.36 V)
+5V:                   +5.07 V  (min =  +0.00 V, max =  +7.65 V)
Vaxg IGD:              +0.88 V  (min =  +0.00 V, max =  +3.06 V)
CPU Vcore:             +0.89 V  (min =  +0.00 V, max =  +3.06 V)
Dram Voltage:          +1.54 V  (min =  +0.00 V, max =  +3.06 V)
3.3 VSB:               +3.36 V  (min =  +0.00 V, max =  +6.12 V)
Vbat:                  +3.19 V
CPU-Fan:              2122 RPM  (min =    0 RPM)
System Fan 1:         1201 RPM  (min =    0 RPM)
System Fan 3:         1203 RPM  (min =    0 RPM)
CPU Chip Temperature:  +25.0°C  (low  = +127.0°C, high = +127.0°C)  sensor =
thermistor
System Temperature:    +29.0°C  (low  = +127.0°C, high = +127.0°C)  sensor =
Intel PECI
Chassis Open:         OK

acpitz-virtual-0
Adapter: Virtual device
ACPI Thermal Zone 0 Temp1:  +27.8°C  (crit = +106.0°C)
ACPI Thermal Zone 0 Temp2:  +29.8°C  (crit = +106.0°C)

pkg-temp-0-virtual-0
Adapter: Virtual device
temp1:        +37.0°C
######################

######################
coretemp-isa-0000
Adapter: ISA adapter
CPU Chip Temperature:
  temp1_input: 37.000
  temp1_max: 85.000
  temp1_crit: 105.000
  temp1_crit_alarm: 0.000
CPU Core 1 Temperature:
  temp2_input: 37.000
  temp2_max: 85.000
  temp2_crit: 105.000
  temp2_crit_alarm: 0.000
CPU Core 2 Temperature:
  temp3_input: 37.000
  temp3_max: 85.000
  temp3_crit: 105.000
  temp3_crit_alarm: 0.000

it8728-isa-0a30
Adapter: ISA adapter
Vtt:
  in0_input: 1.068
  in0_min: 0.000
  in0_max: 3.060
  in0_alarm: 0.000
  in0_beep: 0.000
+3.3V:
  in1_input: 3.355
  in1_min: 0.000
  in1_max: 5.003
  in1_alarm: 0.000
  in1_beep: 0.000
+12V:
  in2_input: 11.952
  in2_min: 0.000
  in2_max: 18.360
  in2_alarm: 0.000
  in2_beep: 0.000
+5V:
  in3_input: 5.070
  in3_min: 0.000
  in3_max: 7.650
  in3_alarm: 0.000
  in3_beep: 0.000
Vaxg IGD:
  in4_input: 0.876
  in4_min: 0.000
  in4_max: 3.060
  in4_alarm: 0.000
  in4_beep: 0.000
CPU Vcore:
  in5_input: 0.888
  in5_min: 0.000
  in5_max: 3.060
  in5_alarm: 0.000
  in5_beep: 0.000
Dram Voltage:
  in6_input: 1.536
  in6_min: 0.000
  in6_max: 3.060
  in6_alarm: 0.000
  in6_beep: 0.000
3.3 VSB:
  in7_input: 3.360
  in7_min: 0.000
  in7_max: 6.120
  in7_alarm: 0.000
  in7_beep: 0.000
Vbat:
  in8_input: 3.192
CPU-Fan:
  fan1_input: 2122.000
  fan1_min: 0.000
  fan1_alarm: 0.000
  fan1_beep: 1.000
System Fan 1:
  fan2_input: 1196.000
  fan2_min: 0.000
  fan2_alarm: 0.000
  fan2_beep: 1.000
System Fan 3:
  fan4_input: 1201.000
  fan4_min: 0.000
  fan4_alarm: 0.000
  fan4_beep: 1.000
CPU Chip Temperature:
  temp1_input: 25.000
  temp1_max: 127.000
  temp1_min: 127.000
  temp1_alarm: 0.000
  temp1_type: 4.000
  temp1_offset: 0.000
  temp1_beep: 1.000
System Temperature:
  temp3_input: 29.000
  temp3_max: 127.000
  temp3_min: 127.000
  temp3_alarm: 0.000
  temp3_type: 6.000
  temp3_offset: 97.000
  temp3_beep: 1.000
Chassis Open:
  intrusion0_alarm: 0.000

acpitz-virtual-0
Adapter: Virtual device
ACPI Thermal Zone 0 Temp1:
  temp1_input: 27.800
  temp1_crit: 106.000
ACPI Thermal Zone 0 Temp2:
  temp2_input: 29.800
  temp2_crit: 106.000

pkg-temp-0-virtual-0
Adapter: Virtual device
temp1:
  temp1_input: 37.000
######################

Here comes sensors -s (No output, but beeping starts....)

######################
coretemp-isa-0000
Adapter: ISA adapter
CPU Chip Temperature:
  temp1_input: 38.000
  temp1_max: 85.000
  temp1_crit: 105.000
  temp1_crit_alarm: 0.000
CPU Core 1 Temperature:
  temp2_input: 38.000
  temp2_max: 85.000
  temp2_crit: 105.000
  temp2_crit_alarm: 0.000
CPU Core 2 Temperature:
  temp3_input: 36.000
  temp3_max: 85.000
  temp3_crit: 105.000
  temp3_crit_alarm: 0.000

it8728-isa-0a30
Adapter: ISA adapter
Vtt:
  in0_input: 1.068
  in0_min: 2.700
  in0_max: 3.060
  in0_alarm: 0.000
  in0_beep: 0.000
+3.3V:
  in1_input: 3.355
  in1_min: 3.139
  in1_max: 3.473
  in1_alarm: 0.000
  in1_beep: 0.000
+12V:
  in2_input: 11.952
  in2_min: 11.376
  in2_max: 12.600
  in2_alarm: 0.000
  in2_beep: 0.000
+5V:
  in3_input: 5.070
  in3_min: 4.740
  in3_max: 5.250
  in3_alarm: 0.000
  in3_beep: 0.000
Vaxg IGD:
  in4_input: 0.876
  in4_min: 0.804
  in4_max: 0.996
  in4_alarm: 0.000
  in4_beep: 0.000
CPU Vcore:
  in5_input: 0.888
  in5_min: 0.756
  in5_max: 1.152
  in5_alarm: 0.000
  in5_beep: 0.000
Dram Voltage:
  in6_input: 1.536
  in6_min: 1.452
  in6_max: 1.548
  in6_alarm: 0.000
  in6_beep: 0.000
3.3 VSB:
  in7_input: 3.360
  in7_min: 3.144
  in7_max: 3.456
  in7_alarm: 0.000
  in7_beep: 0.000
Vbat:
  in8_input: 3.192
CPU-Fan:
  fan1_input: 2122.000
  fan1_min: 1000.000
  fan1_alarm: 0.000
  fan1_beep: 1.000
System Fan 1:
  fan2_input: 1207.000
  fan2_min: 450.000
  fan2_alarm: 0.000
  fan2_beep: 1.000
System Fan 3:
  fan4_input: 1203.000
  fan4_min: 450.000
  fan4_alarm: 0.000
  fan4_beep: 1.000
CPU Chip Temperature:
  temp1_input: 25.000
  temp1_max: 60.000
  temp1_min: 10.000
  temp1_alarm: 0.000
  temp1_type: 4.000
  temp1_offset: 55.000
  temp1_beep: 0.000
System Temperature:
  temp3_input: -18.000
  temp3_max: 55.000
  temp3_min: 10.000
  temp3_alarm: 0.000
  temp3_type: 6.000
  temp3_offset: 50.000
  temp3_beep: 0.000
Chassis Open:
  intrusion0_alarm: 0.000

acpitz-virtual-0
Adapter: Virtual device
ACPI Thermal Zone 0 Temp1:
  temp1_input: 27.800
  temp1_crit: 106.000
ACPI Thermal Zone 0 Temp2:
  temp2_input: 29.800
  temp2_crit: 106.000

pkg-temp-0-virtual-0
Adapter: Virtual device
temp1:
  temp1_input: 37.000
######################

Originally I just wanted to share this config for other users, but it seems
quite hard to get it running correctly.

Greetings
Dominik



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

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

* Re: [lm-sensors] sensors.conf for Gigabyte B75-D3V
  2014-02-27 11:26 [lm-sensors] sensors.conf for Gigabyte B75-D3V Dominik Egert
                   ` (4 preceding siblings ...)
  2014-02-28 10:18 ` Dominik Egert
@ 2014-03-03  8:10 ` Jean Delvare
  2014-03-05  8:55 ` Dominik Egert
  2014-03-05 14:09 ` Jean Delvare
  7 siblings, 0 replies; 9+ messages in thread
From: Jean Delvare @ 2014-03-03  8:10 UTC (permalink / raw)
  To: lm-sensors

Hi Dominik,

On Fri, 28 Feb 2014 11:18:46 +0100, Dominik Egert wrote:
> Sorry for the malformed configuration file. - I am really having trouble
> with the configuration, as it seems. 
> After checking back to the machine running this configuration, I noticed it
> was beeping. - Unstoppable beeping every time I set the min/max values by
> calling sensors -s
> 
> Could you give me a hint on what I am doing wrong, please.
> (BTW: I recognized the in0_min and in0_max are not taken into account.)

Bug in your config file, see below. Possibly responsible for the
beeping BTW.

> Sensors -v: sensors version 3.3.2 with libsensors version 3.3.2 (on Debian,
> from package)
> 
> Sorry for this long mail.
> 
> The config:
> ######################
> # libsensors configuration file
> # -----------------------------
> #
> #  For the Gigabyte B75-D3V Rev: 1.2
> #
> #
> #
> 
> 
> ##############################################
> chip "it8728-isa-0a30"
> 
> ########
> # Fans
> label fan1 "CPU-Fan"
> set fan1_min 1000
> 
> label fan2 "System Fan 1"
> set fan2_min 450
> 
> ignore fan3 #"System Fan 2"
> set fan3_min 450

You shouldn't set a minimum for a fan you ignore. If it triggers an
alarm, you won't see it.

> 
> label fan4 "System Fan 3"
> set fan4_min 450
> 
> ignore fan5 #"Chassis Fan"
> 
> ################
> # Temperatures
> label temp1 "CPU Chip Temperature"
> set temp1_min 10
> set temp1_max 60
> set temp1_offset 55

This offset looks plain wrong.

> 
> ignore temp2 #"Unknown"

What value did it display?

> label temp3 "System Temperature"

PECI sensors are typically for the CPU or the PCH chipset, so I very
much doubt this can be the (ambient) system temperature.

> set temp3_min 10
> set temp3_max 55
> set temp3_offset 50

PECI offsets should be set by the BIOS, you shouldn't have to do that.

> 
> ############
> # Voltages

I am curious how you found the mappings and scaling factors?

> label in0 "Vtt"
> set in0_min 1.020
> set in0_max 1.080
> 
> label in1 "+3.3V"
> set in1_min 3.135
> set in1_max 3.465
> compute in1 1.635*@,@/1.635
> 
> label in2 "+12V"
> set in2_min 11.400
> set in2_max 12.600
> compute in2 6.0*@,@/6.0
> 
> label in3 "+5V"
> set in3_min 4.750
> set in3_max 5.250
> compute in3 2.5*@,@/2.5
> 
> label in4 "Vaxg IGD"
> set in4_min 0.800
> set in4_max 1.000
> 
> label in5 "CPU Vcore"
> set in5_min 0.750
> set in5_max 1.150
> 
> label in6 "Dram Voltage"
> set in6_min 1.450
> set in6_max 1.550
> 
> label in7 "3.3 VSB"
> set in7_min 3.150
> set in7_max 3.450

These limits should not be stricter than the ones of +3.3V. They should
be the same.

> 
> label in8 "Vbat"
> set in0_min 2.700
> set in0_max 3.300

You really mean in8_min and and in8_max here!

> 
> # Other sensor readings
> label intrusion0 "Chassis Open"
> set intrusion0_alarm 0
> 
> 
> ##############################################
> chip "coretemp-*"
> 
> label temp1 "CPU Chip Temperature"

Technically this is the "CPU Package Temperature".

> label temp2 "CPU Core 1 Temperature"
> label temp3 "CPU Core 2 Temperature"
> 
> 
> ##############################################
> chip "pkg-*"
> 
> label temp1 "ACPI Thermal CPU"
> 
> 

This value has nothing to do with ACPI, so the label is wrong. You
might as well drop this section anyway, as this driver will soon stop
instantiating a hwmon device.

> ##############################################
> chip "acpitz-virtual-0"
> 
> label temp1 "ACPI Thermal Zone 0 Temp1"
> label temp2 "ACPI Thermal Zone 0 Temp2"
> ######################
> 
> 
> The Output of sensors, sensors -u, sensors -s, sensors -u
> After sensors -s the beeping starts. - But why?

Either because of the wrong in0 limits, or because of the odd
temperature offsets, or because of the unmet fan3_min (can't tell as
long as it is ignored in the configuration file - remove the ignore
statement for diagnostics.)

-- 
Jean Delvare
http://jdelvare.nerim.net/wishlist.html

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

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

* Re: [lm-sensors] sensors.conf for Gigabyte B75-D3V
  2014-02-27 11:26 [lm-sensors] sensors.conf for Gigabyte B75-D3V Dominik Egert
                   ` (5 preceding siblings ...)
  2014-03-03  8:10 ` Jean Delvare
@ 2014-03-05  8:55 ` Dominik Egert
  2014-03-05 14:09 ` Jean Delvare
  7 siblings, 0 replies; 9+ messages in thread
From: Dominik Egert @ 2014-03-05  8:55 UTC (permalink / raw)
  To: lm-sensors

[-- Attachment #1: Type: text/plain, Size: 5304 bytes --]

Hello,

i've corrected the errors and the beeping stopped. - Thank you for helping
me out. 
Also I answered your questions. - See below.
And I somehow mixed up the temps. - Should be correct now.

I've attached the new config file.

Greetings.


> Hi Dominik,
> 
> On Fri, 28 Feb 2014 11:18:46 +0100, Dominik Egert wrote:
> > Sorry for the malformed configuration file. - I am really having
> > trouble with the configuration, as it seems.
> > After checking back to the machine running this configuration, I
> > noticed it was beeping. - Unstoppable beeping every time I set the
> > min/max values by calling sensors -s
> >
> > Could you give me a hint on what I am doing wrong, please.
> > (BTW: I recognized the in0_min and in0_max are not taken into
> > account.)
> 
> Bug in your config file, see below. Possibly responsible for the beeping
BTW.
> 
> > Sensors -v: sensors version 3.3.2 with libsensors version 3.3.2 (on
> > Debian, from package)
> >
> > Sorry for this long mail.
> >
> > The config:
> > ######################
> > # libsensors configuration file
> > # -----------------------------
> > #
> > #  For the Gigabyte B75-D3V Rev: 1.2
> > #
> > #
> > #
> >
> >
> > ##############################################
> > chip "it8728-isa-0a30"
> >
> > ########
> > # Fans
> > label fan1 "CPU-Fan"
> > set fan1_min 1000
> >
> > label fan2 "System Fan 1"
> > set fan2_min 450
> >
> > ignore fan3 #"System Fan 2"
> > set fan3_min 450
> 
> You shouldn't set a minimum for a fan you ignore. If it triggers an alarm,
you
> won't see it.

Removed and corrected.

> 
> >
> > label fan4 "System Fan 3"
> > set fan4_min 450
> >
> > ignore fan5 #"Chassis Fan"
> >
> > ################
> > # Temperatures
> > label temp1 "CPU Chip Temperature"
> > set temp1_min 10
> > set temp1_max 60
> > set temp1_offset 55
> 
> This offset looks plain wrong.
> 

Removed and corrected.

> >
> > ignore temp2 #"Unknown"
> 
> What value did it display?

It always shows 25. - No matter if room-temp is at 5 or at 30. 
I guess this is no sensible reading.

> 
> > label temp3 "System Temperature"
> 
> PECI sensors are typically for the CPU or the PCH chipset, so I very much
> doubt this can be the (ambient) system temperature.

Ok. - Maybe this is the Chipset-Temp. - It's close to the ambient temp I
measured with an external thermometer.
That's why I thought it could be the ambient temp.
After investigating, I mixed them up. - see new config file.

> 
> > set temp3_min 10
> > set temp3_max 55
> > set temp3_offset 50
> 
> PECI offsets should be set by the BIOS, you shouldn't have to do that.
> 

Removed and corrected.

> >
> > ############
> > # Voltages
> 
> I am curious how you found the mappings and scaling factors?
> 

It seems the typical scaling factors for it87xx-chips on gigabyte-boards.
At least that's what I found on the net.
So I gave it a shot and tested the calculators on different inputs until I
got sensible readings.
Then I took my multimeter and checked if the values matched or were close to
the calculated values.

> > label in0 "Vtt"
> > set in0_min 1.020
> > set in0_max 1.080
> >
> > label in1 "+3.3V"
> > set in1_min 3.135
> > set in1_max 3.465
> > compute in1 1.635*@,@/1.635
> >
> > label in2 "+12V"
> > set in2_min 11.400
> > set in2_max 12.600
> > compute in2 6.0*@,@/6.0
> >
> > label in3 "+5V"
> > set in3_min 4.750
> > set in3_max 5.250
> > compute in3 2.5*@,@/2.5
> >
> > label in4 "Vaxg IGD"
> > set in4_min 0.800
> > set in4_max 1.000
> >
> > label in5 "CPU Vcore"
> > set in5_min 0.750
> > set in5_max 1.150
> >
> > label in6 "Dram Voltage"
> > set in6_min 1.450
> > set in6_max 1.550
> >
> > label in7 "3.3 VSB"
> > set in7_min 3.150
> > set in7_max 3.450
> 
> These limits should not be stricter than the ones of +3.3V. They should be
> the same.

Corrected.
> 
> >
> > label in8 "Vbat"
> > set in0_min 2.700
> > set in0_max 3.300
> 
> You really mean in8_min and and in8_max here!
> 

Yes, correct. - Thank you. I did not see this.
Corrected.

> >
> > # Other sensor readings
> > label intrusion0 "Chassis Open"
> > set intrusion0_alarm 0
> >
> >
> > ##############################################
> > chip "coretemp-*"
> >
> > label temp1 "CPU Chip Temperature"
> 
> Technically this is the "CPU Package Temperature".

Renamed, thank you.

> 
> > label temp2 "CPU Core 1 Temperature"
> > label temp3 "CPU Core 2 Temperature"
> >
> >
> > ##############################################
> > chip "pkg-*"
> >
> > label temp1 "ACPI Thermal CPU"
> >
> >
> 
> This value has nothing to do with ACPI, so the label is wrong. You might
as
> well drop this section anyway, as this driver will soon stop instantiating
a
> hwmon device.

OK. - corrected.

> 
> > ##############################################
> > chip "acpitz-virtual-0"
> >
> > label temp1 "ACPI Thermal Zone 0 Temp1"
> > label temp2 "ACPI Thermal Zone 0 Temp2"
> > ######################
> >
> >
> > The Output of sensors, sensors -u, sensors -s, sensors -u After
> > sensors -s the beeping starts. - But why?
> 
> Either because of the wrong in0 limits, or because of the odd temperature
> offsets, or because of the unmet fan3_min (can't tell as long as it is
ignored in
> the configuration file - remove the ignore statement for diagnostics.)
> 
> --
> Jean Delvare
> http://jdelvare.nerim.net/wishlist.html

[-- Attachment #2: GB-B75-D3V.conf --]
[-- Type: application/octet-stream, Size: 2298 bytes --]

# libsensors configuration file
# -----------------------------
#
#  For the Gigabyte B75-D3V Rev: 1.2
#
#
#

	######################################
	# VOLTAGES                           #
	# These figures are from estimations #
	# based on values provided in BIOS.  #
	# This means that some of them may   #
	# be mixed up.                       #
	######################################


##############################################
chip "it8728-isa-0a30"

########
# Fans
label fan1 "CPU-Fan"
set fan1_min 1000

label fan2 "System Fan 1"
set fan2_min 450

label fan3 "System Fan 2"
set fan3_min 450

label fan4 "System Fan 3"
set fan4_min 450

ignore fan5 #"Chassis Fan" # It is not connected, no pinout available.


################
# Temperatures
label temp1 "System Temperature"
set temp1_min 10
set temp1_max 60

ignore temp2 
#label temp2 "Unknown" # Does not seem to give sensible data (Always shows 25)

label temp3 "Chipset Temperature"
set temp3_min 10
set temp3_max 55


############
# Voltages
label in0 "Vtt"
set in0_min 1.020
set in0_max 1.080

label in1 "+3.3V"
set in1_min 3.3 * 0.95
set in1_max 3.3 * 1.05
compute in1 1.635*@,@/1.635

label in2 "+12V"
set in2_min 12.0 * 0.95
set in2_max 12.0 * 1.05
compute in2 6.0*@,@/6.0

label in3 "+5V"
set in3_min 5.0 * 0.95
set in3_max 5.0 * 1.05
compute in3 2.5*@,@/2.5

label in4 "Vaxg IGD"
set in4_min 0.800
set in4_max 1.000

label in5 "CPU Vcore"
set in5_min 0.750
set in5_max 1.150

label in6 "Dram Voltage"
set in6_min 1.450
set in6_max 1.550

label in7 "3.3 VSB"
set in7_min 3.3 * 0.95
set in7_max 3.3 * 1.05

label in8 "Vbat"

# Other sensor readings
label intrusion0 "Chassis Open"
#set intrusion0_alarm 0


##############################################
chip "coretemp-*"

label temp1 "CPU Package Temperature"
label temp2 "CPU Core 1 Temperature"
label temp3 "CPU Core 2 Temperature"


##############################################
chip "pkg-*"

# This does not work.
ignore temp1


##############################################
chip "acpitz-virtual-0"

ignore temp1
#label temp1 "ACPI Thermal Zone 0 Temp1" # Shows always 27.8

ignore temp2
#label temp2 "ACPI Thermal Zone 0 Temp2" # Shows always 29.8

[-- Attachment #3: Type: text/plain, Size: 153 bytes --]

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

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

* Re: [lm-sensors] sensors.conf for Gigabyte B75-D3V
  2014-02-27 11:26 [lm-sensors] sensors.conf for Gigabyte B75-D3V Dominik Egert
                   ` (6 preceding siblings ...)
  2014-03-05  8:55 ` Dominik Egert
@ 2014-03-05 14:09 ` Jean Delvare
  7 siblings, 0 replies; 9+ messages in thread
From: Jean Delvare @ 2014-03-05 14:09 UTC (permalink / raw)
  To: lm-sensors

Hi Dominik,

On Wed, 5 Mar 2014 09:55:43 +0100, Dominik Egert wrote:
> Hello,
> 
> i've corrected the errors and the beeping stopped. - Thank you for helping
> me out. 
> Also I answered your questions. - See below.
> And I somehow mixed up the temps. - Should be correct now.
> 
> I've attached the new config file.

I've added it to the wiki as:
http://www.lm-sensors.org/wiki/Configurations/Gigabyte/B75-D3V
Thanks for your contribution.

I only dropped the coretemp section (because the driver already
provides sensible labels) and pkg section (because the driver will be
removed upstream.)

> (...)
> It always shows 25. - No matter if room-temp is at 5 or at 30. 
> I guess this is no sensible reading.

FWIW 25°C is the typical neutral point of thermistor based
measurements. So it can simply mean that the input is unused.

> > > (...)
> > > ############
> > > # Voltages
> > 
> > I am curious how you found the mappings and scaling factors?
> 
> It seems the typical scaling factors for it87xx-chips on gigabyte-boards.
> At least that's what I found on the net.
> So I gave it a shot and tested the calculators on different inputs until I
> got sensible readings.
> Then I took my multimeter and checked if the values matched or were close to
> the calculated values.

You could try starting from scratch with my guide:
http://www.lm-sensors.org/wiki/VoltageLabelsAndScaling
And see if you come up with the same results.

-- 
Jean Delvare
http://jdelvare.nerim.net/wishlist.html

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

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

end of thread, other threads:[~2014-03-05 14:09 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-27 11:26 [lm-sensors] sensors.conf for Gigabyte B75-D3V Dominik Egert
2014-02-27 17:20 ` Jean Delvare
2014-02-27 17:52 ` Guenter Roeck
2014-02-27 19:55 ` Jean Delvare
2014-02-27 21:36 ` Guenter Roeck
2014-02-28 10:18 ` Dominik Egert
2014-03-03  8:10 ` Jean Delvare
2014-03-05  8:55 ` Dominik Egert
2014-03-05 14:09 ` 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.