From: yani.ioannou@gmail.com (Yani Ioannou)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] Re: [RFC PATCH 2.6.12-rc3-mm2 1/2] i2c: new sysfs
Date: Thu, 26 May 2005 06:18:08 +0000 [thread overview]
Message-ID: <2538186705052521176779c75d@mail.gmail.com> (raw)
In-Reply-To: <20050503034928.GC4977@jupiter.solarsys.private>
> > At first I assumed you would probably be using the device_attributes
> > under /sys/class/hwmon/blah/device/ (assuming the particular hwmon
> > driver has an associated device - its optional), but on further though
>
> That is just it, nothing more.
>
> We could use class device attributes, sure. We could move all the
> existing device attributes, even. It's not like the sensors kernel
> interface has been stable in 2.6.x since... well... ever.
lol..ok, you have a point. I'm thinking about things without regard to
the size/pain of the change, I let people with more sense think about
that and shoot me down ;-). Using class_device_attributes is
definitely something to keep in the back of our minds though.
> I suggested the current path (use hwmon class just for the link to
> device attributes) to Khali, rather than something more elaborate,
> mostly so that I could hope to actually complete it while leaving
> libsensors looking less ugly than it does now. When libsensors has
> a more flexible and maintainable way of parsing sysfs structure (like
> using libsysfs, for one) then the rest may follow.
OK, fair enough. I'm a fair way along re-writing bmcsensors (probably
to be called ipmisensors now) to take advantage of the hwmon patch and
dynamic device attributes, and its all looking very promising and much
cleaner so far, so thanks for writing the patch. When it's at a stage
that it works I'll CC a copy to you guys and the list for comment. I
definitely think hwmon is the way forward, but I have a much different
perspective than most other lm_sensors authors due to the nature of
bmc/ipmisensors.
Oh, is there a userspace patch somewhere that I can use to test things
out when I get to that stage?
Thanks,
Yani
prev parent reply other threads:[~2005-05-26 6:18 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-19 6:25 [RFC PATCH 2.6.12-rc3-mm2 1/2] i2c: new sysfs class "hwmon" Mark M. Hoffman
2005-05-19 6:25 ` Greg KH
2005-05-21 15:22 ` [lm-sensors] Re: [RFC PATCH 2.6.12-rc3-mm2 1/2] i2c: new sysfs Yani Ioannou
2005-05-23 4:01 ` Mark M. Hoffman
2005-05-23 5:37 ` Yani Ioannou
2005-05-23 14:48 ` [lm-sensors] Re: [RFC PATCH 2.6.12-rc3-mm2 1/2] i2c: new sysfs class Jean Delvare
2005-05-23 16:28 ` [lm-sensors] Re: [RFC PATCH 2.6.12-rc3-mm2 1/2] i2c: new sysfs Yani Ioannou
2005-05-25 3:42 ` Yani Ioannou
2005-05-26 5:38 ` Mark M. Hoffman
2005-05-26 5:55 ` Mark M. Hoffman
2005-05-26 6:18 ` Yani Ioannou [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=2538186705052521176779c75d@mail.gmail.com \
--to=yani.ioannou@gmail.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.