Re: Opening a device driver file.

2012-12-18 Thread Kristof Provost
On 2012-12-18 07:53:44 (+0530), Niroj Pokhrel nirojpokh...@gmail.com wrote: Output: Device Open Failed -1 Does the device node /dev/niroj_char exist? Note that, depending on your system, device nodes are never, sometimes or always created when the kernel creates a new character device.

Re: sysfs: pass function pointers to kernel (not just a value through attribute)

2012-12-18 Thread Terry Hsu
On Mon, Dec 17, 2012 at 10:32 AM, Yann Droneaud ydrone...@opteya.comwrote: Le lundi 17 décembre 2012 à 10:11 -0500, Terry Hsu a écrit : Hello everyone, I am looking for some mechanism for userspace tasks to pass certain functions to kernel and let the kernel execute these functions on