diff options
author | 2024-08-01 00:02:54 +0200 | |
---|---|---|
committer | 2024-09-14 16:04:35 +0200 | |
commit | a2dceac6e61c2363c28c2e652473215ac20c0c67 (patch) | |
tree | db6de3e29af0fdcdcd18d7ae2b8deac10f960c65 | |
parent | 81a4165b4ff6fab72039481e2600a5b68bd638f6 (diff) | |
download | usbmuxd-a2dceac6e61c2363c28c2e652473215ac20c0c67.tar.gz usbmuxd-a2dceac6e61c2363c28c2e652473215ac20c0c67.tar.bz2 |
usb: correctly display 10 Gbps USB 3.x
iPhone 15 Pro/Pro Max support up to 10 Gbps USB 3.x. Add the necessary
case to display the correct link speed.
Requires libusb 1.0.22 (2018-03-25) or newer,
introduced in libusb/libusb@7a91d7cdccaa7dfc3db0828a5230d6260e9338d7
-rw-r--r-- | src/usb.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -615,6 +615,9 @@ static void device_complete_initialization(struct mode_context *context, struct case LIBUSB_SPEED_SUPER: usbdev->speed = 5000000000; break; + case LIBUSB_SPEED_SUPER_PLUS: + usbdev->speed = 10000000000; + break; case LIBUSB_SPEED_HIGH: case LIBUSB_SPEED_UNKNOWN: default: |