lkml.org 
[lkml]   [2006]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Stuck creating sysfs hooks for a driver..
    On Wed, Feb 15, 2006 at 01:24:28PM +0530, Kaiwan N Billimoria wrote:
    > Hello All,
    >
    > I am in the process of porting a 2.4 temperature sensor device driver (the
    > National Semiconductor LM70CILD-3 temperature sensor eval board) to the 2.6
    > Linux kernel (specifically to v 2.6.15.3 <http://2.6.15.3>), with the
    > intention of submitting it for inclusion. All ok, except this: am stuck on
    > inserting an entry in /sys instead of /proc for the
    > driver (as that is suggested as the new "correct" interface to userspace).

    Have you read Documentation/hwmon/sysfs-interface? I think that,
    combined with using the hwmon class code is what you want to use here.

    Hope this helps,

    greg k-h
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-02-15 23:15    [W:0.022 / U:0.076 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site