Ubuntu Forums Archive Viewer

communicate with a driver from a kernel module

Archived thread 2110729 from Ubuntu Application Development. Markdown source: Ubuntu_Application_Development/thread_2110729_communicate_with_a_driver_from_a_kernel_module.md

Original URL About this archive
#1

I want to communicate with a driver (/dev device) from a kernel module. I have an application and some kernel modules associated with it. From the lowest KM I want to read and write to the driver. What should I do? I have read that writing and reading files from the KM is not a good choice. Is there any other way? Could I use the header files of the driver? If so, how?

#2

Duplicate of http://ubuntuforums.org/showthread.php?t=2110727

Please do not start multiple threads for the same support question, it dilutes the community's ability to help.