Re: USB-C cabling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/12/23 18:00, Samuel Sieb wrote:
On 12/7/23 21:56, fedora@xxxxxxxxxxxxxx wrote:
A while back I acquired a NVMe caddy but did not get to use it. I now did as I got an NVMe disk.

The caddy is
     https://www.aliexpress.com/item/1005001346524009.html
             Color: 10Gbps M2PV C3
The disk is
     1TB WD Blue SN580 NVMe WDS100T3B0E (PCie v4)

I expected to see 1GB/s speed.

Read [X=Y] cable from USB-X to USB-Y. Caddy on left, machine on right.

1) Directly connecting the caddy to the machine (caddy-[C=C]-socket) I see 36MB/s. So USB-2? speed.
2) Using a caddy-[C=USB3M]-socket I get 442 MB/s. So USB-3.0 speed. This is expected.
3) The kicker: caddy-[C=USB3M] then [FUSB3=C]-socket (two cables) I get the expected 1000MB/s.

I tried a few C=C , no change. Two different machines. same.

What I want, of course, is good speed with a straight C=C cable.

Maybe your straight C=C cables don't have the extra pins wired for the higher speed.  What do the logs show for each of those connections?

I considered this so I tried 5 different C-C cables. Same results.

Note, this mobo does not have USB-C so installed is a PCIe controller.
$ lspci -v
	06:00.0 USB controller: ASMedia Technology Inc. ASM3242 USB 3.2 Host Controller (prog-if 30 [XHCI])
It shows as USB bus 3 and 4.
	/:  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

Bus 1 and 2 is on the mobo.

I expect that the mtp/thunar messages are not relevant but I left them in.

Speed is from 'hdparm -t'.

1) Using the C-C cables,	speed 33.64 MB/sec

Dec  8 20:04:26 e7 kernel: usb 3-1: new high-speed USB device number 18 using xhci_hcd
Dec  8 20:04:27 e7 kernel: usb 3-1: New USB device found, idVendor=0bda, idProduct=9210, bcdDevice=20.01
Dec  8 20:04:27 e7 kernel: usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Dec  8 20:04:27 e7 kernel: usb 3-1: Product: RTL9210B-CG
Dec  8 20:04:27 e7 kernel: usb 3-1: Manufacturer: Realtek
Dec  8 20:04:27 e7 kernel: usb 3-1: SerialNumber: 012345679039
Dec  8 20:04:27 e7 kernel: usb-storage 3-1:1.0: USB Mass Storage device detected
Dec  8 20:04:27 e7 kernel: scsi host7: usb-storage 3-1:1.0
Dec  8 20:04:27 e7 mtp-probe[3926339]: checking bus 3, device 18: "/sys/devices/pci0000:00/0000:00:1c.4/0000:06:00.0/usb3/3-1"
Dec  8 20:04:27 e7 mtp-probe[3926339]: bus: 3, device: 18 was not an MTP device
Dec  8 20:04:27 e7 mtp-probe[3926349]: checking bus 3, device 18: "/sys/devices/pci0000:00/0000:00:1c.4/0000:06:00.0/usb3/3-1"
Dec  8 20:04:27 e7 mtp-probe[3926349]: bus: 3, device: 18 was not an MTP device
Dec  8 20:04:27 e7 thunar-volman[3926344]: Couldn't connect to accessibility bus: Failed to connect to socket /root/.cache/at-spi/bus_0: Permission denied
Dec  8 20:04:27 e7 Thunar[3926344]: thunar-volman: Unsupported USB device type "usb".
Dec  8 20:04:27 e7 thunar-volman[3926359]: Couldn't connect to accessibility bus: Failed to connect to socket /root/.cache/at-spi/bus_0: Permission denied
Dec  8 20:04:27 e7 Thunar[3926359]: thunar-volman: Unsupported USB device type "usb-storage".
Dec  8 20:04:28 e7 kernel: scsi 7:0:0:0: Direct-Access     Realtek  RTL9210B-CG      1.00 PQ: 0 ANSI: 6
Dec  8 20:04:28 e7 kernel: sd 7:0:0:0: Attached scsi generic sg9 type 0
Dec  8 20:04:28 e7 kernel: sd 7:0:0:0: [sdi] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
Dec  8 20:04:28 e7 kernel: sd 7:0:0:0: [sdi] Write Protect is off
Dec  8 20:04:28 e7 kernel: sd 7:0:0:0: [sdi] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Dec  8 20:04:28 e7 kernel: sd 7:0:0:0: [sdi] Attached SCSI disk
-- lshw
 *-usb
      description: Mass storage device
      product: RTL9210B-CG
      vendor: Realtek
      physical id: 1
      bus info: usb@3:1
      logical name: scsi7
      version: 20.01
      serial: 012345679039
      capabilities: usb-2.10 scsi emulated scsi-host
      configuration: driver=usb-storage maxpower=500mA speed=480Mbit/s
    *-disk
         description: SCSI Disk
         product: RTL9210B-CG
         vendor: Realtek
         physical id: 0.0.0
         bus info: scsi@7:0.0.0
         logical name: /dev/sdi
         version: 1.00
         serial: 0000000000000000
         size: 931GiB (1TB)
         configuration: ansiversion=6 logicalsectorsize=512 sectorsize=512

2) Then connected to a USB3 port using a C-USB3 cable: speed 441.36 MB/sec

Dec  8 20:19:37 e7 kernel: usb 2-7: new SuperSpeed USB device number 19 using xhci_hcd
Dec  8 20:19:37 e7 kernel: usb 2-7: New USB device found, idVendor=0bda, idProduct=9210, bcdDevice=20.01
Dec  8 20:19:37 e7 kernel: usb 2-7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Dec  8 20:19:37 e7 kernel: usb 2-7: Product: RTL9210B-CG
Dec  8 20:19:37 e7 kernel: usb 2-7: Manufacturer: Realtek
Dec  8 20:19:37 e7 kernel: usb 2-7: SerialNumber: 012345679039
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.
Dec  8 20:19:37 e7 kernel: scsi host7: uas
Dec  8 20:19:37 e7 mtp-probe[3935963]: checking bus 2, device 19: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-7"
Dec  8 20:19:37 e7 kernel: scsi 7:0:0:0: Direct-Access     Realtek  RTL9210B-CG      1.00 PQ: 0 ANSI: 6
Dec  8 20:19:37 e7 mtp-probe[3935963]: bus: 2, device: 19 was not an MTP device
Dec  8 20:19:37 e7 mtp-probe[3935973]: checking bus 2, device 19: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-7"
Dec  8 20:19:37 e7 mtp-probe[3935973]: bus: 2, device: 19 was not an MTP device
Dec  8 20:19:37 e7 thunar-volman[3935968]: Couldn't connect to accessibility bus: Failed to connect to socket /root/.cache/at-spi/bus_0: Permission denied
Dec  8 20:19:37 e7 Thunar[3935968]: thunar-volman: Unsupported USB device type "usb".
Dec  8 20:19:37 e7 kernel: sd 7:0:0:0: Attached scsi generic sg9 type 0
Dec  8 20:19:37 e7 kernel: sd 7:0:0:0: [sdi] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
Dec  8 20:19:37 e7 thunar-volman[3935986]: Couldn't connect to accessibility bus: Failed to connect to socket /root/.cache/at-spi/bus_0: Permission denied
Dec  8 20:19:37 e7 kernel: sd 7:0:0:0: [sdi] Write Protect is off
Dec  8 20:19:37 e7 Thunar[3935986]: thunar-volman: Unsupported USB device type "uas".
Dec  8 20:19:37 e7 kernel: sd 7:0:0:0: [sdi] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Dec  8 20:19:37 e7 kernel: sd 7:0:0:0: [sdi] Preferred minimum I/O size 512 bytes
Dec  8 20:19:37 e7 kernel: sd 7:0:0:0: [sdi] Optimal transfer size 33553920 bytes
Dec  8 20:19:38 e7 kernel: sd 7:0:0:0: [sdi] Attached SCSI disk
## lshw
 *-usb:3
      description: Mass storage device
      product: RTL9210B-CG
      vendor: Realtek
      physical id: 7
      bus info: usb@2:7
      logical name: scsi7
      version: 20.01
      serial: 012345679039
      capabilities: usb-3.20 scsi
      configuration: driver=uas maxpower=896mA speed=5000Mbit/s
    *-disk
         description: SCSI Disk
         product: RTL9210B-CG
         vendor: Realtek
         physical id: 0.0.0
         bus info: scsi@7:0.0.0
         logical name: /dev/sdi
         version: 1.00
         serial: 0000000000000000
         size: 931GiB (1TB)
         configuration: ansiversion=6 logicalsectorsize=512 sectorsize=2048

3) Finally, again C-C using a C->USB3 then USB3->C, speed 1006.17 MB/sec

Dec  8 20:28:22 e7 kernel: usb 4-1: new SuperSpeed USB device number 18 using xhci_hcd
Dec  8 20:28:22 e7 kernel: usb 4-1: New USB device found, idVendor=0bda, idProduct=9210, bcdDevice=20.01
Dec  8 20:28:22 e7 kernel: usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Dec  8 20:28:22 e7 kernel: usb 4-1: Product: RTL9210B-CG
Dec  8 20:28:22 e7 kernel: usb 4-1: Manufacturer: Realtek
Dec  8 20:28:22 e7 kernel: usb 4-1: SerialNumber: 012345679039
Dec  8 20:28:22 e7 kernel: scsi host7: uas
Dec  8 20:28:22 e7 kernel: scsi 7:0:0:0: Direct-Access     Realtek  RTL9210B-CG      1.00 PQ: 0 ANSI: 6
Dec  8 20:28:22 e7 mtp-probe[3938049]: checking bus 4, device 18: "/sys/devices/pci0000:00/0000:00:1c.4/0000:06:00.0/usb4/4-1"
Dec  8 20:28:22 e7 mtp-probe[3938049]: bus: 4, device: 18 was not an MTP device
Dec  8 20:28:22 e7 mtp-probe[3938060]: checking bus 4, device 18: "/sys/devices/pci0000:00/0000:00:1c.4/0000:06:00.0/usb4/4-1"
Dec  8 20:28:22 e7 mtp-probe[3938060]: bus: 4, device: 18 was not an MTP device
Dec  8 20:28:22 e7 thunar-volman[3938054]: Couldn't connect to accessibility bus: Failed to connect to socket /root/.cache/at-spi/bus_0: Permission denied
Dec  8 20:28:22 e7 kernel: sd 7:0:0:0: Attached scsi generic sg9 type 0
Dec  8 20:28:22 e7 kernel: sd 7:0:0:0: [sdi] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
Dec  8 20:28:22 e7 Thunar[3938054]: thunar-volman: Unsupported USB device type "usb".
Dec  8 20:28:22 e7 kernel: sd 7:0:0:0: [sdi] Write Protect is off
Dec  8 20:28:22 e7 thunar-volman[3938073]: Couldn't connect to accessibility bus: Failed to connect to socket /root/.cache/at-spi/bus_0: Permission denied
Dec  8 20:28:22 e7 kernel: sd 7:0:0:0: [sdi] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Dec  8 20:28:22 e7 Thunar[3938073]: thunar-volman: Unsupported USB device type "uas".
Dec  8 20:28:22 e7 kernel: sd 7:0:0:0: [sdi] Preferred minimum I/O size 512 bytes
Dec  8 20:28:22 e7 kernel: sd 7:0:0:0: [sdi] Optimal transfer size 33553920 bytes
Dec  8 20:28:22 e7 kernel: sd 7:0:0:0: [sdi] Attached SCSI disk
## lshw
 *-usb
      description: Mass storage device
      product: RTL9210B-CG
      vendor: Realtek
      physical id: 1
      bus info: usb@4:1
      logical name: scsi7
      version: 20.01
      serial: 012345679039
      capabilities: usb-3.20 scsi
      configuration: driver=uas maxpower=896mA speed=5000Mbit/s
    *-disk
         description: SCSI Disk
         product: RTL9210B-CG
         vendor: Realtek
         physical id: 0.0.0
         bus info: scsi@7:0.0.0
         logical name: /dev/sdi
         version: 1.00
         serial: 0000000000000000
         size: 931GiB (1TB)
         configuration: ansiversion=6 logicalsectorsize=512 sectorsize=2048

HTH

--
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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux