On Thu, 2011-02-10 at 13:37 -0500, Ian Dobson wrote: [ ... ] > Hi Guenter, > > Are you sure the smartfan readout of pwm_* parameters actually works > correctly on nct6776f chips? > Not really. > root@alpha2:/sys/devices/platform/w83627ehf.656# cat pwm1_enable > 5 > root@alpha2:/sys/devices/platform/w83627ehf.656# cat pwm1 > 193 > root@alpha2:/sys/devices/platform/w83627ehf.656# cat pwm1_mode > 1 > root@alpha2:/sys/devices/platform/w83627ehf.656# cat pwm1_target > 0 > root@alpha2:/sys/devices/platform/w83627ehf.656# cat pwm1_tolerance > 0 > root@alpha2:/sys/devices/platform/w83627ehf.656# cat pwm1_start_output > 1 > root@alpha2:/sys/devices/platform/w83627ehf.656# cat pwm1_step_output > 255 > root@alpha2:/sys/devices/platform/w83627ehf.656# cat pwm1_stop_output > 1 > > It looks as if pwm1 is in smartfan mode but the remaining parameters look > totally wrong. Maybe there's parameters are only valid in thermal cruise > mode. I'll study the code at the weekend and maybe playing with my test box. > Keep in mind that SmartFan IV isn't fully supported, ie it is not possible to set any SmartFan IV specific registers. So question is what we would want to do if the system is configured for SmartFan IV mode. Right now the code just reports that SmartFan IV is configured; the other registers don't really mean anything in that mode. An option might be to make the other attributes read-only if SmartFan IV is configured. And maybe I should add some text to the documentation explaining this in more detail. We could of course add full SmartFan IV support, but that goes a bit beyond the time I have available, and I would not want to hold nct677X chip support hostage for it. Input is welcome ... Thanks, Guenter _______________________________________________ lm-sensors mailing list lm-sensors@xxxxxxxxxxxxxx http://lists.lm-sensors.org/mailman/listinfo/lm-sensors