id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2111	No fan control on Tyan s2865/S2864	muranyia@…	ruik	"Sensors are detected and working, pwmconfig run (with some help), but fancontrol gives error and does not work on my Sun Ultra 20 Workstation. Main board is Tyan Tomcat K8e, S2865 (this Sun version is called S2864). Its told this board has a DME1737 chip.
OS is FC5, kernel 2.17, with NVidia kernel module.

pwmconfig is able to control the fans (the one PWM-capable I have), however it gives the same Access Denied messages meanwhile that fancontrol does.

Thanks In Advance!

-- begin fancontrol output --
Loading configuration from /etc/fancontrol ...

Common settings:
  INTERVAL=10

Settings for 0-002e/pwm3:
  Depends on 0-002e/temp1_input
  Controls 0-002e/fan3_input
  MINTEMP=33
  MAXTEMP=55
  MINSTART=25
  MINSTOP=25

Enabling PWM on fans...
/usr/sbin/fancontrol: line 142: 0-002e/pwm3_enable: Permission denied
Error enabling PWM on /sys/bus/i2c/devices/0-002e/pwm3
Aborting, restoring fans...
/usr/sbin/fancontrol: line 127: 0-002e/pwm3_enable: Permission denied
Verify fans have returned to full speed
-- end fancontrol output --
-- begin sensors-detect output --
emc6d100-i2c-0-2e
Adapter: SMBus nForce2 adapter at 1c00

Dimm Volt:  +2.60 V  (min =  +0.00 V, max =  +6.64 V)
CPU Volt:   +1.22 V  (min =  +0.00 V, max =  +2.99 V)
+3.3V:      +3.35 V  (min =  +0.00 V, max =  +4.38 V)
+5V:       +5.00 V  (min =  +0.00 V, max =  +6.64 V)
+12V:     +12.12 V  (min =  +0.00 V, max = +15.94 V)
ERROR: Can't get IN5 data!
ERROR: Can't get IN6 data!
ERROR: Can't get IN7 data!
CPU Fan:   2588 RPM  (min =    0 RPM)
Fan3:         0 RPM  (min =    0 RPM)
Rear Case Fan:
           2971 RPM  (min =    0 RPM)
Front Case Fan:
           1000 RPM  (min =    0 RPM)
CPU Temp:    +26°C  (low  =  -127°C, high =  +127°C)
temp2:       +29°C  (low  =  -127°C, high =  +127°C)
System Temp:
             +27°C  (low  =  -127°C, high =  +127°C)
vid:      +1.550 V  (VRM Version 2.4)
-- end sensors-detect output --
-- begin modules.conf --
alias char-major-89 i2c-dev
-- end modules.conf --
-- begin rc.local --
modprobe i2c-nforce2
modprobe lm85 force_emc6d100=0,0x2e
modprobe eeprom
sensors -s
-- end rc.local --
-- begin sensors.conf --
chip ""lm85c-*"" ""adm1027-*"" ""adt7463-*"" ""lm85-*"" ""lm85b-*""

   set temp1_max 50

# Voltage inputs
   label in0   ""V1.5""      # AGP on Intel S845WD1-E
   label in1   ""VCore""
   label in2   ""V3.3""
   label in3   ""V5""
   label in4   ""V12""

# Temperature inputs
   label temp1  ""CPU""
   label temp2  ""Board""
   label temp3  ""Remote""

# Fan inputs
   label fan1   ""CPU_Fan""
#   label fan2   ""Fan2""
#   label fan3   ""Fan3""
#   label fan4   ""Fan4""

# PWM Outputs
   label pwm1   ""CPU_PWM""
   label pwm2   ""Fan2_PWM""
   label pwm3   ""Fan3_PWM""

# Voltage scaling is done on-chip.  No 'compute' directive
# should be necessary.  If in0 has external scaling set
# it here.

#   compute in0  @ * 2.5,   @ / 2.5

# Adjust fans speeds for actual pulses per rev
#   compute fan1  @ * 2,  @ / 2    # 1 pulse per rev
#   set fan1_ppr  1                # ADM1027 or ADT7463
#   compute fan2  @ / 2,  @ * 2    # 4 pulse per rev
#   set fan2_ppr  4                # ADM1027 or ADT7463

# Ignore fans you (or your motherboard) don't have
#   ignore fan2
#   ignore fan3
#   ignore fan4

# Set VRM version
# adjust this if your vid is wrong; see doc/vid
#   set vrm  9.1   # Pentium 4

# Set voltage limits
   set in0_min  1.5 * 0.95
   set in0_max  1.5 * 1.05
   set in1_min  vid * 0.95
   set in1_max  vid * 1.05
   set in2_min  3.3 * 0.95
   set in2_max  3.3 * 1.05
   set in3_min  5.0 * 0.95
   set in3_max  5.0 * 1.05
   set in4_min   12 * 0.95
   set in4_max   12 * 1.05

# Set Fan limits
   set fan1_min 4000

# Set Temp Limits
   set temp1_min 10
   set temp1_max 50
   set temp2_min 10
   set temp2_max 35
   set temp3_min 10
   set temp3_max 35


chip ""emc6d100-*""

    ignore pwm1
    ignore pwm2
    ignore pwm3
    ignore in5
    ignore in6
    ignore in7
#   ignore temp2

    label in0 ""Dimm Volt""
    label in1 ""CPU Volt""
    label in2 ""+3.3V""
    label in3 ""+5V""
    label in4 ""+12V""

    label fan1 ""CPU Fan""
    label fan2 ""Fan3""
    label fan4 ""Front Case Fan""
    label fan3 ""Rear Case Fan""

    label temp1 ""CPU Temp""
    label temp3 ""System Temp""

    set temp1_max 55

    compute in0 2*@, @/2

    set in0_min  2.6 * 0.95
    set in0_max  2.6 * 1.05
    set in1_min  1.35 * 0.95
    set in1_max  1.35 * 1.05
    set in2_min  3.3 * 0.95
    set in2_max  3.3 * 1.05
    set in3_min  5.0 * 0.95
    set in3_max  5.0 * 1.05
    set in4_min  12.0 * 0.95
    set in4_max  12.0 * 1.05

    set vrm  9.1
-- end sensors.conf --
"	defect	closed	major		hardware	2.10.0	fixed		
