[lm-sensors] Tyan S2466 and lm_sensors 3
Jean Delvare
khali at linux-fr.org
Wed Oct 20 22:56:45 CEST 2010
Hi David,
On Wed, 20 Oct 2010 13:31:33 -0700, David Mathog wrote:
> Updated a Tyan S2466 machine from Mandriva 2008.1 to 2010.0 and that
> took it to lm_sensors version 3 on kernel 2.6.31.13. Found a
> sensors.conf file on this site for version 3 and modified it slightly to
> match labels from the previous version (see below). Also deleted this
> line in /etc/modprobe.conf, apparently not needed with the new version:
>
> options w83781d force_w83782d=0,0x2d force_subclients=0,0x2d,0x4c,0x4d
> ignore=0,0x2c init=0
>
> left this line, perhaps that is a problem:
>
> alias char-major-89 i2c-dev
This one is essentially useless (but harmless) if your system uses udev.
> Rebooted. Sensors mostly works but there are two problems.
>
> 1. the cpu fan speed is low by a factor of 2 (or very close to two)
> 2. w83627hf-isa-0c00 temperatures do not work at all.
>
> I would like to resolve both of these issues.
>
> Tried putting in
>
> set fan1_div 2
> set fan2_div 2
>
> (the original div was 8 or 4, I don't recall which right now). After
> restarting lm_sensors twice the div in sensors output changed to 2, but
> the CPU fan RPMs are still half that seen in the BIOS monitor.
Please read this FAQ entry:
http://www.lm-sensors.org/wiki/FAQ/Chapter3#MyfansreportexactlyhalfdoubletheirvaluescomparedtotheBIOS
> Here is typical output on the 2010.0 system:
>
> w83627hf-isa-0c00
> Adapter: ISA adapter
> VCore1: +1.62 V (min = +1.57 V, max = +1.73 V)
> VCore2: +1.62 V (min = +1.57 V, max = +1.73 V)
> +3.3V: +3.38 V (min = +3.14 V, max = +3.47 V)
> +12V: +11.44 V (min = +13.21 V, max = +10.83 V) ALARM
> -12V: -12.20 V (min = -13.18 V, max = -10.80 V)
> CPU1 Fan: 0 RPM (min = 2657 RPM, div = 2) ALARM
> CPU0 Fan: 3292 RPM (min = 10546 RPM, div = 2) ALARM
> VRM1 Temp: +75.0°C (high = +2.0°C, hyst = +20.0°C) ALARM sensor =
> thermistor
> AGP Temp: +75.5°C (high = +80.0°C, hyst = +75.0°C) sensor = thermistor
> DDR Temp: +75.5°C (high = +80.0°C, hyst = +75.0°C) sensor = thermistor
> cpu0_vid: +1.650 V
> beep_enable:disabled
>
> w83782d-i2c-0-2d
> Adapter: SMBus AMD768 adapter at 80e0
> V AGP: +3.42 V (min = +3.14 V, max = +3.47 V)
> +5V: +4.92 V (min = +4.76 V, max = +5.24 V)
> V DDR: +1.23 V (min = +1.18 V, max = +1.44 V)
> +3.3 VSB: +3.33 V (min = +2.85 V, max = +3.15 V) ALARM
> Bat V: +3.15 V (min = +2.64 V, max = +3.95 V)
> Ch Fan 1: 0 RPM (min = 664 RPM, div = 8) ALARM
> Ch Fan 2: 4560 RPM (min = 664 RPM, div = 8)
> Ch Fan 3: 4500 RPM (min = 1328 RPM, div = 4)
> VRM 2 Temp: +29.0°C (high = +0.0°C, hyst = +0.0°C) ALARM sensor =
> transistor
> CPU1 Temp: +30.5°C (high = +80.0°C, hyst = +75.0°C) sensor = transistor
> CPU0 Temp: +31.0°C (high = +80.0°C, hyst = +75.0°C) sensor = transistor
> cpu0_vid: +0.000 V
> beep_enable:enabled
>
>
> and this is what is seen on an (identical hardware, except a slightly
> slower CPU fan) 2008.1 system:
>
> w83782d-i2c-0-2d
> Adapter: SMBus AMD768 adapter at 80e0
> VCore 1: +1.65 V (min = +0.00 V, max = +0.00 V) ALARM
> VCore 2: +1.65 V (min = +0.00 V, max = +0.00 V) ALARM
> V AGP: +3.41 V (min = +3.14 V, max = +3.47 V)
> +5V: +4.89 V (min = +4.76 V, max = +5.24 V)
> V DDR: +4.68 V (min = +4.50 V, max = +5.47 V)
> +3.3VSB: +3.31 V (min = +3.14 V, max = +3.47 V)
> Ch Fan 1: 0 RPM (min = 1585 RPM, div = 2) ALARM
> Ch Fan 2: 4283 RPM (min = 1585 RPM, div = 2)
> Ch Fan 3: 3050 RPM (min = 1585 RPM, div = 2)
> VRM 2: +27°C (high = +0°C, hyst = +32°C) sensor =
> transistor
> CPU1 Temp: +26.0°C (high = +80°C, hyst = +75°C) sensor =
> transistor
> CPU0 Temp: +27.5°C (high = +80°C, hyst = +75°C) sensor =
> transistor
> vid1: +0.000 V (VRM Version 9.0)
> alarms:
> beep_enable:
> Sound alarm enabled
>
> w83627hf-isa-0c00
> Adapter: ISA adapter
> VCore 1: +1.63 V (min = +1.57 V, max = +1.73 V)
> VCore 2: +1.63 V (min = +1.57 V, max = +1.73 V)
> +3.3V: +3.39 V (min = +3.14 V, max = +3.47 V)
> +12V: +11.52 V (min = +10.83 V, max = +13.21 V)
> -12V: -12.20 V (min = -13.18 V, max = -10.80 V)
> CPU1 Fan: 0 RPM (min = 7031 RPM, div = 2) ALARM
> CPU0 Fan: 4655 RPM (min = 3729 RPM, div = 2)
> Ch Fan 4: 0 RPM (min = 3214 RPM, div = 2) ALARM
> VRM 1: +31°C (high = +76°C, hyst = -125°C) sensor =
> transistor
> AGP: +31.0°C (high = +80°C, hyst = +75°C) sensor =
> transistor
> DDR: +28.0°C (high = +80°C, hyst = +75°C) sensor =
> transistor
Note how you have sensor type set to transistor here, as opposed to
thermistor on the other (non-working) system. You should uncomment the
set temp#_type statements in the chip "w83627hf-*" section of your
configuration file, and then run "sensors -s" to apply the change. Your
temperature readings should be back then.
> vid2: +1.650 V (VRM Version 9.0)
> alarms: Chassis intrusion detection ALARM
> beep_enable:
> Sound alarm enabled
>
>
> This is the sensors3.conf file on the 2010.0 system:
>
> # Sensors configuration file used by 'libsensors' for Tyan S2466-4M
> #
> # Edited by: kevin schlichter <kevins at tyan dot com> 05.16.03
> # Update 07.30.03:kevin schlichter: add vid support
> # Update 2009-Apr-01 Adam Thompson <athompso at athompso dot net>:
> radically
> # updated for lm_sensors 3.0.2 & Linux kernel 2.6.27 (aka Ubuntu 8.10)
> #
> # Note that in the 2.6 series of kernels, with lm_sensors 3.0.2, it is
> # no longer necessary to jump through force_subclient= and ignore_* hoops
> # when loading the w83782d module; its default behaviour is sufficient
> # to support itself correctly (and it finds the 3 subclients without any
> # additional prompting). This does NOT allow access to the other chip,
> # a W83627HF, over I2C, but this second chip is mapped into the ISA I/O
> # space anyway, and loading the "w83627hf" module without any options
> # locates it and accesses it perfectly fine. See also notes below about
> # the inadvisability of overusing the I2C bus on this motherboard anyway.
> # This has only been tested on MY board, which is the -4M variant, with
> # BIOS 4.06. Depending on your BIOS version, you may or may not want to
> # use the "init=0" module options INSTEAD OF setting various mins & maxes
> # below, particularly temperature-wise. YMMV.
> # -Adam Thompson, 2009-Apr-01
> #####
> #
> # Modified by Mathog to match older sensors.conf names 10/20/10.
> #
>
> # set min/max limits to 5% for the critical voltages
> # set min/max limits to 10% for the non-critical voltages
> # set min/max limits to 20% for the battery voltage
>
>
> chip "w83782d-*"
> ignore in0
> ignore in1
> label in2 "V AGP"
> set in2_min 3.3*0.95
> set in2_max 3.3*1.05
> label in3 "+5V"
> compute in3 ((6.8/10)+1)*@ , @/((6.8/10)+1)
> set in3_min 5.0*0.95
> set in3_max 5.0*1.05
> label in4 "V DDR"
> ignore in5
> ignore in7
> label in6 "+3.3 VSB"
> set in6_max 3.0*1.05
> set in6_min 3.0*0.95
> label in8 "Bat V"
> set in8_min 3.3*0.80
> set in8_max 3.3*1.20
> ignore vid
> label fan1 "Ch Fan 1"
> label fan2 "Ch Fan 2"
> label fan3 "Ch Fan 3"
> set fan1_min 3000
> set fan2_min 3000
> set fan3_min 3000
>
> label temp1 "VRM 2 Temp"
> label temp2 "CPU1 Temp"
> label temp3 "CPU0 Temp"
> # set temp1_type 2
> # set temp1_max 40
> # set temp1_max_hyst 60
> # set temp2_type 2
> # set temp2_max 70
> # set temp2_max_hyst 80
> # set temp3_type 2
> # set temp3_max 70
> # set temp3_max_hyst 80
>
> # lm_sensors ticket#1795 (http://www.lm-sensors.org/ticket/1795) also
> # strongly suggests using the ISA bus where possible to avoid overloading
> # the SMBus on Tyan motherboards.
> # Accessing this via ISA inb/outb also avoids the need altogether to use
> # force_subclient= options when loading the w83782d module.
>
> chip "w83627hf-*"
> label in0 "VCore1"
> set in0_min cpu0_vid*0.95
> set in0_max cpu0_vid*1.05
> label in1 "VCore2"
> set in1_min cpu0_vid*0.95
> set in1_max cpu0_vid*1.05
> label in2 "+3.3V"
> set in2_min 3.3*0.95
> set in2_max 3.3*1.05
> ignore in3
> label in4 "+12V"
> compute in4 ((3.8/1)+1)*@ , @/((3.8/1)+1)
> set in4_max 12*0.90
> set in4_min 12*1.10
> label in5 "-12V"
> compute in5 (5.14*@)-14.91 , (@+14.91)/5.14
> set in5_max -12*0.90
> set in5_min -12*1.10
> ignore in6
> ignore in7
> ignore in8
> ignore vid
> label temp1 "VRM1 Temp"
> label temp2 "AGP Temp"
> label temp3 "DDR Temp"
> label fan1 "CPU1 Fan"
> label fan2 "CPU0 Fan"
> ignore fan3
> # set temp1_type 2
> # set temp1_max 40
> # set temp1_max_hyst 37
> # set temp2_type 2
> # set temp2_max 52
> # set temp2_max_hyst 47
> # set temp3_type 2
> # set temp3_max 52
> # set temp3_max_hyst 47
> set beep_enable 0
>
>
> Thanks,
>
>
> David Mathog
> mathog at caltech.edu
> Manager, Sequence Analysis Facility, Biology Division, Caltech
>
> _______________________________________________
> lm-sensors mailing list
> lm-sensors at lm-sensors.org
> http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
--
Jean Delvare
More information about the lm-sensors
mailing list