Re: [RFC 2.6] sensor chips sysfs interface change (long)
From: Zephaniah E. Hull
Date: Sat Feb 21 2004 - 08:14:50 EST
On Wed, Feb 18, 2004 at 10:08:45PM +0100, Jean Delvare wrote:
> Hi all,
>
> I plan to make rather important changes to the sysfs interface of I2C
> chip drivers in Linux 2.6. The topic has already been discussed on the
> lm_sensors mailing list, bug Greg KH suggested that I should explain my
> intentions here too, so here I am.
<snip>
> THE PLAN
>
> I propose a three-step plan.
>
> 1* Change the base scheme (e.g. temp_min1 -> temp1_min). This is the
> more important change (in the sense it affects all drivers and the
> libsensors library) and correspond to the second problem listed above.
>
> 2* Change the hysteresis names (temp1_hyst -> temp1_max_hyst). Only some
> drivers are impacted. Changes required to the library as well.
>
> 3* Add splitted alarm files. This doesn't break the interface (these are
> new files), but on the other hand needs that we think about it a bit
> more so that our choices are extendable and correct for all known
> drivers.
>
> Comments welcome (or even requested, according to the subject line).
I would like to further suggest the renaming of 'sensor<n>' to
'temp<n>_sensor' or 'temp<n>_type', in the interest of being consistent.
--
1024D/E65A7801 Zephaniah E. Hull <warp@xxxxxxxxxxxxxxxx>
92ED 94E4 B1E6 3624 226D 5727 4453 008B E65A 7801
CCs of replies from mailing lists are requested.
Perl == Being
-- Descartes (paraphrased).
Attachment:
signature.asc
Description: Digital signature