Teensy emulating multiple USB devices?

Status
Not open for further replies.

Amy Worrall

New member
Disclaimer: I'm still learning about how USB works.

I'm trying to clone a physical device. My intention is to spoof its vendor and product IDs, so that its software will talk to my clone.

However, the physical device seems to contain multiple USB devices (and an internal hub) —*one is a HID device, one is a custom protocol, etc.

Do I need one Teensy per device, or is there a way that a Teensy can pretend to be multiple USB devices, each with a separate product ID?

Thanks,

Amy
 
Do I need one Teensy per device, or is there a way that a Teensy can pretend to be multiple USB devices, each with a separate product ID?

This isn't supported, so using only the supported code (and relatively minor edits, like the ID numbers) you would need multiple boards, and a hub.

However, I don't want to say it's impossible. I believe Dean Camera did something like this with LUFA years ago by reconfiguring the USB hardware on the fly. But none of the Teensyduino code is written like that, so accomplishing this on Teensy would require some pretty epic USB hacking.
 
Status
Not open for further replies.
Back
Top