All of lore.kernel.org
 help / color / mirror / Atom feed
From: khali@linux-fr.org (Jean Delvare)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] sysfs interface for fan present capability
Date: Sun, 04 Jun 2006 15:27:03 +0000	[thread overview]
Message-ID: <20060604172703.13f28cb3.khali@linux-fr.org> (raw)
In-Reply-To: <4482843D.5020506@hhs.nl>

Hi Hans,

> It looks like I've discover yet another feature of the uguru, a bit in
> the fan bank which seemed to be sometimes 1 sometimes 0 actually seems
> to indicate whether a fan is present or not. I'm not 100% sure, but I'm
> starting to see a pattern and sofar it holds in 100% of the cases I
> have. I'll buy myself an extra 3 wire fan and put it on the aux fan
> connectors then I'll know for sure soon enough.
> 
> Which brings me to the question, do we want to export this to userspace
> (I guess we do) and if we do how. May I suggest a readonly boolean
> fan[1-x]_present?

Sure, why not. fan[1-*]_present sounds like a good idea. I wonder how
this works physically. It would be great if other chips could implement
this feature, that would make autoconfig easier for fans. If you
implement this feature in the abituguru driver, just include a patch to
Documentation/hwmon/sysfs-interface describing this new interface file.

-- 
Jean Delvare


  reply	other threads:[~2006-06-04 15:27 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-04  6:57 [lm-sensors] sysfs interface for fan present capability Hans de Goede
2006-06-04 15:27 ` Jean Delvare [this message]
2006-06-04 17:18 ` Henrique de Moraes Holschuh
2006-06-04 17:20 ` Hans de Goede
2006-06-04 17:42 ` Henrique de Moraes Holschuh
2006-06-04 17:52 ` Jean Delvare
2006-06-04 17:56 ` Jean Delvare
2006-06-04 17:58 ` Henrique de Moraes Holschuh
2006-06-04 18:09 ` Henrique de Moraes Holschuh
2006-06-04 18:35 ` Jean Delvare
2006-06-04 18:38 ` Jean Delvare
2006-06-04 18:52 ` Henrique de Moraes Holschuh
2006-06-04 19:22 ` Philip Pokorny

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=20060604172703.13f28cb3.khali@linux-fr.org \
    --to=khali@linux-fr.org \
    --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.