diff options
| author | 2024-08-01 00:02:54 +0200 | |
|---|---|---|
| committer | 2024-09-14 16:04:35 +0200 | |
| commit | a2dceac6e61c2363c28c2e652473215ac20c0c67 (patch) | |
| tree | db6de3e29af0fdcdcd18d7ae2b8deac10f960c65 /src/usb.c | |
| 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
Diffstat (limited to 'src/usb.c')
| -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 | |||
| 615 | case LIBUSB_SPEED_SUPER: | 615 | case LIBUSB_SPEED_SUPER: |
| 616 | usbdev->speed = 5000000000; | 616 | usbdev->speed = 5000000000; |
| 617 | break; | 617 | break; |
| 618 | case LIBUSB_SPEED_SUPER_PLUS: | ||
| 619 | usbdev->speed = 10000000000; | ||
| 620 | break; | ||
| 618 | case LIBUSB_SPEED_HIGH: | 621 | case LIBUSB_SPEED_HIGH: |
| 619 | case LIBUSB_SPEED_UNKNOWN: | 622 | case LIBUSB_SPEED_UNKNOWN: |
| 620 | default: | 623 | default: |
