ubuntu – snooping multiple ports of the USB hub simultaneously

I want to send data through an upstream port of a USB hub and read through all the downstream ports on the hub without connecting a device to downstream ports. Basically, check and ensure that data sent over all downstream ports of the hub are identical or not.
Are there any options or tools to do this?
I'm trying this on a USB 2.0 hub and an Ubuntu 18.04LTS system.