Hi there,
So the first one looks fine, the second one Looks short on one end, They are marked SS so they appear to be correct. I would try to connect the port to a WIN10 box and see if it “dings” as connected then I would look at the device manager and see if it is enumerating the port as High Speed in the device tree.
if not it’s more than likely the Config settings or Driver isn’t able to sense the connector type.
Look at this thread ,
“LinuxDev” has it Very , Very well explained as why it may be a port or cable issue.
This is rapidly becoming a popular issue with the USB ports, cables, connectors matter.
HTH
GL:-) PJ
you can look at Device tree it records the hardware related software change.
and dmesg and the lsusb -t command.