@tanniru
Quote:
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))
|
Answer) I think you want to make a charater device that handels the reads / writes actions and contains a fifo of some sort?
Quote:
2) using copy_to_user and copy_from_user
..... i'm not much aware of these functions
|
Have a look at the links posted above they would explain when and who they are used
Quote:
3) using these sockets? netlink sockets?
|
The answer depends on what you try to accomplish or create:
Are you just trying to access a device via a kernel space driver?
Or are you creating the driver yourself?
What kind of device driver / interface exists for your device?
What kind of data should it produce or handle?
Regards Rob