DKMS for Dummy/Loopback USB host and device emulator driver.
git clone https://github.com/RushOnline/dummy-hcd.git
make update
make dkms
Emulate one USB2 connected device:
sudo modprobe dummy-hcd is_high_speed=1
sudo dkms remove dummy-hcd/0.1 --all