Use a device driver and read()/write()/ioctl()
The Linux Kernel Hackers' Guide
Wed, 01 Oct 1997 14:12:17 GMT
Michael K. Johnson
There's a whole huge section of the KHG on writing device drivers. Register a character device driver and use either read()/write() or ioctl() to communicate between the user-level app and your module.