All of lore.kernel.org
 help / color / mirror / Atom feed
From: greg@kroah.com (Greg KH)
To: lm-sensors@vger.kernel.org
Subject: Third auto-fan control interface proposal
Date: Thu, 19 May 2005 06:25:11 +0000	[thread overview]
Message-ID: <20040811211304.GA21894@kroah.com> (raw)
In-Reply-To: <200407051449.i65Enjdq031467@zone3.gcu-squad.org>

On Wed, Aug 11, 2004 at 04:03:01PM -0400, Mark M. Hoffman wrote:
> Hello:
> 
> * Jean Delvare <khali@linux-fr.org> [2004-07-05 16:49:45 +0200]:
> 
> <snip>
> 
> > It looks like the possibility to select more than one temp channel for a
> > given fan controler is needed (Philip Pokorny), so we wouldn't simplify
> > this. As in the first proposal, the values would be bitfields, 1<<N =
> > temp channel N matters to compute the considered fan's speed.
> > 
> > Files :
> > 
> > fan1_auto_channels
> > fan2_auto_channels
> 
> <snip>
> 
> I think these should be named e.g. pwm1_auto_channels to make clear
> the distinction between a tacho input (fanX) and a pwm output (pwmX).
> 
> (/me goes off to look at 2.6 sysfs_interface doc again)
> 
> Oh dear.  I'm sorry I wasn't paying attention to this sooner, but I
> think our interface needs revision again.  All of the fan[nr]_pwm*
> files should really just be pwm[nr]*.
> 
> The association between tacho input and pwm output is arbitrary and
> depends on mainboard maker.  E.g. our script prog/pwm/pwmconfig is
> made to discover the relationships.
> 
> Would anyone object to such a patch for 2.6 kernel drivers?

I'll let you and Jean argue this out :)

> Any patch to the 2.6 kernel which changes/breaks some part of the
> documented sysfs interface must be accompanied by a patch to
> libsensors.  The libsensors patch must preserve backwards compat.
> to the sysfs interface as it existed in every kernel.org kernel
> from 2.6.5-rc1 to present.

That sounds good to me.

thanks,

greg k-h

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

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-19  6:25 Third auto-fan control interface proposal Jean Delvare
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` Mark Studebaker
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` Mark Studebaker
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` Mark M. Hoffman
2005-05-19  6:25 ` Mark M. Hoffman
2005-05-19  6:25 ` James Olin Oden
2005-05-19  6:25 ` Mark M. Hoffman
2005-05-19  6:25 ` Greg KH [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=20040811211304.GA21894@kroah.com \
    --to=greg@kroah.com \
    --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.