Re: Callback function from kernel module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2012-11-03 at 21:56 +0530, jeshkumar555@xxxxxxxxx wrote:
> hello Mulyadi,
> 
> As per my design, a userspace application shall call some function in
> the application  for each interrupt occur in  particular kernel
> module. So what mechanism shall go ? As subramaniam referred kobject,
> I am going on with it. ( understanding kobject)
Why userspace is bothered about interrupts in the kernel.Something is
inherently wrong in your understanding.
A detailed problem description would help you.
> 
> Sent from my HTC
> Excuse for typo.
> 
> ----- Reply message -----
> From: "Mulyadi Santosa" <mulyadi.santosa@xxxxxxxxx>
> Date: Sat, Nov 3, 2012 9:42 pm
> Subject: Callback function from kernel module
> To: "Jeshwanth Kumar N K Jeshu" <jeshkumar555@xxxxxxxxx>
> Cc: "kernelnewbies" <Kernelnewbies@xxxxxxxxxxxxxxxxx>
> 
> 
> Hi..
> 
> On Sat, Nov 3, 2012 at 8:44 PM, Jeshwanth Kumar N K Jeshu
> <jeshkumar555@xxxxxxxxx> wrote:
> > Hello All,
> >
> > Can I call userspace function from kernel module ? Actually I need
> to
> > process some data in user space for every event occured in kernel
> module.
> 
> user space function or user space program? for later, IIRC you can use
> usermode_helper...
> 
> 
> -- 
> regards,
> 
> Mulyadi Santosa
> Freelance Linux trainer and consultant
> 
> blog: the-hydra.blogspot.com
> training: mulyaditraining.blogspot.com
> 
> 
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@xxxxxxxxxxxxxxxxx
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux