My task is to create a virtual device file and a driver for it.The driver should poll and send hid reports to the device.
till now i am successful in creating the device file and a driver with basic features.
Now what I am stuck on is how to setup and send hid reports to the device file.I have gone through the source code of hiddev.c and hid-core.c but it does not gives any clear picture.
I am still undecided about the approach.
Please help me with this!!!