Creating a Virtual USB Device

前端 未结 4 1928
借酒劲吻你
借酒劲吻你 2021-01-31 00:07

I am a newbie learning how to write WDM device drivers for USB devices and found that the materials available are all too hard to comprehend (the DDK online doc is one of the mo

4条回答
  •  -上瘾入骨i
    2021-01-31 00:31

    You can use the USB/IP project to emulate any device that you want. In my blog I demonstrated how to emulate USB Mouse device in python using the USB/IP project: http://breaking-the-system.blogspot.com/2014/08/emulating-usb-devices-in-python-with-no.html

    It wont help you to understand how to create the virtual USB device (the process is done in the USB/IP driver, you could read the code), but it will create the virtual USB HID device and you could play with the HID arguments sent to the USB driver.

提交回复
热议问题