Hi..

how can we send data from device driver to an user application?
which will be efficient one?

1) using named pipe.. thats FIFO
..... here i'm getting problem in "write" in kernel space... cant do that.. error comes.. while "read" works just fine.
(( someone please just help me in fixing write problem. getting -14 returned each time i tried to write by several ways))

2) using copy_to_user and copy_from_user


3) using these sockets? netlink sockets?