-1

I have software that requires a specific piece of hardware present to be functional. I have the hardware but don't always need it to be connected to use the software. I don't need to emulate the functions of the device, only the fact that it's plugged in.

Is there a way to read how the USB device represents itself and then emulate that signature in software?

I am on Mac OSX 10.7

jkuss
  • 26
  • 1
  • 4
  • That depend on how the software detect or recognize that device. What kind of device is it? – Jay Aug 13 '12 at 07:25
  • It's a DJ controller. The SW is limited without the HW plugged in. I own the HW but hate having to have it plugged in just to organize my music and prepare songs. So my goal was to somehow capture the signature of the device and "replay" it for the SW. The software is Serato ITCH, if that makes a difference. – jkuss Aug 13 '12 at 16:39

1 Answers1

0

I may be misunderstanding you, but every usb device has a unique Vendor and Product ID. You can easily use this to discover if a device is plugged in and is the one you are looking for. This post details this and much more, however the first section may be useful.

To summarize, you must look up the Vendor and Product ID. Then you enumerate the attached devices and very simply check if the IDs match. If so, then your device is plugged in!

Community
  • 1
  • 1
eatonphil
  • 13,115
  • 27
  • 76
  • 133