All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] Tyan S2466 update for kernel 2.6.27 / lm_sensors 3.0.2
@ 2009-04-02  4:17 Adam Thompson
  2009-04-06 17:01 ` [lm-sensors] Tyan S2466 update for kernel 2.6.27 / lm_sensors Mark Nienberg
  0 siblings, 1 reply; 2+ messages in thread
From: Adam Thompson @ 2009-04-02  4:17 UTC (permalink / raw)
  To: lm-sensors


[-- Attachment #1.1: Type: text/plain, Size: 1538 bytes --]

The configuration information for a Tyan Tiger MPX S2466-4M motherboard
provided at http://www.tyan.com/archive/support/html/software_utilities.html(direct
link:
ftp://ftp.tyan.com/software/lms/lms_s2466.tgz) does *not* function with
lm_sensors 3.x.
As far as I can tell, the instructions provided cannot have worked at any
point since somewhere late in the 2.x series, notably because the two sensor
chips are now supported by two different modules.

As of Ubuntu 8.10 (lm_sensors 3.0.2, linux kernel 2.6.27) the optimal
configuration for this motherboard with BIOS 4.06 appears to be to load the
two modules in question (w83781d & w83627hf) with the "init=0" module option
and allow the pre-programmed limits to propagate from the BIOS.  Obviously
if anyone has any idea what the various temperature max & hysterisys values
actually should be, they can be programmed into /etc/sensors.conf instead.
I haven't been able to detect any other difference between using "init=1"
and "init=0".

Contrary to Tyan's supplied instructions & config file, no module parameters
at all are required on my system - and presumably this would apply to any
2.6.x kernel, but I'm not about to test that exhaustively.

See attached sensors.conf for a version that actually works (reasonably)
well on my S2466-4M.

(Would some kind soul please create a new ticket in the lm_sensors TRAC
system so the next sucker with one of these doesn't spend an entire evening
figuring this out from scratch again?  Thanks...)

-- 
-Adam Thompson
<athompso@athompso.net>

[-- Attachment #1.2: Type: text/html, Size: 1846 bytes --]

[-- Attachment #2: sensors.conf --]
[-- Type: application/octet-stream, Size: 3771 bytes --]

#####
#    Sensors configuration file used by 'libsensors' for Tyan S2466-4M
#
# Edited by: kevin schlichter <kevins@tyan.com> 05.16.03
# Update 07.30.03:kevin schlichter: add vid support
# Update 2009-Apr-01 Adam Thompson <athompso@athompso.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
#####

# 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 "AGP V"
    set     in2_min 3.3*0.95
    set     in2_max 3.3*1.05
    label   in3 " +5 V"
    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 "DDR V"
    ignore  in5
    ignore  in7
    label   in6 "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 "Chassis Fan 2"
    label   fan2 "Chassis Fan 1"
    label   fan3 "PSU Fan"
    label   temp1 "VRM2 Temp"
    label   temp2 "CPU1 Temp"
    label   temp3 "CPU2 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.3 V"
    set     in2_min 3.3*0.95
    set     in2_max 3.3*1.05
    ignore  in3
    label   in4 " +12 V"
    compute in4 ((3.8/1)+1)*@ , @/((3.8/1)+1)
    set     in4_max 12*0.90
    set     in4_min 12*1.10
    label   in5 " -12 V"
    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 "CPU2 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


[-- 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] 2+ messages in thread

end of thread, other threads:[~2009-04-06 17:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-02  4:17 [lm-sensors] Tyan S2466 update for kernel 2.6.27 / lm_sensors 3.0.2 Adam Thompson
2009-04-06 17:01 ` [lm-sensors] Tyan S2466 update for kernel 2.6.27 / lm_sensors Mark Nienberg

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.