All of lore.kernel.org
 help / color / mirror / Atom feed
From: khali@linux-fr.org (Jean Delvare)
To: lm-sensors@vger.kernel.org
Subject: libsensors for linux 2.6
Date: Thu, 19 May 2005 06:24:25 +0000	[thread overview]
Message-ID: <20031116144447.6ac271ca.khali@linux-fr.org> (raw)


> I broke down and started integrating Danny's patch.
> stay tuned for progress...

Just one or two questions, since I haven't been watching the thread very
carefully - no time for this, sorry.

You might have seen my recent post about sysfs file naming conventions,
with questions about how to handle values that relate to more than one
sensor, relative hysteresis values and the such. The goal of this naming
convention is to have a common, standardized interface with libs and/or
user-space programs. The fact that libsensors has specific code for each
and every chipset is a problem. With a sysfs interface where each file
name can only represent one thing, this shouldn't be needed anymore.
This basically means that libsensors as we know it should *not* be
needed for Linux 2.6.

Of course, we would still need a way to tweak values, set limits, set
labels and ignore values. The source for this is in our sensors.conf
file. That should almost be the only common part between the old and the
new library. This make me wonder if this is a good idea to try having
only one library for both kernel branches. Why don't we start a 2.6
dedicated library? This would be libsensors.so.3.

That said, this would be better if we could all agree of the sysfs file
naming convention first. Please post your comments on the other thread.
Greg KH and Mark Hoffman already have clarified a number of things and
some points look OK now, but there are still some problems left.

-- 
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/

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

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-19  6:24 Jean Delvare [this message]
2005-05-19  6:24 ` libsensors for linux 2.6 Mark Studebaker
2005-05-19  6:24 ` Mark Studebaker
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` Mark Studebaker
2005-05-19  6:24 ` Mark Studebaker
2005-05-19  6:24 ` Jean Delvare

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=20031116144447.6ac271ca.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.