[lkml]   [2003]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: lm sensors sysfs file structure
    On Thu, Mar 27, 2003 at 07:40:26PM +0100, Jan Dittmer wrote:
    > Greg KH wrote:
    > >That would give us one value per file, use no floating point in the
    > >kernel (fake or not) and generally make things a whole lot more orderly.
    > >Also, if a sensor does not have a max value (for example, I don't really
    > >know if this is true), instead of having to fake a value, it can just
    > >not create the file. Then userspace can easily detect this is not
    > >supported, and is not a placeholder value.
    > >
    > Is this the way you want to go? Just an example for the voltages.

    That looks very good to me, nice job.

    Sensors developers, does this look sane?

    > Btw, is it indended behaviour of sysfs, that after writing to a file,
    > the size is zero?

    Hm, don't know about that, I haven't seen that before. If you cat the
    file after writing it, does the file size change?


    greg k-h
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:34    [W:0.019 / U:21.716 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site