lkml.org 
[lkml]   [2008]   [Dec]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: sysfs programming
On Sat, Dec 20, 2008 at 12:13:23AM -0800, Peter wrote:
> Hi ,
> I am writing a project for my university and i am planning on using
> sysfs for my kernel module to communicate with user space , ive read
> some articles and i know how sysfs works, its just i dont know how the
> code should be written . Could you please send me a sample code about
> how to create an attribute file at /sys/module/(some kernel module)/
> please ?

What is wrong with the examples in the kernel tree itself? Are they not
sufficient in some way?

thanks,

greg k-h


\
 
 \ /
  Last update: 2008-12-21 05:47    [W:0.112 / U:0.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site