Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
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!!!