All of lore.kernel.org
 help / color / mirror / Atom feed
From: peter.oehry@gmx.li (Peter Oehry)
To: lm-sensors@vger.kernel.org
Subject: w83627hf driver
Date: Thu, 19 May 2005 06:25:03 +0000	[thread overview]
Message-ID: <1088710103.7174.10.camel@zeus> (raw)
In-Reply-To: <4060A2B2.2060004@edgedesign.us>

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

      reply	other threads:[~2005-05-19  6:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-19  6:24 w83627hf driver Philip Edelbrock
2005-05-19  6:25 ` Peter Oehry [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1088710103.7174.10.camel@zeus \
    --to=peter.oehry@gmx.li \
    --cc=lm-sensors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.