Mouse and keyboard acting unpredictably
I also used the hub and it appears to assist.
I tried connecting directly without the hub and still faced issues. It might help to check the wiring or try a different port.