On 9/12/07, Ron Lee <ronberlin@xxxxxxxxxxxxxx> wrote: > Hello all, > > I would like to pass arguments/parameters to a kernel module. My current > method is to use the proc file system but I was told that sysfs would be > a cleaner way. Does anyone have an example for how to do this? Is there > a way to register callback functions that are invoked when a file in the > sysfs is read or written? Any help is appreciated! > > Thanks in advance... > Ron Maybe Chapter 14 of Linux Device Drivers (http://lwn.net/Kernel/LDD3/) is what you are looking for. -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ