On 9/12/23 08:47, fedora@xxxxxxxxxxxxxx wrote:
On 9/12/23 07:30, Samuel Sieb wrote:
On 12/8/23 01:55, fedora@xxxxxxxxxxxxxx wrote:
Dec 8 20:19:37 e7 kernel: usb 2-7: Enable of device-initiated U1 failed.
Dec 8 20:19:37 e7 kernel: usb 2-7: Enable of device-initiated U2 failed.
Dec 8 20:19:37 e7 kernel: usb 2-7: Enable of device-initiated U1 failed.
Dec 8 20:19:37 e7 kernel: usb 2-7: Enable of device-initiated U2 failed.
This is the difference between the second and third ones. This didn't happen with the mixed cables, so it was able to setup the higher speed. You'll need to look up what the requirements are for this to work.
The USB-C card implements two buses:
$ lsusb -t
/: Bus 003.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/1p, 480M
/: Bus 004.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/1p, 20000M/x2
It seems that at times the NVMe disk is detected as 'high-speed' and attached to 3-1
kernel: usb 3-1: new high-speed USB device number 18 using xhci_hcd
where it ends up at the wrong speed. At other times it detected as 'SuperSpeed' and attaches to 4-1
kernel: usb 4-1: new SuperSpeed USB device number 18 using xhci_hcd
I tried difference USB-C cables, some short, some long, some thick (100W).
Interestingly, testing on a laptop. The results are the same as above.
Connecting to a USB-3 port using the USB-C->USB-3 cable detects the drive as SuperSpeed
Connecting to a USB-C port using a USB-C->USB-C cable detects it as high-speed only and then runs at USB-2 rate.
Connecting to a USB-C port using a USB-C->USB-3 cable followed by a USB-3>USB-C cable detects is as SuperSpeed.
On this laptop the USB-C port runs at 5GB/s max, but this is not the problem.
So, is it something to do with the enclosure? The cable (it does make a difference)?
Do I need a special USB-C cable for the higher speeds (5-10-20GB/s)? Even for 5GB/s?
I think I figured it. The USB cables I have are all providing only minimal connectivity, so only USB2 speed.
The USBC->USB3 (15cm) cable works well to a USB3 socket. Which made me remember that the NVMe caddy
came with TWO short cables, one to USB3 and one to USBC.
After a long search I located the second cable (C-C) and it works well, giving me the full 1GB/s.
In short, the cable matters. I will now acquire some fast (20Gbps) cables and put the others aside,
for charging/power. I learn something every day.
Oh, and I now checked the long (1m) USB-C M-F cable I bought with the PCIe USB-C card, and it also
passes the full 10Gbps. Good again.
Thanks everyone.
--
Eyal at Home (fedora@xxxxxxxxxxxxxx)
--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue