Messages in this thread | | | Subject | Re: user space program from keyboard driver | From | Lee Revell <> | Date | Mon, 28 Feb 2005 16:21:15 -0500 |
| |
On Mon, 2005-02-28 at 21:24 +0530, Payasam Manohar wrote: > hai all, > I am a newbie to kernel, I want to work on linux kernel modules. > My task is to call a user program from keyboard driver under certain > conditions. I know that we can call user program using > call_usermodehelper(), but we can not call it direcly from driver as it is > a interrupt context. So we need to call using schedule_work(). But I need > more clarification on these points. How to call user program from the > keyboard driver. Please give ur ideas for doing this. >
Are you just trying to write a keystroke logger?
Lee
- 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/
| |