Connecting Android smartphone/tablet to PC and another device through USB hub
According to this page, if you need to connect to the device with adb then you will have to connect to adb via tcp.

to enter adb tcp mode enter adb connect &lt;device-ip-address&gt;:5555

to go back to adb over usb enter adb usb