How to access device context data?
-
Hi, I'm developing a kernel mode driver to handle a USB device. The device is always sending packets of data. That data, after 16 packets becomes 1 entire frame. That frame will then be delivered for a next phase processing. This frame is kept on the device context structure. However, I also would like to retrieve that data from the user space. I want to create an application to visualize that frame. The question is... what are the mechanisms to communicate from the kernel side to the user side? How can I access device context in order to get this piece of data from the kernel side in the user side? I hope to be clear enough, Thanks, With my best regards, Nuno
-
Hi, I'm developing a kernel mode driver to handle a USB device. The device is always sending packets of data. That data, after 16 packets becomes 1 entire frame. That frame will then be delivered for a next phase processing. This frame is kept on the device context structure. However, I also would like to retrieve that data from the user space. I want to create an application to visualize that frame. The question is... what are the mechanisms to communicate from the kernel side to the user side? How can I access device context in order to get this piece of data from the kernel side in the user side? I hope to be clear enough, Thanks, With my best regards, Nuno