Emulates USB Devices In Python
Python
Switch branches/tags
Nothing to show
Clone or download
Latest commit 32b4068 Aug 30, 2014
Permalink
Failed to load latest commit information.
LICENSE initial commit Aug 30, 2014
README.md initial commit Aug 30, 2014
USBIP.py initial commit Aug 30, 2014
hid.py initial commit Aug 30, 2014

README.md

USB Emulation In Python With No Additional Hardware

More details on:
http://breaking-the-system.blogspot.com/2014/08/emulating-usb-devices-in-python-with-no.html

This code uses the USB/IP project: http://usbip.sourceforge.net/ to emulate usb devices.
In this example I showed how to emulate HID mouse device.
This code can be easily changed to support any usb device.
This code is very experimental, use with care.
In the HID example there is a bug with USB/IP driver that causes blue screen on de-attach:
http://sourceforge.net/p/usbip/discussion/418507/thread/7ff86875/?page=0
It doesnt happen with other devices I tested.