This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

HID driver........

can any one explain how is the flow in hidraw.c driver..... i want to know the sequence of events that happens in this driver when we receive data through a hidraw device.....

i want to know in which variable(buffer) will the data recevied from hid device willl be stored??? i want to print that buffer to make sure im receiving right data and go on with further processing on it....

i think the received data is stored in the following buffer...but not sure . pls help me...... 

1. hid_get_raw_report(dev, report_number, buf, count, report_type) which is called in the function
 hidraw_get_report()
im i right....??????? pls help..