D
Daniel888999
Guest
Hi all,
I am writing a virtual HID driver for both WIN7 and WIN10. the full scenario of the application is list below:
1. we have a USB hardware input device sending data to the PC through HID. (DONE)
2. we have a software reading the data from the USB hardware through HID. (DONE)
3. the software processes the data and send it to our virtual HID driver through HID write report. (DONE)
4. the virtual HID driver works as a pass through driver which sends out the data received from the software.
the driver is develop with VS2017, in KMDF. I have already install the WDK8.0 and WDK10.0. I am using the sample of the HID/vhidmini2 in the windows driver samples from github. I did some modification to full fill the pass through function. I take some reference of the vmulti project form github
and now I have meet the following problem:
1. the driver is working on WIN10 both 32bit and 64bit. but I need to install the driver by using devcon because the driver path is set to root\mydriver, is there a better way to do this because I need to release the driver to the customer.
2. the driver is not working on WIN7. it is said the device failed to start in the driver property in the device manager.
3. I failed get the vmulti sample work because I failed to compile the code of the driver under the sys folder. I think it would be fastest way to get this done if I can compile the driver and have it working on both WIN7 and WIN10.
I am looking forward to your kindly suggestion of this driver development.
Regards
Daniel
Continue reading...
I am writing a virtual HID driver for both WIN7 and WIN10. the full scenario of the application is list below:
1. we have a USB hardware input device sending data to the PC through HID. (DONE)
2. we have a software reading the data from the USB hardware through HID. (DONE)
3. the software processes the data and send it to our virtual HID driver through HID write report. (DONE)
4. the virtual HID driver works as a pass through driver which sends out the data received from the software.
the driver is develop with VS2017, in KMDF. I have already install the WDK8.0 and WDK10.0. I am using the sample of the HID/vhidmini2 in the windows driver samples from github. I did some modification to full fill the pass through function. I take some reference of the vmulti project form github
and now I have meet the following problem:
1. the driver is working on WIN10 both 32bit and 64bit. but I need to install the driver by using devcon because the driver path is set to root\mydriver, is there a better way to do this because I need to release the driver to the customer.
2. the driver is not working on WIN7. it is said the device failed to start in the driver property in the device manager.
3. I failed get the vmulti sample work because I failed to compile the code of the driver under the sys folder. I think it would be fastest way to get this done if I can compile the driver and have it working on both WIN7 and WIN10.
I am looking forward to your kindly suggestion of this driver development.
Regards
Daniel
Continue reading...