RE : How ?

Started by Callebaut Benoit on May 15, 2003

open the first message on its own page

Message details and related content
Hi Rakesh
Hi all,

Can anyone suggest me how we can invoke the interrupt generated in the
kernel from the user application. I am getting the interrupt in the driver, I
want to update some register in the application, when the inettrupt will be
generated, Right now I am using polloing method. Continuously I am calling
read routines.
Thanks in advance,
Rakesh Jagota
First a remark : "How" isn't a good subject title because we could answer "
So".

What do you want to do exaclty. That your driver receive interrupt from the
hardware, read datas from it and after that warn an application that something
happened ?
If the answer is yes, I can say to you that is possible and even easy. To warn
your application from your driver it is a little bit harder because normally a
driver don't do that. A driver is unaware of the applications, It only answer
to request (read/write,ioctl requests)
Please be more specific and first erad the Linux Device Driver book from O
reilly. ( available as PDF freely, search for the address on this mailing
list)

Benoit Callebaut


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help