lkml.org 
[lkml]   [2012]   [Dec]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 4/8] Thermal: Add Thermal_trip sysfs node
    On Tue, Dec 18, 2012 at 02:59:33PM +0530, Durgadoss R wrote:
    > This patch adds a thermal_trip directory under
    > /sys/class/thermal/zoneX. This directory contains
    > the trip point values for sensors bound to this
    > zone.

    Eeek, you just broke userspace tools that now can no longer see these
    entries :(

    Why do you need to create a subdirectory? As you found out, doing so
    isn't the easiest, right? That is on purpose.

    I really wouldn't recommend doing this at all, please stick within the
    'struct device' framework here, don't create new kobjects and hang sysfs
    files off of them.

    thanks,

    greg k-h


    \
     
     \ /
      Last update: 2012-12-20 07:01    [W:2.422 / U:0.100 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site