We have this small hub for my wife’s laptop that works great. Look below my monitor in the picture attached. I run two separate computers to the same monitor as well, one being a desktop. Also have an old HP Laserjet printer via usb connected. That thing is older than dirt but keeps plugging away. We have a color inkjet HP as well that’s from 2013 still working.
That said, working returns at Costco, I wouldn’t recommend HP for laptops or printers. The old stuff was good, the new not so much. I like the Lenovo and Dell products we sell though. If and when we need a new printer I’m going with Canon, not HP or Epson.