* w83627hf driver
@ 2005-05-19 6:24 Philip Edelbrock
2005-05-19 6:25 ` Peter Oehry
0 siblings, 1 reply; 2+ messages in thread
From: Philip Edelbrock @ 2005-05-19 6:24 UTC (permalink / raw)
To: lm-sensors
Hi, thanks. I'll send your info to the team for review.
Phil
Peter Oehry wrote:
>Hello Philip
>
>I updated the w83627hf driver with some code to support the QFan options
>of the w83627thf chip. I think, if we have a Chip, that is able to
>control the fans, it's better to let the chip do this work rather than
>software.
>So far my updated driver can control nearly all qfan settings through
>some new sysfs nodes. It does the work perfect for me. I was only able
>to test the settings for fan2 as the MB (ASUS P4P800) so far as I now
>has only the cpu-fan-pwm connected to the chip.
>
>I don't know if there is another driver in the lm_sensors, that can
>already do this. The problem of getting this things into the lm_sensors
>project might be de discussion of how shoud the new nodes in the sysfs
>be named an how do they behave. I have now idea how many chips the
>ability of qfan have and how different they are to controll.
>
>So far I created the following nodes:
>They correspond direct with the datasheet of the w83627thf
>
>qfan[1-3]_mode Mode are definde as follows:
> 0 = manual Mode
> 1 = thermal cruise
> 2 = fan speed cruise
> 3 = reserved no function
> offset of 4 controls duty-Bit (if set fan does
> not turn off)
>qfan[1-3]_start When at Thermal Cruise mode, fan_pwm will
> increase from 0 to this register value to prived
> a minimum value to turn on the fan.
>qfan[1-3]_stop minmal value for fan_pwm (bevore it turns of)
>qfan[1-3]_stop_time defines the time from stop value to 0 in 0.1s
>qfan[1-3]_target target temperature in ?C
>qfan[1-3]_tolerance +/- tolerance for target temperature
>qfan_step_down determines the speed of fan_pwm decreasing the
> speed, when temperature is below
> target-tolerance (Unit is 1.6 seconds)
>qfan_step_up determines the speed of fan_pwm increasing the
> speed, when temperature is above
> target+tolerance (Unit is 1.6 seconds)
>
>the good thing about all these changes is that all other functions
>(except that it's not possible to change the pwm_value during cruise
>mode) remains the same. So any front-end application can use all the old
>functions as bevore.
>
>Let me know if you're interested in my work. I can send you the driver
>as it is or make a diff against my source. It might need som cosmetic
>work bevore I can give you the driver. I thought I'll do this only if
>you're interested. I can also help in furhter development or testing. By
>the way I worked with the driver I got from the latest Kernel patch
>(2.6.5-rc2). I am stil using a 2.6.1 Kernel patched with some drivers.
>
>
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
* w83627hf driver
2005-05-19 6:24 w83627hf driver Philip Edelbrock
@ 2005-05-19 6:25 ` Peter Oehry
0 siblings, 0 replies; 2+ messages in thread
From: Peter Oehry @ 2005-05-19 6:25 UTC (permalink / raw)
To: lm-sensors
Hello
I've done some work. I hope I had a recent file to do the diff. (Took it
from the newest Kernel source 2.6.7-bk14). The patch is attached.
By the way I'm using this driver since my first mail and I enjoy the
silent CPU-fan :-)
On Wed, 2004-06-30 at 05:13, Mark M. Hoffman wrote:
> Hello Peter:
>
> Wow, I see it's been a long time, but... yes I'm interested in what
> you've done with the w83627hf driver - at least what's below looks
> pretty good to me. If you have a patch against current, that'd be
> great! Otherwise, send whatever you have directly to the sensors
> mailing list and we'll have a look:
>
> LM Sensors <sensors@Stimpy.netroedge.com>
>
> > Peter Oehry wrote:
> >
> > >Hello Philip
> > >
> > >I updated the w83627hf driver with some code to support the QFan options
> > >of the w83627thf chip. I think, if we have a Chip, that is able to
> > >control the fans, it's better to let the chip do this work rather than
> > >software.
> > >So far my updated driver can control nearly all qfan settings through
> > >some new sysfs nodes. It does the work perfect for me. I was only able
> > >to test the settings for fan2 as the MB (ASUS P4P800) so far as I now
> > >has only the cpu-fan-pwm connected to the chip.
> > >
> > >I don't know if there is another driver in the lm_sensors, that can
> > >already do this. The problem of getting this things into the lm_sensors
> > >project might be de discussion of how should the new nodes in the sysfs
> > >be named an how do they behave. I have now idea how many chips the
> > >ability of qfan have and how different they are to control.
> > >
> > >So far I created the following nodes:
> > >They correspond direct with the datasheet of the w83627thf
> > >
> > >qfan[1-3]_mode Mode are defined as follows:
> > > 0 = manual Mode
> > > 1 = thermal cruise
> > > 2 = fan speed cruise
> > > 3 = reserved no function
> > > offset of 4 controls duty-Bit (if set fan does
> > > not turn off)
> > >qfan[1-3]_start When at Thermal Cruise mode, fan_pwm will
> > > increase from 0 to this register value to provide
> > > a minimum value to turn on the fan.
> > >qfan[1-3]_stop minimal value for fan_pwm (before it turns of)
> > >qfan[1-3]_stop_time defines the time from stop value to 0 in 0.1s
> > >qfan[1-3]_target target temperature in ?C
> > >qfan[1-3]_tolerance +/- tolerance for target temperature
> > >qfan_step_down determines the speed of fan_pwm decreasing
> > >the
> > > speed, when temperature is below
> > > target-tolerance (Unit is 1.6 seconds)
> > >qfan_step_up determines the speed of fan_pwm increasing the
> > > speed, when temperature is above
> > > target+tolerance (Unit is 1.6 seconds)
> > >
> > >the good thing about all these changes is that all other functions
> > >(except that it's not possible to change the pwm_value during cruise
> > >mode) remains the same. So any front-end application can use all the old
> > >functions as before.
> > >
> > >Let me know if you're interested in my work. I can send you the driver
> > >as it is or make a diff against my source. It might need some cosmetic
> > >work before I can give you the driver. I thought I'll do this only if
> > >you're interested. I can also help in further development or testing. By
> > >the way I worked with the driver I got from the latest Kernel patch
> > >(2.6.5-rc2). I am still using a 2.6.1 Kernel patched with some drivers.
>
> Regards,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: w83627hf.patch
Type: text/x-patch
Size: 15588 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20040701/c0495d37/w83627hf.bin
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-05-19 6:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-19 6:24 w83627hf driver Philip Edelbrock
2005-05-19 6:25 ` Peter Oehry
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.