1

I am trying to find a way to mimic a USB device being connected without actually having it available. I am trying to develop an additional feature to software that is only fully unlocked when the USB device is connected to the computer. Because the client is unable to provide a demo device for me to use here shortly, I'd like to find a way to emulate or mimic the connectivity of the device so I can finish development. Can I do this with a flash drive perhaps? Find someway to copy the files so that when I insert the flash drive it acts as a plug and play device?

Jussi Kukkonen
  • 13,857
  • 1
  • 37
  • 54
  • What operating system? What kind of USB device are you looking for? (Storage class, HID, something else?) What is the functionality you are trying to emulate? Just a different vendor and product ID? – Lekensteyn Apr 01 '14 at 09:30
  • I am trying to emulate a camera on a windows 7 machine on a usb flash drive (sandisk); yes; I'm just trying to emulate the vendor/ID/USB key as if the model he has were connected – user1671951 Apr 01 '14 at 21:33
  • Are you sure that only the PID/VID is checked, without requiring other features of the USB device? With a system emulator like QEMU, you can make your own virtual USB device with given PID/VID. If the software runs in Linux, it is easy to configure QEMU with a Live CD. Otherwise, you need to install Windows in the virtual machine first. – Lekensteyn Apr 01 '14 at 22:14
  • I'm not really sure how to go about emulating the device; I hope it's alright to ask but could you point me in the direction of a resource to help me figure it out? – user1671951 Apr 02 '14 at 22:35
  • This similar question [How to emulate USB devices][1] might help you. [1]: http://stackoverflow.com/questions/1913979/how-to-emulate-usb-devices?rq=1 – Daniel Apr 04 '14 at 20:51
  • Thank you! looking at it now. – user1671951 Apr 04 '14 at 22:03

0 Answers0