Mavsdk in parallel with Qgroundcontrol

I’m using mavsdk in python env , and can listen to mavlink msgs and update parameters to a pixhawk cube attached by a usb cable.
But , I cant use the QgroundControl and mavsdk in parallel ! as they both use the same USB port and block each other. I need them both attached at the same time threw the same usb port.
Did anyone encounter this problem? Is there a way in python , to solve this problem?


solved it by using mavlink-router to forward the serial mavlink mssgs to different UDP ports.
then QGC connects to one of the UDP ports and MAVSDK to the other.