system76 / firmware-open

System76 Open Firmware
Other
967 stars 84 forks source link

`lemp12` usb-c port detecting devices at usb 2.0 speeds #511

Closed thomas-zimmerman closed 3 months ago

thomas-zimmerman commented 10 months ago

This was found with a Gigabyte USB Ethernet adapters that all are limited to ~300MB speeds when attached to the USB-C port but get full speeds when moved to the USB-A ports.

Additional info

Looking at the kernel logs, devices attached to the USB-A port are detected as "SuperSpeed" devices, while all of the devices that I attached via the USB-C port are getting "high-speed" settings from the kernel.

leviport commented 8 months ago

Since lemp13 had something similar which was fixed in the lemp13 firmware-open branch, I also tried that lemp13 branch on the lemp12 to see if it fixes this. It does not, unfortunately.

crawfxrd commented 5 months ago

Is this reproducible with storage devices?

Is it limited to lemp12 or do other ADL/RPL systems have the issue?

leviport commented 5 months ago

Yep, benchmarking my USB-C SSD that I use for Ventoy with Gnome Disks shows me speeds around 40MB/s.

Benchmarking the same drive on both USB-C ports on darp8 gives me ~1GB/s

leviport commented 5 months ago

After flashing https://github.com/system76/coreboot/pull/227, I'm seeing benchmark speeds on the USB-C port hit ~1GB/s as expected

leviport commented 3 months ago

The firmware update fixing this has passed testing and is currently being released.