Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for SuperSpeed+ Capability Descriptors #1428

Closed
wants to merge 1 commit into from

Conversation

fabiensanglard
Copy link

@fabiensanglard fabiensanglard commented Jan 6, 2024

See specs in USB 3.1 specs in section:

9.6.2.5 SuperSpeedPlus USB Device Capability

Fix issue #1429

libusb/descriptor.c Outdated Show resolved Hide resolved
Copy link
Member

@hjelmn hjelmn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than the one issue. LGTM. Will approve once it is fixed.

@hjelmn
Copy link
Member

hjelmn commented Jan 20, 2024

@tormodvolden This is simple enough it can probably go into 1.0.27. I don't see any issues with the APIs. Needs a second set of eyes though.

libusb/libusb.h Outdated Show resolved Hide resolved
examples/xusb.c Outdated Show resolved Hide resolved
libusb/descriptor.c Outdated Show resolved Hide resolved
libusb/descriptor.c Outdated Show resolved Hide resolved
libusb/libusb.h Outdated Show resolved Hide resolved
@hjelmn
Copy link
Member

hjelmn commented Jan 22, 2024

I pinged the author to see about getting these resolved. If they can get to it soon it is worth considering for 1.0.27 otherwise let's put it in 1.0.28.

@tormodvolden
Copy link
Contributor

We shouldn't try to rush such API changes into 1.0.27. This was proposed even after the RC.

It seems the code has been reviewed, but has the API itself been scrutinized? I see no discussion in #1429 where the author suggests alternatives.

Code we can fix after the release also, new APIs not so much.

@tormodvolden
Copy link
Contributor

In #1429 the author even says this is a WIP PR.

@fabiensanglard
Copy link
Author

I have addressed the actionable comment.

As for the API, I ended up going with something in line with the way libusb deals with other descriptors (a.k.a: Expose a semi-parsed data). Let me know what you think about the alternatives I mentioned in #1429.

@fabiensanglard
Copy link
Author

I have addressed the comments:

  • i is now declared in the loop.
  • i assignment is properly spaced.
  • I found READ_LE32 which is equivalent to memcpy in this case and avoids a function call. Let me know if that is ok.

@seanm
Copy link
Contributor

seanm commented Jan 24, 2024

I found READ_LE32 which is equivalent to memcpy in this case and avoids a function call. Let me know if that is ok.

You underestimate the compiler. :) memcpy is highly optimized and would be better here. See: https://godbolt.org/z/E8hEnfKGE

memcpy is also easier to read and understand than that macro.

@fabiensanglard
Copy link
Author

I also find the macro shorter and easier to read. See the difference:

_ssplus_usb_device_cap->bmSublinkSpeedAttr[i] = READ_LE32(base + i * sizeof(uint32_t));
memcpy(&_ssplus_usb_device_cap->bmSublinkSpeedAttr[i], base + i * sizeof(uint32_t), sizeof(uint32_t));

@seanm
Copy link
Contributor

seanm commented Jan 24, 2024

I also find the macro shorter and easier to read.

I disagree. But wait. More importantly, does this need byte swapping or not? The code I originally commented on does no byte swapping:

uint32_t* attributes_pointer = (uint32_t*)(((uint8_t*)dev_cap) + LIBUSB_BT_SSPLUS_USB_DEVICE_CAPABILITY_SIZE);

memcpy() would also not swap. But READ_LE32 does swap.

Do we want swapping here or not? We have to be clear on that first.

@fabiensanglard
Copy link
Author

Yes we need to swap. I added parsing for the descriptor in xusb example.

@hjelmn
Copy link
Member

hjelmn commented Jan 25, 2024

We need to byteswap here because we are parsing LE data and putting it into a value. If it is not byte swapped it will be wrong on BE systems.

examples/xusb.c Outdated Show resolved Hide resolved
examples/xusb.c Outdated
printf(" attributes : %02X\n", ssplus_usb_device_cap->bmAttributes);
printf(" supported functionality: %04X\n", ssplus_usb_device_cap->wFunctionalitySupport);

int num_sublink_attributes = (ssplus_usb_device_cap->bmAttributes & LIBUSB_SSPLUS_ATTRIBUTE_SSCA_MASK) + 1;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love having this as a variable, but bmAttributes is unsigned, so num_sublink_attributes and i should also be too (unint32_t).

libusb/descriptor.c Outdated Show resolved Hide resolved
libusb/libusb.h Outdated Show resolved Hide resolved
libusb/libusb.h Outdated
/** An array of sublink speed attributes. See \ref bmAttributes for
* the number of attributes (ssac+1).
*/
uint32_t* bmSublinkSpeedAttr;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had another thought here: could this be a flexible array member, since it's at the end and variable length? Because then we could tag its length a la #1409

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no opinion about this. I will let the admin decice.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the comments above this struct you say "This descriptor is documented in section 9.6.2.5 of the USB 3.1 specification". Does it mean it has to match some preexisting/predefined structure?

The fact that modern compilers can do some range checking of flexible array members is very valuable, and I think makes it preferable over a raw uint32_t.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait, did this go away? I don't seem to find "bmSublinkSpeedAttr" anymore?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes this is renaned. I asked what the maintainer preferred and they opted for a struct exposing parsed values (vs raw values from the descriptor) so we don't need to stick to spec names.

@mcuee
Copy link
Member

mcuee commented Feb 7, 2024

I will try to carry out simple tests later this week.

Hmm, I can not find any SuperSpeed+ devices to test as of now. Sorry.

I find out that my Dell WD19TB Thunderbolt Docking Station supports 10Gbps. Unfortunately I can not test under Windows because of another issue, even after I change the driver to WinUSB.

There is a draft patch from @tormodvolden to address #1302, I will see if I can adopt that patch here. But it does not seem to be easy...

Maybe I should test the dock under Linux.

@mcuee
Copy link
Member

mcuee commented Feb 7, 2024

Reference output from USBview (Microsoft) and USB Device Tree Viewer.

Microsoft USBview

          ===>SuperSpeed USB Device Capability Descriptor<===
bLength:                           0x0A
bDescriptorType:                   0x10
bDevCapabilityType:                0x03
bmAttributes:                      0x00
wSpeedsSupported:                  0x0E
  -> Supports full-speed operation
  -> Supports high-speed operation
  -> Supports SuperSpeed operation
bFunctionalitySupport:             0x01 -> lowest speed = full-speed
bU1DevExitLat:                     0x0A -> less than 10 micro-seconds
wU2DevExitLat:                     0x03FF -> less than 1023 micro-seconds

          ===>SuperSpeed USB Device Capability Descriptor<===
bLength:                           0x1C
bDescriptorType:                   0x10
bDevCapabilityType:                0x0A
bReserved:                         0x00
bmAttributes:                      0x00000023
  SublinkSpeedAttrCount:           0x03
  SublinkSpeedIDCount:             0x01
wFunctionalitySupport:             0x1100
  SublinkSpeedAttrID:              0x00
  Reserved:                        0x00
  MinRxLaneCount:                  0x01
  MinTxLaneCount:                  0x01
wReserved:                         0x0000
bmSublinkSpeedAttr #:              0x00
  SublinkSpeedAttrID:              0x00
  LaneSpeedExponent:               0x03 -> Gb/s
  SublinkTypeMode:                 0x00 -> Symmetric
  SublinkTypeDir:                  0x00 -> Receive mode
  Reserved:                        0x00
  LinkProtocol:                    0x00 -> SuperSpeed
  LaneSpeedMantissa:               0x0005
bmSublinkSpeedAttr #:              0x01
  SublinkSpeedAttrID:              0x00
  LaneSpeedExponent:               0x03 -> Gb/s
  SublinkTypeMode:                 0x00 -> Symmetric
  SublinkTypeDir:                  0x01 -> Transmit mode
  Reserved:                        0x00
  LinkProtocol:                    0x00 -> SuperSpeed
  LaneSpeedMantissa:               0x0005
bmSublinkSpeedAttr #:              0x02
  SublinkSpeedAttrID:              0x01
  LaneSpeedExponent:               0x03 -> Gb/s
  SublinkTypeMode:                 0x00 -> Symmetric
  SublinkTypeDir:                  0x00 -> Receive mode
  Reserved:                        0x00
  LinkProtocol:                    0x01 -> SuperSpeedPlus
  LaneSpeedMantissa:               0x000A
bmSublinkSpeedAttr #:              0x03
  SublinkSpeedAttrID:              0x01
  LaneSpeedExponent:               0x03 -> Gb/s
  SublinkTypeMode:                 0x00 -> Symmetric
  SublinkTypeDir:                  0x01 -> Transmit mode
  Reserved:                        0x00
  LinkProtocol:                    0x01 -> SuperSpeedPlus
  LaneSpeedMantissa:               0x000A


USBTreeview

        ----- SuperSpeed USB Device Capability Descriptor -----
bLength                  : 0x0A (10 bytes)
bDescriptorType          : 0x10 (Device Capability Descriptor)
bDevCapabilityType       : 0x03 (SuperSpeed USB Device Capability)
bmAttributes             : 0x00
 Bit 0 Reserved          : 0x00
 Bit 1 LTM Capable       : 0x00 (no)
 Bit 7:2 Reserved        : 0x00
wSpeedsSupported         : 0x0E (Full-Speed, High-Speed, SuperSpeed)
bFunctionalitySupport    : 0x01 (lowest speed with all the functionality is 'Full-Speed')
bU1DevExitLat            : 0x0A   (less than 10 µs)
wU2DevExitLat            : 0x03FF (less than 1023 µs)
Data (HexDump)           : 0A 10 03 00 0E 00 01 0A FF 03                     ..........

        --------- SuperSpeedPlus USB Device Capability --------
bLength                  : 0x1C (28 bytes)
bDescriptorType          : 0x10 (Device Capability Descriptor)
bDevCapabilityType       : 0x0A (SUPERSPEED_PLUS)
bReserved                : 0x00
bmAttributes             : 0x00000023
 Bit 4:0 SSAC            : 0x03 (4 Sublink Speed Attributes)
 Bit 8:5 SSIC            : 0x01 (2 Sublink Speed IDs)
wFunctionalitySupport    : 0x1100
 Bit 3:0 SSID            : 0x00 (0)
 Bit 7:4 Reserved        : 0x00 (0)
 Bit 11:8 Min Rx Lanes   : 0x01 (1)
 Bit 15:12 Min Tx Lanes  : 0x01 (1)
wReserved                : 0x00
bmSublinkSpeedAttr0      : 0x00050030
 Bit 3:0 SSID            : 0x00 (Sublink Speed Attribute ID 0)
 Bit 5:4 LSE             : 0x03 (Lane Speed Exponent is 9 -> Gbit/s)
 Bit 7:6 ST              : 0x00 (Symmetric, Receive Mode)
 Bit 13:8 Reserved       : 0x00
 Bit 15:14 LP            : 0x00 (SuperSpeed)
 Bit 31:16 LSM           : 0x0005 (Lane Speed Mantissa is 5)
bmSublinkSpeedAttr1      : 0x000500B0
 Bit 3:0 SSID            : 0x00 (Sublink Speed Attribute ID 0)
 Bit 5:4 LSE             : 0x03 (Lane Speed Exponent is 9 -> Gbit/s)
 Bit 7:6 ST              : 0x02 (Symmetric, Transmit Mode)
 Bit 13:8 Reserved       : 0x00
 Bit 15:14 LP            : 0x00 (SuperSpeed)
 Bit 31:16 LSM           : 0x0005 (Lane Speed Mantissa is 5)
bmSublinkSpeedAttr2      : 0x000A4031
 Bit 3:0 SSID            : 0x01 (Sublink Speed Attribute ID 1)
 Bit 5:4 LSE             : 0x03 (Lane Speed Exponent is 9 -> Gbit/s)
 Bit 7:6 ST              : 0x00 (Symmetric, Receive Mode)
 Bit 13:8 Reserved       : 0x00
 Bit 15:14 LP            : 0x01 (SuperSpeedPlus)
 Bit 31:16 LSM           : 0x000A (Lane Speed Mantissa is 10)
bmSublinkSpeedAttr3      : 0x000A40B1
 Bit 3:0 SSID            : 0x01 (Sublink Speed Attribute ID 1)
 Bit 5:4 LSE             : 0x03 (Lane Speed Exponent is 9 -> Gbit/s)
 Bit 7:6 ST              : 0x02 (Symmetric, Transmit Mode)
 Bit 13:8 Reserved       : 0x00
 Bit 15:14 LP            : 0x01 (SuperSpeedPlus)
 Bit 31:16 LSM           : 0x000A (Lane Speed Mantissa is 10)
-> max Rx Speed          : 10 Gbit/s
-> max Tx Speed          : 10 Gbit/s

@mcuee
Copy link
Member

mcuee commented Feb 7, 2024

And this is the output from Linux (Ubuntu 20.04). This PR seems to work fine.

mcuee@UbuntuSwift3 ~/build/libusb/libusb_pr1428 (ss+)$ sudo ./examples/xusb 0bda:0487
Using libusb v1.0.27.11850

Opening device 0BDA:0487...

Reading device descriptor:
            length: 18
      device class: 9
               S/N: 0
           VID:PID: 0BDA:0487
         bcdDevice: 0147
   iMan:iProd:iSer: 1:2:0
          nb confs: 1

Reading BOS descriptor: 5 caps
    USB 2.0 extension:
      attributes             : F41E
    USB 3.0 capabilities:
      attributes             : 00
      supported speeds       : 000E
      supported functionality: 01
    USB 3.1 capabilities:
      num speed speed IDs: 4
      minLaneSpeed: 0
      minRXLanes: 1
      minTXLanes: 1
      num speed attribute IDs: 4
                  id=0 speed=5Gbs Sym RX SuperSpeed
                  id=0 speed=5Gbs Sym TX SuperSpeed
                  id=1 speed=10Gbs Sym RX SuperSpeed+
                  id=1 speed=10Gbs Sym TX SuperSpeed+
    Container ID:
      {e5cdb920-3970-11e0-a935-0002a5d5c51b}
    Unknown BOS device capability 0b:

Reading first configuration descriptor:
              total length: 31
         descriptor length: 9
             nb interfaces: 1
              interface[0]: id = 0
interface[0].altsetting[0]: num endpoints = 1
   Class.SubClass.Protocol: 09.00.00
       endpoint[0].address: 81
           max packet size: 0002
          polling interval: 08
                 max burst: 00   (USB 3.0)
        bytes per interval: 0002 (USB 3.0)

Kernel driver attached for interface 0: yes

Claiming interface 0...

Reading string descriptors:
   String (0x01): "Dell Inc."
   String (0x02): "Dell dock"

Reading OS string descriptor: no descriptor

Reading interface association descriptors (IADs) for first configuration:
    nb IADs: 0

Releasing interface 0...
Closing device...

Linux lsusb output for reference as well.

mcuee@UbuntuSwift3 ~/build/libusb/libusb_pr1428 (ss+)$ sudo lsusb -vvv -d 0bda:0487

Bus 006 Device 002: ID 0bda:0487 Realtek Semiconductor Corp. Dell dock
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 [unknown]
  bDeviceProtocol         3 
  bMaxPacketSize0         9
  idVendor           0x0bda Realtek Semiconductor Corp.
  idProduct          0x0487 Dell dock
  bcdDevice            1.47
  iManufacturer           1 Dell Inc.
  iProduct                2 Dell dock
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x001f
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          4 USB3.0 Hub
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 [unknown]
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              5 Interrupt In Interface
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes           19
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Feedback
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval               8
        bMaxBurst               0
Binary Object Store Descriptor:
  bLength                 5
  bDescriptorType        15
  wTotalLength       0x0049
  bNumDeviceCaps          5
  USB 2.0 Extension Device Capability:
    bLength                 7
    bDescriptorType        16
    bDevCapabilityType      2
    bmAttributes   0x0000f41e
      BESL Link Power Management (LPM) Supported
    BESL value     1024 us 
    Deep BESL value    61440 us 
  SuperSpeed USB Device Capability:
    bLength                10
    bDescriptorType        16
    bDevCapabilityType      3
    bmAttributes         0x00
    wSpeedsSupported   0x000e
      Device can operate at Full Speed (12Mbps)
      Device can operate at High Speed (480Mbps)
      Device can operate at SuperSpeed (5Gbps)
    bFunctionalitySupport   1
      Lowest fully-functional device speed is Full Speed (12Mbps)
    bU1DevExitLat          10 micro seconds
    bU2DevExitLat        1023 micro seconds
  SuperSpeedPlus USB Device Capability:
    bLength                28
    bDescriptorType        16
    bDevCapabilityType     10
    bmAttributes         0x00000023
      Sublink Speed Attribute count 4
      Sublink Speed ID count 2
    wFunctionalitySupport   0x1100
      Min functional Speed Attribute ID: 0
      Min functional RX lanes: 1
      Min functional TX lanes: 1
    bmSublinkSpeedAttr[0]   0x00050030
      Speed Attribute ID: 0 5Gb/s Symmetric RX SuperSpeed
    bmSublinkSpeedAttr[1]   0x000500b0
      Speed Attribute ID: 0 5Gb/s Symmetric TX SuperSpeed
    bmSublinkSpeedAttr[2]   0x000a4031
      Speed Attribute ID: 1 10Gb/s Symmetric RX SuperSpeedPlus
    bmSublinkSpeedAttr[3]   0x000a40b1
      Speed Attribute ID: 1 10Gb/s Symmetric TX SuperSpeedPlus
  Container ID Device Capability:
    bLength                20
    bDescriptorType        16
    bDevCapabilityType      4
    bReserved               0
    ContainerID             {20b9cde5-7039-e011-a935-0002a5d5c51b}
  ** UNRECOGNIZED:  03 10 0b
Hub Descriptor:
  bLength              12
  bDescriptorType      42
  nNbrPorts             4
  wHubCharacteristic 0x000d
    Per-port power switching
    Compound device
    Per-port overcurrent protection
  bPwrOn2PwrGood        0 * 2 milli seconds
  bHubContrCurrent      8 milli Ampere
  bHubDecLat          0.2 micro seconds
  wHubDelay          2290 nano seconds
  DeviceRemovable    0x08
 Hub Port Status:
   Port 1: 0000.02a0 5Gbps power Rx.Detect
   Port 2: 0000.02a0 5Gbps power Rx.Detect
   Port 3: 0000.0263 5Gbps power suspend enable connect
     Ext Status: 0000.0000
       RX Speed Attribute ID: 0 Lanes: 1
       TX Speed Attribute ID: 0 Lanes: 1
   Port 4: 0000.0203 5Gbps power U0 enable connect
     Ext Status: 0000.0000
       RX Speed Attribute ID: 0 Lanes: 1
       TX Speed Attribute ID: 0 Lanes: 1
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0001
  Self Powered

@fabiensanglard
Copy link
Author

Thank you so much for the test @mcuee ! It looks like there was only one problem with num speed speed IDs: 4. I have fixed the typo and force pushed. All other fields are looking good. Ready to re-test.

@mcuee
Copy link
Member

mcuee commented Feb 8, 2024

Thank you so much for the test @mcuee ! It looks like there was only one problem with num speed speed IDs: 4. I have fixed the typo and force pushed. All other fields are looking good. Ready to re-test.

Sorry but what does this num speed speed IDs means here? Thanks.

The new test results:

mcuee@UbuntuSwift3 ~/build/libusb/libusb_pr1428 (ss+)$ sudo ./examples/xusb 0bda:0487
Using libusb v1.0.27.11850

Opening device 0BDA:0487...
libusb: error [udev_hotplug_event] ignoring udev action change

Reading device descriptor:
            length: 18
      device class: 9
               S/N: 0
           VID:PID: 0BDA:0487
         bcdDevice: 0147
   iMan:iProd:iSer: 1:2:0
          nb confs: 1

Reading BOS descriptor: 5 caps
    USB 2.0 extension:
      attributes             : F41E
    USB 3.0 capabilities:
      attributes             : 00
      supported speeds       : 000E
      supported functionality: 01
    USB 3.1 capabilities:
      num speed IDs: 3
      minLaneSpeed: 0
      minRXLanes: 1
      minTXLanes: 1
      num speed attribute IDs: 4
                  id=0 speed=5Gbs Sym RX SuperSpeed
                  id=0 speed=5Gbs Sym TX SuperSpeed
                  id=1 speed=10Gbs Sym RX SuperSpeed+
                  id=1 speed=10Gbs Sym TX SuperSpeed+
    Container ID:
      {e5cdb920-3970-11e0-a935-0002a5d5c51b}
    Unknown BOS device capability 0b:

Reading first configuration descriptor:
              total length: 31
         descriptor length: 9
             nb interfaces: 1
              interface[0]: id = 0
interface[0].altsetting[0]: num endpoints = 1
   Class.SubClass.Protocol: 09.00.00
       endpoint[0].address: 81
           max packet size: 0002
          polling interval: 08
                 max burst: 00   (USB 3.0)
        bytes per interval: 0002 (USB 3.0)

Kernel driver attached for interface 0: yes

Claiming interface 0...

Reading string descriptors:
   String (0x01): "Dell Inc."
   String (0x02): "Dell dock"

Reading OS string descriptor: no descriptor

Reading interface association descriptors (IADs) for first configuration:
    nb IADs: 0

Releasing interface 0...
Closing device...

@fabiensanglard
Copy link
Author

Sorry but what does this num speed speed IDs means here?

This is a field from the SuperSpeedPlus USB Device Capability (see specs)

9.6.2.5 SuperSpeedPlus USB Device Capability
Sublink Speed ID Count (SSIC). The number of unique Sublink Speed IDs supported by the device.
The number of Sublink Speed IDs = SSIC + 1.

@mcuee
Copy link
Member

mcuee commented Feb 13, 2024

Tested under macOS 14.3.

mcuee@mcuees-Mac-mini libusb_pr1428 % sudo ./examples/xusb 0BDA:0487  
Password:
Using libusb v1.0.27.11850

Opening device 0BDA:0487...
libusb: warning [darwin_open] USBDeviceOpen: another process has device opened for exclusive access

Reading device descriptor:
            length: 18
      device class: 9
               S/N: 0
           VID:PID: 0BDA:0487
         bcdDevice: 0147
   iMan:iProd:iSer: 1:2:0
          nb confs: 1

Reading BOS descriptor: 5 caps
    USB 2.0 extension:
      attributes             : F41E
    USB 3.0 capabilities:
      attributes             : 00
      supported speeds       : 000E
      supported functionality: 01
    USB 3.1 capabilities:
      num speed IDs: 3
      minLaneSpeed: 0
      minRXLanes: 1
      minTXLanes: 1
      num speed attribute IDs: 4
                  id=0 speed=5Gbs Sym RX SuperSpeed
                  id=0 speed=5Gbs Sym TX SuperSpeed
                  id=1 speed=10Gbs Sym RX SuperSpeed+
                  id=1 speed=10Gbs Sym TX SuperSpeed+
    Container ID:
      {e5cdb920-3970-11e0-a935-0002a5d5c51b}
    Unknown BOS device capability 0b:

Reading first configuration descriptor:
              total length: 31
         descriptor length: 9
             nb interfaces: 1
              interface[0]: id = 0
interface[0].altsetting[0]: num endpoints = 1
   Class.SubClass.Protocol: 09.00.00
       endpoint[0].address: 81
           max packet size: 0002
          polling interval: 08
                 max burst: 00   (USB 3.0)
        bytes per interval: 0002 (USB 3.0)


   Failed (error -5) Entity not found
Kernel driver attached for interface 0: 
Claiming interface 0...
libusb: info [darwin_detach_kernel_driver] no capture entitlements. may not be able to detach the kernel driver for this device

Reading string descriptors:
   String (0x01): "Dell Inc."
   String (0x02): "Dell dock"

Reading OS string descriptor: no descriptor

Reading interface association descriptors (IADs) for first configuration:
    nb IADs: 0

Releasing interface 0...
zsh: segmentation fault  sudo ./examples/xusb 0BDA:0487

@mcuee
Copy link
Member

mcuee commented Feb 13, 2024

@fabiensanglard

So there is a segfault issue under macOS. libusb 1.0.27 release does not have this issue.

mcuee@mcuees-Mac-mini libusb-1.0.27 % sudo ./examples/xusb 0BDA:0487
Using libusb v1.0.27.11882

Opening device 0BDA:0487...
libusb: warning [darwin_open] USBDeviceOpen: another process has device opened for exclusive access

Reading device descriptor:
            length: 18
      device class: 9
               S/N: 0
           VID:PID: 0BDA:0487
         bcdDevice: 0147
   iMan:iProd:iSer: 1:2:0
          nb confs: 1

Reading BOS descriptor: 5 caps
    USB 2.0 extension:
      attributes             : F41E
    USB 3.0 capabilities:
      attributes             : 00
      supported speeds       : 000E
      supported functionality: 01
    Unknown BOS device capability 0a:
    Container ID:
      {e5cdb920-3970-11e0-a935-0002a5d5c51b}
    Unknown BOS device capability 0b:

Reading first configuration descriptor:
              total length: 31
         descriptor length: 9
             nb interfaces: 1
              interface[0]: id = 0
interface[0].altsetting[0]: num endpoints = 1
   Class.SubClass.Protocol: 09.00.00
       endpoint[0].address: 81
           max packet size: 0002
          polling interval: 08
                 max burst: 00   (USB 3.0)
        bytes per interval: 0002 (USB 3.0)


   Failed (error -5) Entity not found
Kernel driver attached for interface 0: 
Claiming interface 0...
libusb: info [darwin_detach_kernel_driver] no capture entitlements. may not be able to detach the kernel driver for this device

Reading string descriptors:
   String (0x01): "Dell Inc."
   String (0x02): "Dell dock"

Reading OS string descriptor: no descriptor

Reading interface association descriptors (IADs) for first configuration:
    nb IADs: 0

Releasing interface 0...
libusb: warning [darwin_open] USBDeviceOpen: another process has device opened for exclusive access
libusb: info [darwin_claim_interface] USBInterfaceOpen: another process has device opened for exclusive access
libusb: info [darwin_capture_release_interface] on attempt to reattach the kernel driver got ret=-5
Closing device...

@mcuee
Copy link
Member

mcuee commented Feb 13, 2024

Debug log using Apple Address Sanitizer.
https://developer.apple.com/documentation/xcode/diagnosing-memory-thread-and-crash-issues-early

mcuee@mcuees-Mac-mini libusb_pr1428 % cd debug_clang 

mcuee@mcuees-Mac-mini debug_clang % CFLAGS="-g -fsanitize=address" ../configure --enable-examples-build --enable-tests-build

mcuee@mcuees-Mac-mini debug_clang % make

mcuee@mcuees-Mac-mini debug_clang % sudo ./examples/xusb 0BDA:0487                                                          
Using libusb v1.0.27.11850

Opening device 0BDA:0487...
libusb: warning [darwin_open] USBDeviceOpen: another process has device opened for exclusive access

Reading device descriptor:
            length: 18
      device class: 9
               S/N: 0
           VID:PID: 0BDA:0487
         bcdDevice: 0147
   iMan:iProd:iSer: 1:2:0
          nb confs: 1

Reading BOS descriptor: 5 caps
    USB 2.0 extension:
      attributes             : F41E
    USB 3.0 capabilities:
      attributes             : 00
      supported speeds       : 000E
      supported functionality: 01
    USB 3.1 capabilities:
      num speed IDs: 3
      minLaneSpeed: 0
      minRXLanes: 1
      minTXLanes: 1
      num speed attribute IDs: 4
                  id=0 speed=5Gbs Sym RX SuperSpeed
                  id=0 speed=5Gbs Sym TX SuperSpeed
                  id=1 speed=10Gbs Sym RX SuperSpeed+
                  id=1 speed=10Gbs Sym TX SuperSpeed+
    Container ID:
      {e5cdb920-3970-11e0-a935-0002a5d5c51b}
    Unknown BOS device capability 0b:

Reading first configuration descriptor:
              total length: 31
         descriptor length: 9
             nb interfaces: 1
              interface[0]: id = 0
interface[0].altsetting[0]: num endpoints = 1
   Class.SubClass.Protocol: 09.00.00
       endpoint[0].address: 81
           max packet size: 0002
          polling interval: 08
                 max burst: 00   (USB 3.0)
        bytes per interval: 0002 (USB 3.0)


   Failed (error -5) Entity not found
Kernel driver attached for interface 0: 
Claiming interface 0...
libusb: info [darwin_detach_kernel_driver] no capture entitlements. may not be able to detach the kernel driver for this device

Reading string descriptors:
   String (0x01): "Dell Inc."
   String (0x02): "Dell dock"

Reading OS string descriptor: no descriptor

Reading interface association descriptors (IADs) for first configuration:
    nb IADs: 0

Releasing interface 0...
=================================================================
==12347==ERROR: AddressSanitizer: heap-use-after-free on address 0x000107b089a0 at pc 0x000104d98b60 bp 0x00016b5bde70 sp 0x00016b5bde68
READ of size 8 at 0x000107b089a0 thread T0
    #0 0x104d98b5c in darwin_reenumerate_device darwin_usb.c:2118
    #1 0x104d85874 in darwin_attach_kernel_driver darwin_usb.c:2844
    #2 0x104d82dd4 in darwin_capture_release_interface darwin_usb.c:2869
    #3 0x104d5dc74 in libusb_release_interface core.c:1832
    #4 0x104845c1c in test_device xusb.c:1057
    #5 0x104842210 in main xusb.c:1215
    #6 0x18a8dd0dc  (<unknown module>)

0x000107b089a0 is located 32 bytes inside of 128-byte region [0x000107b08980,0x000107b08a00)
freed by thread T1 here:
    #0 0x105259bcc in wrap__ZdlPv+0x74 (libclang_rt.asan_osx_dynamic.dylib:arm64e+0x61bcc)
    #1 0x104ba3490 in IOUSBIUnknown::release()+0x48 (IOUSBLib:arm64e+0x3490)
    #2 0x104d8a1e4 in darwin_devices_detached darwin_usb.c:656
    #3 0x18e39b0f0 in IODispatchCalloutFromCFMessage+0xc0 (IOKit:arm64e+0x60f0)
    #4 0x18ad6b420 in __CFMachPortPerform+0x124 (CoreFoundation:arm64e+0xad420)
    #5 0x18ad3bf68 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__+0x38 (CoreFoundation:arm64e+0x7df68)
    #6 0x18ad3be88 in __CFRunLoopDoSource1+0x204 (CoreFoundation:arm64e+0x7de88)
    #7 0x18ad3a854 in __CFRunLoopRun+0x8c0 (CoreFoundation:arm64e+0x7c854)
    #8 0x18ad39938 in CFRunLoopRunSpecific+0x25c (CoreFoundation:arm64e+0x7b938)
    #9 0x18adb76d0 in CFRunLoopRun+0x3c (CoreFoundation:arm64e+0xf96d0)
    #10 0x104d89ad0 in darwin_event_thread_main darwin_usb.c:803
    #11 0x18ac5e030 in _pthread_start+0x84 (libsystem_pthread.dylib:arm64e+0x7030)
    #12 0x18ac58e38 in thread_start+0x4 (libsystem_pthread.dylib:arm64e+0x1e38)

previously allocated by thread T0 here:
    #0 0x10525978c in wrap__Znwm+0x74 (libclang_rt.asan_osx_dynamic.dylib:arm64e+0x6178c)
    #1 0x104ba3890 in IOUSBDeviceClass::alloc()+0x14 (IOUSBLib:arm64e+0x3890)
    #2 0x18adad9e0 in __CFPLUGIN_IS_CALLING_OUT_TO_A_FACTORY_FUNCTION__+0x18 (CoreFoundation:arm64e+0xef9e0)
    #3 0x18adad784 in CFPlugInInstanceCreate+0x128 (CoreFoundation:arm64e+0xef784)
    #4 0x18e3a3c14 in IOCreatePlugInInterfaceForService+0x2a0 (IOKit:arm64e+0xec14)
    #5 0x104d8e4c4 in darwin_device_from_service darwin_usb.c:563
    #6 0x104d8bf80 in darwin_get_cached_device darwin_usb.c:1306
    #7 0x104d872ec in darwin_scan_devices darwin_usb.c:1469
    #8 0x104d86ca4 in darwin_init_context darwin_usb.c:901
    #9 0x104d80814 in darwin_init darwin_usb.c:905
    #10 0x104d6097c in libusb_init_context core.c:2523
    #11 0x10484211c in main xusb.c:1202
    #12 0x18a8dd0dc  (<unknown module>)

Thread T1 created by T0 here:
    #0 0x1052441b0 in wrap_pthread_create+0x54 (libclang_rt.asan_osx_dynamic.dylib:arm64e+0x4c1b0)
    #1 0x104d86f38 in darwin_first_time_init darwin_usb.c:866
    #2 0x104d86c34 in darwin_init_context darwin_usb.c:893
    #3 0x104d80814 in darwin_init darwin_usb.c:905
    #4 0x104d6097c in libusb_init_context core.c:2523
    #5 0x10484211c in main xusb.c:1202
    #6 0x18a8dd0dc  (<unknown module>)

SUMMARY: AddressSanitizer: heap-use-after-free darwin_usb.c:2118 in darwin_reenumerate_device
Shadow bytes around the buggy address:
  0x000107b08700: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd
  0x000107b08780: fd fd fd fd fd fd fd fa fa fa fa fa fa fa fa fa
  0x000107b08800: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x000107b08880: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00
  0x000107b08900: 00 00 00 00 00 00 00 fa fa fa fa fa fa fa fa fa
=>0x000107b08980: fd fd fd fd[fd]fd fd fd fd fd fd fd fd fd fd fd
  0x000107b08a00: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00
  0x000107b08a80: 00 00 00 00 00 00 00 fa fa fa fa fa fa fa fa fa
  0x000107b08b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x000107b08b80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x000107b08c00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07 
  Heap left redzone:       fa
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
  Left alloca redzone:     ca
  Right alloca redzone:    cb
==12347==ABORTING
zsh: abort      sudo ./examples/xusb 0BDA:0487

@fabiensanglard
Copy link
Author

I am unable to repro with the devices I have. I have enabled ASAN but no error is being reported either.

I wonder if this is actually being introduced by this PR (I don't see the ssplus descriptor in ASAN report). Since you are able to repro, can you try to change libusb_get_ssplus_usb_device_capability_descriptor and place an early return in there as follows.

From

int API_EXPORTED libusb_get_ssplus_usb_device_capability_descriptor(...) {

to

int API_EXPORTED libusb_get_ssplus_usb_device_capability_descriptor(...) {
  return LIBUSB_ERROR_INVALID_PARAM;

It should completely disable all ssplus stuff and tell us if this PR is responsible or not.

@mcuee
Copy link
Member

mcuee commented Feb 15, 2024

@fabiensanglard

Indeed this has nothing to do with this PR. Rather, I believe this is because this PR is not catching up with git and thus affected by issue #1386.

I will rebase to git and then check again later. I do not have the docking station with me now.

Note to myself -- from the suggestion by @tormodvolden.

 1016  git clone https://github.com/libusb/libusb.git libusb_pr1428_rebase
 1017  cd libusb_pr1428_rebase
 1018  ls
 1019  git fetch origin pull/1428/head
 1020  git checkout -b pr1428_rebase FETCH_HEAD
 1021  git rebase origin/master
 1022  ls
 1023  ./autogen.sh
 1024  make

@fabiensanglard
Copy link
Author

I also rebased by PR.

@mcuee
Copy link
Member

mcuee commented Feb 15, 2024

I also rebased by PR.

@fabiensanglard

Thanks. Now it works fine under macOS 14.3.1 (Mac Mini M1 2020).

mcuee@mcuees-Mac-mini build_clang % sudo ./examples/xusb 0bda:0487
Password:
Using libusb v1.0.27.11883

Opening device 0BDA:0487...
libusb: warning [darwin_open] USBDeviceOpen: another process has device opened for exclusive access

Reading device descriptor:
            length: 18
      device class: 9
               S/N: 0
           VID:PID: 0BDA:0487
         bcdDevice: 0147
   iMan:iProd:iSer: 1:2:0
          nb confs: 1

Reading BOS descriptor: 5 caps
    USB 2.0 extension:
      attributes             : F41E
    USB 3.0 capabilities:
      attributes             : 00
      supported speeds       : 000E
      supported functionality: 01
    USB 3.1 capabilities:
      num speed IDs: 3
      minLaneSpeed: 0
      minRXLanes: 1
      minTXLanes: 1
      num speed attribute IDs: 4
                  id=0 speed=5Gbs Sym RX SuperSpeed
                  id=0 speed=5Gbs Sym TX SuperSpeed
                  id=1 speed=10Gbs Sym RX SuperSpeed+
                  id=1 speed=10Gbs Sym TX SuperSpeed+
    Container ID:
      {e5cdb920-3970-11e0-a935-0002a5d5c51b}
    Unknown BOS device capability 0b:

Reading first configuration descriptor:
              total length: 31
         descriptor length: 9
             nb interfaces: 1
              interface[0]: id = 0
interface[0].altsetting[0]: num endpoints = 1
   Class.SubClass.Protocol: 09.00.00
       endpoint[0].address: 81
           max packet size: 0002
          polling interval: 08
                 max burst: 00   (USB 3.0)
        bytes per interval: 0002 (USB 3.0)


   Failed (error -5) Entity not found
Kernel driver attached for interface 0: 
Claiming interface 0...
libusb: info [darwin_detach_kernel_driver] no capture entitlements. may not be able to detach the kernel driver for this device

Reading string descriptors:
   String (0x01): "Dell Inc."
   String (0x02): "Dell dock"

Reading OS string descriptor: no descriptor

Reading interface association descriptors (IADs) for first configuration:
    nb IADs: 0

Releasing interface 0...
libusb: warning [darwin_open] USBDeviceOpen: another process has device opened for exclusive access
libusb: info [darwin_claim_interface] USBInterfaceOpen: another process has device opened for exclusive access
libusb: info [darwin_capture_release_interface] on attempt to reattach the kernel driver got ret=-5
Closing device...
Full debug info just for reference
mcuee@mcuees-Mac-mini build_clang % sudo ./examples/xusb -d 0bda:0487 
Using libusb v1.0.27.11883

[timestamp] [threadID] facility level [function call] <message>
--------------------------------------------------------------------------------
[ 0.000052] [0000606e] libusb: debug [libusb_init_context] created default context
[ 0.000059] [0000606e] libusb: debug [libusb_init_context] libusb v1.0.27.11883
[ 0.000070] [0000606e] libusb: debug [usbi_add_event_source] add fd 3 events 1
[ 0.000172] [0000606f] libusb: debug [darwin_event_thread_main] creating hotplug event source
[ 0.000364] [0000606f] libusb: debug [darwin_event_thread_main] darwin event thread ready to receive events
[ 0.000492] [0000606e] libusb: debug [darwin_get_cached_device] finding cached device for sessionID 0x85fe4e6
[ 0.000521] [0000606e] libusb: debug [darwin_get_cached_device] caching new device with sessionID 0x85fe4e6
[ 0.002609] [0000606e] libusb: debug [darwin_cache_device_descriptor] cached device descriptor:
[ 0.002615] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDescriptorType:    0x01
[ 0.002617] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bcdUSB:             0x0210
[ 0.002618] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceClass:       0x09
[ 0.002620] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceSubClass:    0x00
[ 0.002621] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceProtocol:    0x02
[ 0.002622] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bMaxPacketSize0:    0x40
[ 0.002624] [0000606e] libusb: debug [darwin_cache_device_descriptor]   idVendor:           0x0bda
[ 0.002625] [0000606e] libusb: debug [darwin_cache_device_descriptor]   idProduct:          0x5411
[ 0.002627] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bcdDevice:          0x0117
[ 0.002629] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iManufacturer:      0x01
[ 0.002630] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iProduct:           0x02
[ 0.002631] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iSerialNumber:      0x00
[ 0.002633] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bNumConfigurations: 0x01
[ 0.002648] [0000606e] libusb: debug [darwin_check_configuration] active config: 1, first config: 1
[ 0.002650] [0000606e] libusb: debug [process_new_device] allocating new device in context 0x14ef04080 for with session 0x85fe4e6
[ 0.002653] [0000606e] libusb: debug [process_new_device] found device with address 1 port = 2 parent = 0x0 at 0x600003a40f3a
[ 0.002701] [0000606e] libusb: debug [darwin_get_cached_device] finding cached device for sessionID 0x8640892
[ 0.002721] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x8640892/0x2600000 against cached device with sessionID/locationID 0x85fe4e6/0x2200000
[ 0.002724] [0000606e] libusb: debug [darwin_get_cached_device] caching new device with sessionID 0x8640892
[ 0.002863] [0000606e] libusb: debug [darwin_cache_device_descriptor] cached device descriptor:
[ 0.002868] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDescriptorType:    0x01
[ 0.002869] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bcdUSB:             0x0300
[ 0.002871] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceClass:       0x09
[ 0.002872] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceSubClass:    0x00
[ 0.002873] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceProtocol:    0x03
[ 0.002875] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bMaxPacketSize0:    0x09
[ 0.002876] [0000606e] libusb: debug [darwin_cache_device_descriptor]   idVendor:           0x0bda
[ 0.002877] [0000606e] libusb: debug [darwin_cache_device_descriptor]   idProduct:          0x0411
[ 0.002879] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bcdDevice:          0x0117
[ 0.002880] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iManufacturer:      0x01
[ 0.002882] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iProduct:           0x02
[ 0.002883] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iSerialNumber:      0x00
[ 0.002884] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bNumConfigurations: 0x01
[ 0.002895] [0000606e] libusb: debug [darwin_check_configuration] active config: 1, first config: 1
[ 0.002897] [0000606e] libusb: debug [process_new_device] allocating new device in context 0x14ef04080 for with session 0x8640892
[ 0.002899] [0000606e] libusb: debug [process_new_device] found device with address 2 port = 6 parent = 0x0 at 0x600003a4113a
[ 0.002950] [0000606e] libusb: debug [darwin_get_cached_device] finding cached device for sessionID 0x87bb8a4
[ 0.002965] [0000606e] libusb: debug [darwin_get_cached_device] parent sessionID: 0x8640892
[ 0.002967] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x87bb8a4/0x2610000 against cached device with sessionID/locationID 0x8640892/0x2600000
[ 0.002969] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x87bb8a4/0x2610000 against cached device with sessionID/locationID 0x85fe4e6/0x2200000
[ 0.002971] [0000606e] libusb: debug [darwin_get_cached_device] caching new device with sessionID 0x87bb8a4
[ 0.003092] [0000606e] libusb: debug [darwin_cache_device_descriptor] cached device descriptor:
[ 0.003096] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDescriptorType:    0x01
[ 0.003097] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bcdUSB:             0x0300
[ 0.003099] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceClass:       0x09
[ 0.003100] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceSubClass:    0x00
[ 0.003102] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceProtocol:    0x03
[ 0.003103] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bMaxPacketSize0:    0x09
[ 0.003104] [0000606e] libusb: debug [darwin_cache_device_descriptor]   idVendor:           0x0bda
[ 0.003106] [0000606e] libusb: debug [darwin_cache_device_descriptor]   idProduct:          0x0411
[ 0.003107] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bcdDevice:          0x0117
[ 0.003109] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iManufacturer:      0x01
[ 0.003110] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iProduct:           0x02
[ 0.003111] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iSerialNumber:      0x00
[ 0.003113] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bNumConfigurations: 0x01
[ 0.003122] [0000606e] libusb: debug [darwin_check_configuration] active config: 1, first config: 1
[ 0.003124] [0000606e] libusb: debug [process_new_device] allocating new device in context 0x14ef04080 for with session 0x87bb8a4
[ 0.003126] [0000606e] libusb: debug [process_new_device] found device with address 3 port = 1 parent = 0x600003040240 at 0x600003a4123a
[ 0.003171] [0000606e] libusb: debug [darwin_get_cached_device] finding cached device for sessionID 0x8a32d4a
[ 0.003185] [0000606e] libusb: debug [darwin_get_cached_device] parent sessionID: 0x85fe4e6
[ 0.003187] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x8a32d4a/0x2210000 against cached device with sessionID/locationID 0x87bb8a4/0x2610000
[ 0.003189] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x8a32d4a/0x2210000 against cached device with sessionID/locationID 0x8640892/0x2600000
[ 0.003191] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x8a32d4a/0x2210000 against cached device with sessionID/locationID 0x85fe4e6/0x2200000
[ 0.003192] [0000606e] libusb: debug [darwin_get_cached_device] caching new device with sessionID 0x8a32d4a
[ 0.003307] [0000606e] libusb: debug [darwin_cache_device_descriptor] cached device descriptor:
[ 0.003311] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDescriptorType:    0x01
[ 0.003312] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bcdUSB:             0x0210
[ 0.003314] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceClass:       0x09
[ 0.003315] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceSubClass:    0x00
[ 0.003317] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceProtocol:    0x02
[ 0.003318] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bMaxPacketSize0:    0x40
[ 0.003319] [0000606e] libusb: debug [darwin_cache_device_descriptor]   idVendor:           0x0bda
[ 0.003321] [0000606e] libusb: debug [darwin_cache_device_descriptor]   idProduct:          0x5411
[ 0.003322] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bcdDevice:          0x0117
[ 0.003324] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iManufacturer:      0x01
[ 0.003325] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iProduct:           0x02
[ 0.003327] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iSerialNumber:      0x00
[ 0.003328] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bNumConfigurations: 0x01
[ 0.003337] [0000606e] libusb: debug [darwin_check_configuration] active config: 1, first config: 1
[ 0.003338] [0000606e] libusb: debug [process_new_device] allocating new device in context 0x14ef04080 for with session 0x8a32d4a
[ 0.003340] [0000606e] libusb: debug [process_new_device] found device with address 5 port = 1 parent = 0x6000030401e0 at 0x600003a4133a
[ 0.003386] [0000606e] libusb: debug [darwin_get_cached_device] finding cached device for sessionID 0x8aeaf50
[ 0.003400] [0000606e] libusb: debug [darwin_get_cached_device] parent sessionID: 0x85fe4e6
[ 0.003402] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x8aeaf50/0x2240000 against cached device with sessionID/locationID 0x8a32d4a/0x2210000
[ 0.003404] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x8aeaf50/0x2240000 against cached device with sessionID/locationID 0x87bb8a4/0x2610000
[ 0.003405] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x8aeaf50/0x2240000 against cached device with sessionID/locationID 0x8640892/0x2600000
[ 0.003407] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x8aeaf50/0x2240000 against cached device with sessionID/locationID 0x85fe4e6/0x2200000
[ 0.003408] [0000606e] libusb: debug [darwin_get_cached_device] caching new device with sessionID 0x8aeaf50
[ 0.003525] [0000606e] libusb: debug [darwin_cache_device_descriptor] cached device descriptor:
[ 0.003529] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDescriptorType:    0x01
[ 0.003530] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bcdUSB:             0x0200
[ 0.003531] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceClass:       0x09
[ 0.003533] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceSubClass:    0x00
[ 0.003534] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceProtocol:    0x02
[ 0.003536] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bMaxPacketSize0:    0x40
[ 0.003537] [0000606e] libusb: debug [darwin_cache_device_descriptor]   idVendor:           0x1a40
[ 0.003538] [0000606e] libusb: debug [darwin_cache_device_descriptor]   idProduct:          0x0201
[ 0.003540] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bcdDevice:          0x0100
[ 0.003542] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iManufacturer:      0x00
[ 0.003543] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iProduct:           0x01
[ 0.003544] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iSerialNumber:      0x00
[ 0.003546] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bNumConfigurations: 0x01
[ 0.003556] [0000606e] libusb: debug [darwin_check_configuration] active config: 1, first config: 1
[ 0.003558] [0000606e] libusb: debug [process_new_device] allocating new device in context 0x14ef04080 for with session 0x8aeaf50
[ 0.003560] [0000606e] libusb: debug [process_new_device] found device with address 6 port = 4 parent = 0x6000030401e0 at 0x600003a4143a
[ 0.003597] [0000606e] libusb: debug [darwin_get_cached_device] finding cached device for sessionID 0x8e47045
[ 0.003610] [0000606e] libusb: debug [darwin_get_cached_device] parent sessionID: 0x8a32d4a
[ 0.003612] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x8e47045/0x2211000 against cached device with sessionID/locationID 0x8aeaf50/0x2240000
[ 0.003614] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x8e47045/0x2211000 against cached device with sessionID/locationID 0x8a32d4a/0x2210000
[ 0.003616] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x8e47045/0x2211000 against cached device with sessionID/locationID 0x87bb8a4/0x2610000
[ 0.003617] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x8e47045/0x2211000 against cached device with sessionID/locationID 0x8640892/0x2600000
[ 0.003619] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x8e47045/0x2211000 against cached device with sessionID/locationID 0x85fe4e6/0x2200000
[ 0.003621] [0000606e] libusb: debug [darwin_get_cached_device] caching new device with sessionID 0x8e47045
[ 0.003740] [0000606e] libusb: debug [darwin_cache_device_descriptor] cached device descriptor:
[ 0.003744] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDescriptorType:    0x01
[ 0.003745] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bcdUSB:             0x0200
[ 0.003746] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceClass:       0xef
[ 0.003748] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceSubClass:    0x02
[ 0.003749] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceProtocol:    0x01
[ 0.003751] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bMaxPacketSize0:    0x40
[ 0.003752] [0000606e] libusb: debug [darwin_cache_device_descriptor]   idVendor:           0x0ac8
[ 0.003753] [0000606e] libusb: debug [darwin_cache_device_descriptor]   idProduct:          0x3420
[ 0.003755] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bcdDevice:          0x0100
[ 0.003756] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iManufacturer:      0x01
[ 0.003758] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iProduct:           0x02
[ 0.003759] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iSerialNumber:      0x00
[ 0.003760] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bNumConfigurations: 0x01
[ 0.003769] [0000606e] libusb: debug [darwin_check_configuration] active config: 1, first config: 1
[ 0.003770] [0000606e] libusb: debug [process_new_device] allocating new device in context 0x14ef04080 for with session 0x8e47045
[ 0.003772] [0000606e] libusb: debug [process_new_device] found device with address 7 port = 1 parent = 0x600003040300 at 0x600003a4153a
[ 0.003821] [0000606e] libusb: debug [darwin_get_cached_device] finding cached device for sessionID 0x90733db
[ 0.003843] [0000606e] libusb: debug [darwin_get_cached_device] parent sessionID: 0x8aeaf50
[ 0.003844] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x90733db/0x2245000 against cached device with sessionID/locationID 0x8e47045/0x2211000
[ 0.003846] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x90733db/0x2245000 against cached device with sessionID/locationID 0x8aeaf50/0x2240000
[ 0.003848] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x90733db/0x2245000 against cached device with sessionID/locationID 0x8a32d4a/0x2210000
[ 0.003850] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x90733db/0x2245000 against cached device with sessionID/locationID 0x87bb8a4/0x2610000
[ 0.003851] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x90733db/0x2245000 against cached device with sessionID/locationID 0x8640892/0x2600000
[ 0.003853] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x90733db/0x2245000 against cached device with sessionID/locationID 0x85fe4e6/0x2200000
[ 0.003855] [0000606e] libusb: debug [darwin_get_cached_device] caching new device with sessionID 0x90733db
[ 0.003968] [0000606e] libusb: debug [darwin_cache_device_descriptor] cached device descriptor:
[ 0.003971] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDescriptorType:    0x01
[ 0.003973] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bcdUSB:             0x0200
[ 0.003974] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceClass:       0x09
[ 0.003976] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceSubClass:    0x00
[ 0.003977] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceProtocol:    0x02
[ 0.003979] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bMaxPacketSize0:    0x40
[ 0.003980] [0000606e] libusb: debug [darwin_cache_device_descriptor]   idVendor:           0x1a40
[ 0.003981] [0000606e] libusb: debug [darwin_cache_device_descriptor]   idProduct:          0x0201
[ 0.003983] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bcdDevice:          0x0100
[ 0.003984] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iManufacturer:      0x00
[ 0.003986] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iProduct:           0x01
[ 0.003987] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iSerialNumber:      0x00
[ 0.003988] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bNumConfigurations: 0x01
[ 0.003999] [0000606e] libusb: debug [darwin_check_configuration] active config: 1, first config: 1
[ 0.004000] [0000606e] libusb: debug [process_new_device] allocating new device in context 0x14ef04080 for with session 0x90733db
[ 0.004002] [0000606e] libusb: debug [process_new_device] found device with address 8 port = 5 parent = 0x600003040360 at 0x600003a4163a
[ 0.004046] [0000606e] libusb: debug [darwin_get_cached_device] finding cached device for sessionID 0x91a1609
[ 0.004058] [0000606e] libusb: debug [darwin_get_cached_device] parent sessionID: 0x8aeaf50
[ 0.004060] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x91a1609/0x2247000 against cached device with sessionID/locationID 0x90733db/0x2245000
[ 0.004062] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x91a1609/0x2247000 against cached device with sessionID/locationID 0x8e47045/0x2211000
[ 0.004064] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x91a1609/0x2247000 against cached device with sessionID/locationID 0x8aeaf50/0x2240000
[ 0.004065] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x91a1609/0x2247000 against cached device with sessionID/locationID 0x8a32d4a/0x2210000
[ 0.004067] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x91a1609/0x2247000 against cached device with sessionID/locationID 0x87bb8a4/0x2610000
[ 0.004069] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x91a1609/0x2247000 against cached device with sessionID/locationID 0x8640892/0x2600000
[ 0.004070] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x91a1609/0x2247000 against cached device with sessionID/locationID 0x85fe4e6/0x2200000
[ 0.004072] [0000606e] libusb: debug [darwin_get_cached_device] caching new device with sessionID 0x91a1609
[ 0.004186] [0000606e] libusb: debug [darwin_cache_device_descriptor] cached device descriptor:
[ 0.004189] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDescriptorType:    0x01
[ 0.004191] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bcdUSB:             0x0200
[ 0.004192] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceClass:       0x00
[ 0.004194] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceSubClass:    0x00
[ 0.004195] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceProtocol:    0x00
[ 0.004196] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bMaxPacketSize0:    0x20
[ 0.004198] [0000606e] libusb: debug [darwin_cache_device_descriptor]   idVendor:           0x046d
[ 0.004199] [0000606e] libusb: debug [darwin_cache_device_descriptor]   idProduct:          0xc52b
[ 0.004200] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bcdDevice:          0x2410
[ 0.004202] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iManufacturer:      0x01
[ 0.004203] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iProduct:           0x02
[ 0.004204] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iSerialNumber:      0x00
[ 0.004206] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bNumConfigurations: 0x01
[ 0.004215] [0000606e] libusb: debug [darwin_check_configuration] active config: 1, first config: 1
[ 0.004217] [0000606e] libusb: debug [process_new_device] allocating new device in context 0x14ef04080 for with session 0x91a1609
[ 0.004218] [0000606e] libusb: debug [process_new_device] found device with address 9 port = 7 parent = 0x600003040360 at 0x600003a4173a
[ 0.004262] [0000606e] libusb: debug [darwin_get_cached_device] finding cached device for sessionID 0x96293bb
[ 0.004282] [0000606e] libusb: debug [darwin_get_cached_device] parent sessionID: 0x90733db
[ 0.004284] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x96293bb/0x2245600 against cached device with sessionID/locationID 0x91a1609/0x2247000
[ 0.004286] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x96293bb/0x2245600 against cached device with sessionID/locationID 0x90733db/0x2245000
[ 0.004287] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x96293bb/0x2245600 against cached device with sessionID/locationID 0x8e47045/0x2211000
[ 0.004289] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x96293bb/0x2245600 against cached device with sessionID/locationID 0x8aeaf50/0x2240000
[ 0.004291] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x96293bb/0x2245600 against cached device with sessionID/locationID 0x8a32d4a/0x2210000
[ 0.004292] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x96293bb/0x2245600 against cached device with sessionID/locationID 0x87bb8a4/0x2610000
[ 0.004294] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x96293bb/0x2245600 against cached device with sessionID/locationID 0x8640892/0x2600000
[ 0.004296] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x96293bb/0x2245600 against cached device with sessionID/locationID 0x85fe4e6/0x2200000
[ 0.004297] [0000606e] libusb: debug [darwin_get_cached_device] caching new device with sessionID 0x96293bb
[ 0.004410] [0000606e] libusb: debug [darwin_cache_device_descriptor] cached device descriptor:
[ 0.004413] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDescriptorType:    0x01
[ 0.004414] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bcdUSB:             0x0110
[ 0.004416] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceClass:       0x00
[ 0.004417] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceSubClass:    0x00
[ 0.004418] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceProtocol:    0x00
[ 0.004419] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bMaxPacketSize0:    0x20
[ 0.004421] [0000606e] libusb: debug [darwin_cache_device_descriptor]   idVendor:           0x1915
[ 0.004422] [0000606e] libusb: debug [darwin_cache_device_descriptor]   idProduct:          0x1025
[ 0.004423] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bcdDevice:          0x0173
[ 0.004424] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iManufacturer:      0x01
[ 0.004426] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iProduct:           0x02
[ 0.004427] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iSerialNumber:      0x00
[ 0.004428] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bNumConfigurations: 0x01
[ 0.004436] [0000606e] libusb: debug [darwin_check_configuration] active config: 1, first config: 1
[ 0.004438] [0000606e] libusb: debug [process_new_device] allocating new device in context 0x14ef04080 for with session 0x96293bb
[ 0.004439] [0000606e] libusb: debug [process_new_device] found device with address 10 port = 6 parent = 0x600003040420 at 0x600003a4183a
[ 0.004474] [0000606e] libusb: debug [darwin_get_cached_device] finding cached device for sessionID 0x2ba3293a9
[ 0.004489] [0000606e] libusb: debug [darwin_get_cached_device] parent sessionID: 0x87bb8a4
[ 0.004490] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x2ba3293a9/0x2612000 against cached device with sessionID/locationID 0x96293bb/0x2245600
[ 0.004492] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x2ba3293a9/0x2612000 against cached device with sessionID/locationID 0x91a1609/0x2247000
[ 0.004494] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x2ba3293a9/0x2612000 against cached device with sessionID/locationID 0x90733db/0x2245000
[ 0.004495] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x2ba3293a9/0x2612000 against cached device with sessionID/locationID 0x8e47045/0x2211000
[ 0.004497] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x2ba3293a9/0x2612000 against cached device with sessionID/locationID 0x8aeaf50/0x2240000
[ 0.004498] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x2ba3293a9/0x2612000 against cached device with sessionID/locationID 0x8a32d4a/0x2210000
[ 0.004500] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x2ba3293a9/0x2612000 against cached device with sessionID/locationID 0x87bb8a4/0x2610000
[ 0.004501] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x2ba3293a9/0x2612000 against cached device with sessionID/locationID 0x8640892/0x2600000
[ 0.004503] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x2ba3293a9/0x2612000 against cached device with sessionID/locationID 0x85fe4e6/0x2200000
[ 0.004504] [0000606e] libusb: debug [darwin_get_cached_device] caching new device with sessionID 0x2ba3293a9
[ 0.004602] [0000606e] libusb: debug [darwin_cache_device_descriptor] cached device descriptor:
[ 0.004605] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDescriptorType:    0x01
[ 0.004606] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bcdUSB:             0x0310
[ 0.004608] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceClass:       0x00
[ 0.004609] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceSubClass:    0x00
[ 0.004610] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceProtocol:    0x00
[ 0.004611] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bMaxPacketSize0:    0x09
[ 0.004613] [0000606e] libusb: debug [darwin_cache_device_descriptor]   idVendor:           0x05e3
[ 0.004614] [0000606e] libusb: debug [darwin_cache_device_descriptor]   idProduct:          0x0749
[ 0.004615] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bcdDevice:          0x1535
[ 0.004616] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iManufacturer:      0x03
[ 0.004618] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iProduct:           0x04
[ 0.004619] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iSerialNumber:      0x02
[ 0.004620] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bNumConfigurations: 0x01
[ 0.004627] [0000606e] libusb: debug [darwin_check_configuration] active config: 1, first config: 1
[ 0.004629] [0000606e] libusb: debug [process_new_device] allocating new device in context 0x14ef04080 for with session 0x2ba3293a9
[ 0.004630] [0000606e] libusb: debug [process_new_device] found device with address 11 port = 2 parent = 0x6000030402a0 at 0x600003a4193a
[ 0.004674] [0000606e] libusb: debug [darwin_get_cached_device] finding cached device for sessionID 0x43fb2722b
[ 0.004692] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x43fb2722b/0x3200000 against cached device with sessionID/locationID 0x2ba3293a9/0x2612000
[ 0.004694] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x43fb2722b/0x3200000 against cached device with sessionID/locationID 0x96293bb/0x2245600
[ 0.004696] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x43fb2722b/0x3200000 against cached device with sessionID/locationID 0x91a1609/0x2247000
[ 0.004697] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x43fb2722b/0x3200000 against cached device with sessionID/locationID 0x90733db/0x2245000
[ 0.004699] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x43fb2722b/0x3200000 against cached device with sessionID/locationID 0x8e47045/0x2211000
[ 0.004701] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x43fb2722b/0x3200000 against cached device with sessionID/locationID 0x8aeaf50/0x2240000
[ 0.004702] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x43fb2722b/0x3200000 against cached device with sessionID/locationID 0x8a32d4a/0x2210000
[ 0.004704] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x43fb2722b/0x3200000 against cached device with sessionID/locationID 0x87bb8a4/0x2610000
[ 0.004705] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x43fb2722b/0x3200000 against cached device with sessionID/locationID 0x8640892/0x2600000
[ 0.004707] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x43fb2722b/0x3200000 against cached device with sessionID/locationID 0x85fe4e6/0x2200000
[ 0.004708] [0000606e] libusb: debug [darwin_get_cached_device] caching new device with sessionID 0x43fb2722b
[ 0.004808] [0000606e] libusb: debug [darwin_cache_device_descriptor] cached device descriptor:
[ 0.004811] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDescriptorType:    0x01
[ 0.004812] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bcdUSB:             0x0210
[ 0.004813] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceClass:       0x09
[ 0.004814] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceSubClass:    0x00
[ 0.004816] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceProtocol:    0x02
[ 0.004817] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bMaxPacketSize0:    0x40
[ 0.004818] [0000606e] libusb: debug [darwin_cache_device_descriptor]   idVendor:           0x0bda
[ 0.004819] [0000606e] libusb: debug [darwin_cache_device_descriptor]   idProduct:          0x5487
[ 0.004821] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bcdDevice:          0x0147
[ 0.004822] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iManufacturer:      0x01
[ 0.004823] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iProduct:           0x02
[ 0.004824] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iSerialNumber:      0x00
[ 0.004825] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bNumConfigurations: 0x01
[ 0.004833] [0000606e] libusb: debug [darwin_check_configuration] active config: 1, first config: 1
[ 0.004835] [0000606e] libusb: debug [process_new_device] allocating new device in context 0x14ef04080 for with session 0x43fb2722b
[ 0.004837] [0000606e] libusb: debug [process_new_device] found device with address 1 port = 2 parent = 0x0 at 0x600003a41a3a
[ 0.004871] [0000606e] libusb: debug [darwin_get_cached_device] finding cached device for sessionID 0x43ff7f9cb
[ 0.004882] [0000606e] libusb: debug [darwin_get_cached_device] parent sessionID: 0x43fb2722b
[ 0.004884] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x43ff7f9cb/0x3230000 against cached device with sessionID/locationID 0x43fb2722b/0x3200000
[ 0.004886] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x43ff7f9cb/0x3230000 against cached device with sessionID/locationID 0x2ba3293a9/0x2612000
[ 0.004887] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x43ff7f9cb/0x3230000 against cached device with sessionID/locationID 0x96293bb/0x2245600
[ 0.004889] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x43ff7f9cb/0x3230000 against cached device with sessionID/locationID 0x91a1609/0x2247000
[ 0.004890] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x43ff7f9cb/0x3230000 against cached device with sessionID/locationID 0x90733db/0x2245000
[ 0.004892] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x43ff7f9cb/0x3230000 against cached device with sessionID/locationID 0x8e47045/0x2211000
[ 0.004893] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x43ff7f9cb/0x3230000 against cached device with sessionID/locationID 0x8aeaf50/0x2240000
[ 0.004895] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x43ff7f9cb/0x3230000 against cached device with sessionID/locationID 0x8a32d4a/0x2210000
[ 0.004896] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x43ff7f9cb/0x3230000 against cached device with sessionID/locationID 0x87bb8a4/0x2610000
[ 0.004898] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x43ff7f9cb/0x3230000 against cached device with sessionID/locationID 0x8640892/0x2600000
[ 0.004900] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x43ff7f9cb/0x3230000 against cached device with sessionID/locationID 0x85fe4e6/0x2200000
[ 0.004901] [0000606e] libusb: debug [darwin_get_cached_device] caching new device with sessionID 0x43ff7f9cb
[ 0.004991] [0000606e] libusb: debug [darwin_cache_device_descriptor] cached device descriptor:
[ 0.004994] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDescriptorType:    0x01
[ 0.004996] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bcdUSB:             0x0210
[ 0.004997] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceClass:       0x09
[ 0.004998] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceSubClass:    0x00
[ 0.005000] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceProtocol:    0x02
[ 0.005001] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bMaxPacketSize0:    0x40
[ 0.005002] [0000606e] libusb: debug [darwin_cache_device_descriptor]   idVendor:           0x0bda
[ 0.005003] [0000606e] libusb: debug [darwin_cache_device_descriptor]   idProduct:          0x5413
[ 0.005004] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bcdDevice:          0x0121
[ 0.005006] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iManufacturer:      0x01
[ 0.005007] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iProduct:           0x02
[ 0.005008] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iSerialNumber:      0x00
[ 0.005009] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bNumConfigurations: 0x01
[ 0.005019] [0000606e] libusb: debug [darwin_check_configuration] active config: 1, first config: 1
[ 0.005021] [0000606e] libusb: debug [process_new_device] allocating new device in context 0x14ef04080 for with session 0x43ff7f9cb
[ 0.005022] [0000606e] libusb: debug [process_new_device] found device with address 5 port = 3 parent = 0x600003040600 at 0x600003a41b3a
[ 0.005062] [0000606e] libusb: debug [darwin_get_cached_device] finding cached device for sessionID 0x44004a322
[ 0.005073] [0000606e] libusb: debug [darwin_get_cached_device] parent sessionID: 0x43fb2722b
[ 0.005075] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x44004a322/0x3250000 against cached device with sessionID/locationID 0x43ff7f9cb/0x3230000
[ 0.005077] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x44004a322/0x3250000 against cached device with sessionID/locationID 0x43fb2722b/0x3200000
[ 0.005078] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x44004a322/0x3250000 against cached device with sessionID/locationID 0x2ba3293a9/0x2612000
[ 0.005080] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x44004a322/0x3250000 against cached device with sessionID/locationID 0x96293bb/0x2245600
[ 0.005081] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x44004a322/0x3250000 against cached device with sessionID/locationID 0x91a1609/0x2247000
[ 0.005088] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x44004a322/0x3250000 against cached device with sessionID/locationID 0x90733db/0x2245000
[ 0.005089] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x44004a322/0x3250000 against cached device with sessionID/locationID 0x8e47045/0x2211000
[ 0.005091] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x44004a322/0x3250000 against cached device with sessionID/locationID 0x8aeaf50/0x2240000
[ 0.005092] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x44004a322/0x3250000 against cached device with sessionID/locationID 0x8a32d4a/0x2210000
[ 0.005094] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x44004a322/0x3250000 against cached device with sessionID/locationID 0x87bb8a4/0x2610000
[ 0.005095] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x44004a322/0x3250000 against cached device with sessionID/locationID 0x8640892/0x2600000
[ 0.005123] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x44004a322/0x3250000 against cached device with sessionID/locationID 0x85fe4e6/0x2200000
[ 0.005126] [0000606e] libusb: debug [darwin_get_cached_device] caching new device with sessionID 0x44004a322
[ 0.005285] [0000606e] libusb: debug [darwin_cache_device_descriptor] cached device descriptor:
[ 0.005289] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDescriptorType:    0x01
[ 0.005291] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bcdUSB:             0x0201
[ 0.005292] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceClass:       0x00
[ 0.005293] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceSubClass:    0x00
[ 0.005295] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceProtocol:    0x00
[ 0.005296] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bMaxPacketSize0:    0x40
[ 0.005297] [0000606e] libusb: debug [darwin_cache_device_descriptor]   idVendor:           0x413c
[ 0.005298] [0000606e] libusb: debug [darwin_cache_device_descriptor]   idProduct:          0xb06e
[ 0.005300] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bcdDevice:          0x0101
[ 0.005301] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iManufacturer:      0x00
[ 0.005302] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iProduct:           0x01
[ 0.005303] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iSerialNumber:      0x00
[ 0.005305] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bNumConfigurations: 0x01
[ 0.005316] [0000606e] libusb: debug [darwin_check_configuration] active config: 1, first config: 1
[ 0.005318] [0000606e] libusb: debug [process_new_device] allocating new device in context 0x14ef04080 for with session 0x44004a322
[ 0.005320] [0000606e] libusb: debug [process_new_device] found device with address 6 port = 5 parent = 0x600003040600 at 0x600003a4823a
[ 0.005368] [0000606e] libusb: debug [darwin_get_cached_device] finding cached device for sessionID 0x4406b3dc3
[ 0.005382] [0000606e] libusb: debug [darwin_get_cached_device] parent sessionID: 0x43ff7f9cb
[ 0.005384] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x4406b3dc3/0x3235000 against cached device with sessionID/locationID 0x44004a322/0x3250000
[ 0.005386] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x4406b3dc3/0x3235000 against cached device with sessionID/locationID 0x43ff7f9cb/0x3230000
[ 0.005387] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x4406b3dc3/0x3235000 against cached device with sessionID/locationID 0x43fb2722b/0x3200000
[ 0.005389] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x4406b3dc3/0x3235000 against cached device with sessionID/locationID 0x2ba3293a9/0x2612000
[ 0.005390] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x4406b3dc3/0x3235000 against cached device with sessionID/locationID 0x96293bb/0x2245600
[ 0.005392] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x4406b3dc3/0x3235000 against cached device with sessionID/locationID 0x91a1609/0x2247000
[ 0.005394] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x4406b3dc3/0x3235000 against cached device with sessionID/locationID 0x90733db/0x2245000
[ 0.005395] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x4406b3dc3/0x3235000 against cached device with sessionID/locationID 0x8e47045/0x2211000
[ 0.005397] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x4406b3dc3/0x3235000 against cached device with sessionID/locationID 0x8aeaf50/0x2240000
[ 0.005399] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x4406b3dc3/0x3235000 against cached device with sessionID/locationID 0x8a32d4a/0x2210000
[ 0.005400] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x4406b3dc3/0x3235000 against cached device with sessionID/locationID 0x87bb8a4/0x2610000
[ 0.005402] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x4406b3dc3/0x3235000 against cached device with sessionID/locationID 0x8640892/0x2600000
[ 0.005403] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x4406b3dc3/0x3235000 against cached device with sessionID/locationID 0x85fe4e6/0x2200000
[ 0.005405] [0000606e] libusb: debug [darwin_get_cached_device] caching new device with sessionID 0x4406b3dc3
[ 0.005520] [0000606e] libusb: debug [darwin_cache_device_descriptor] cached device descriptor:
[ 0.005523] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDescriptorType:    0x01
[ 0.005525] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bcdUSB:             0x0201
[ 0.005526] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceClass:       0x00
[ 0.005527] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceSubClass:    0x00
[ 0.005528] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceProtocol:    0x00
[ 0.005530] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bMaxPacketSize0:    0x40
[ 0.005531] [0000606e] libusb: debug [darwin_cache_device_descriptor]   idVendor:           0x413c
[ 0.005532] [0000606e] libusb: debug [darwin_cache_device_descriptor]   idProduct:          0xb06f
[ 0.005533] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bcdDevice:          0x0101
[ 0.005535] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iManufacturer:      0x00
[ 0.005536] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iProduct:           0x01
[ 0.005537] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iSerialNumber:      0x00
[ 0.005538] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bNumConfigurations: 0x01
[ 0.005547] [0000606e] libusb: debug [darwin_check_configuration] active config: 1, first config: 1
[ 0.005548] [0000606e] libusb: debug [process_new_device] allocating new device in context 0x14ef04080 for with session 0x4406b3dc3
[ 0.005550] [0000606e] libusb: debug [process_new_device] found device with address 7 port = 5 parent = 0x600003040660 at 0x600003a4833a
[ 0.005589] [0000606e] libusb: debug [darwin_get_cached_device] finding cached device for sessionID 0x44156a79f
[ 0.005607] [0000606e] libusb: debug [darwin_get_cached_device] parent sessionID: 0x43ff7f9cb
[ 0.005609] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x44156a79f/0x3234000 against cached device with sessionID/locationID 0x4406b3dc3/0x3235000
[ 0.005611] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x44156a79f/0x3234000 against cached device with sessionID/locationID 0x44004a322/0x3250000
[ 0.005612] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x44156a79f/0x3234000 against cached device with sessionID/locationID 0x43ff7f9cb/0x3230000
[ 0.005614] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x44156a79f/0x3234000 against cached device with sessionID/locationID 0x43fb2722b/0x3200000
[ 0.005616] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x44156a79f/0x3234000 against cached device with sessionID/locationID 0x2ba3293a9/0x2612000
[ 0.005617] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x44156a79f/0x3234000 against cached device with sessionID/locationID 0x96293bb/0x2245600
[ 0.005618] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x44156a79f/0x3234000 against cached device with sessionID/locationID 0x91a1609/0x2247000
[ 0.005620] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x44156a79f/0x3234000 against cached device with sessionID/locationID 0x90733db/0x2245000
[ 0.005643] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x44156a79f/0x3234000 against cached device with sessionID/locationID 0x8e47045/0x2211000
[ 0.005645] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x44156a79f/0x3234000 against cached device with sessionID/locationID 0x8aeaf50/0x2240000
[ 0.005646] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x44156a79f/0x3234000 against cached device with sessionID/locationID 0x8a32d4a/0x2210000
[ 0.005648] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x44156a79f/0x3234000 against cached device with sessionID/locationID 0x87bb8a4/0x2610000
[ 0.005649] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x44156a79f/0x3234000 against cached device with sessionID/locationID 0x8640892/0x2600000
[ 0.005651] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x44156a79f/0x3234000 against cached device with sessionID/locationID 0x85fe4e6/0x2200000
[ 0.005652] [0000606e] libusb: debug [darwin_get_cached_device] caching new device with sessionID 0x44156a79f
[ 0.005764] [0000606e] libusb: debug [darwin_cache_device_descriptor] cached device descriptor:
[ 0.005767] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDescriptorType:    0x01
[ 0.005768] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bcdUSB:             0x0200
[ 0.005770] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceClass:       0x00
[ 0.005771] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceSubClass:    0x00
[ 0.005772] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceProtocol:    0x00
[ 0.005773] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bMaxPacketSize0:    0x40
[ 0.005775] [0000606e] libusb: debug [darwin_cache_device_descriptor]   idVendor:           0x0bda
[ 0.005776] [0000606e] libusb: debug [darwin_cache_device_descriptor]   idProduct:          0x402e
[ 0.005777] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bcdDevice:          0x0001
[ 0.005778] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iManufacturer:      0x03
[ 0.005780] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iProduct:           0x01
[ 0.005781] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iSerialNumber:      0x02
[ 0.005782] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bNumConfigurations: 0x01
[ 0.005790] [0000606e] libusb: debug [darwin_check_configuration] active config: 1, first config: 1
[ 0.005792] [0000606e] libusb: debug [process_new_device] allocating new device in context 0x14ef04080 for with session 0x44156a79f
[ 0.005793] [0000606e] libusb: debug [process_new_device] found device with address 8 port = 4 parent = 0x600003040660 at 0x600003a4843a
[ 0.005838] [0000606e] libusb: debug [darwin_get_cached_device] finding cached device for sessionID 0x48f2b0750
[ 0.005856] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f2b0750/0x3400000 against cached device with sessionID/locationID 0x44156a79f/0x3234000
[ 0.005859] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f2b0750/0x3400000 against cached device with sessionID/locationID 0x4406b3dc3/0x3235000
[ 0.005860] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f2b0750/0x3400000 against cached device with sessionID/locationID 0x44004a322/0x3250000
[ 0.005862] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f2b0750/0x3400000 against cached device with sessionID/locationID 0x43ff7f9cb/0x3230000
[ 0.005863] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f2b0750/0x3400000 against cached device with sessionID/locationID 0x43fb2722b/0x3200000
[ 0.005865] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f2b0750/0x3400000 against cached device with sessionID/locationID 0x2ba3293a9/0x2612000
[ 0.005867] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f2b0750/0x3400000 against cached device with sessionID/locationID 0x96293bb/0x2245600
[ 0.005868] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f2b0750/0x3400000 against cached device with sessionID/locationID 0x91a1609/0x2247000
[ 0.005880] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f2b0750/0x3400000 against cached device with sessionID/locationID 0x90733db/0x2245000
[ 0.005882] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f2b0750/0x3400000 against cached device with sessionID/locationID 0x8e47045/0x2211000
[ 0.005883] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f2b0750/0x3400000 against cached device with sessionID/locationID 0x8aeaf50/0x2240000
[ 0.005885] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f2b0750/0x3400000 against cached device with sessionID/locationID 0x8a32d4a/0x2210000
[ 0.005886] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f2b0750/0x3400000 against cached device with sessionID/locationID 0x87bb8a4/0x2610000
[ 0.005888] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f2b0750/0x3400000 against cached device with sessionID/locationID 0x8640892/0x2600000
[ 0.005889] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f2b0750/0x3400000 against cached device with sessionID/locationID 0x85fe4e6/0x2200000
[ 0.005891] [0000606e] libusb: debug [darwin_get_cached_device] caching new device with sessionID 0x48f2b0750
[ 0.005996] [0000606e] libusb: debug [darwin_cache_device_descriptor] cached device descriptor:
[ 0.005999] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDescriptorType:    0x01
[ 0.006000] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bcdUSB:             0x0310
[ 0.006002] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceClass:       0x09
[ 0.006003] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceSubClass:    0x00
[ 0.006004] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceProtocol:    0x03
[ 0.006005] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bMaxPacketSize0:    0x09
[ 0.006007] [0000606e] libusb: debug [darwin_cache_device_descriptor]   idVendor:           0x0bda
[ 0.006008] [0000606e] libusb: debug [darwin_cache_device_descriptor]   idProduct:          0x0487
[ 0.006009] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bcdDevice:          0x0147
[ 0.006010] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iManufacturer:      0x01
[ 0.006012] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iProduct:           0x02
[ 0.006013] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iSerialNumber:      0x00
[ 0.006014] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bNumConfigurations: 0x01
[ 0.006022] [0000606e] libusb: debug [darwin_check_configuration] active config: 1, first config: 1
[ 0.006024] [0000606e] libusb: debug [process_new_device] allocating new device in context 0x14ef04080 for with session 0x48f2b0750
[ 0.006025] [0000606e] libusb: debug [process_new_device] found device with address 9 port = 4 parent = 0x0 at 0x600003a4853a
[ 0.006065] [0000606e] libusb: debug [darwin_get_cached_device] finding cached device for sessionID 0x48f47388f
[ 0.006077] [0000606e] libusb: debug [darwin_get_cached_device] parent sessionID: 0x48f2b0750
[ 0.006079] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f47388f/0x3440000 against cached device with sessionID/locationID 0x48f2b0750/0x3400000
[ 0.006080] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f47388f/0x3440000 against cached device with sessionID/locationID 0x44156a79f/0x3234000
[ 0.006082] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f47388f/0x3440000 against cached device with sessionID/locationID 0x4406b3dc3/0x3235000
[ 0.006084] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f47388f/0x3440000 against cached device with sessionID/locationID 0x44004a322/0x3250000
[ 0.006085] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f47388f/0x3440000 against cached device with sessionID/locationID 0x43ff7f9cb/0x3230000
[ 0.006087] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f47388f/0x3440000 against cached device with sessionID/locationID 0x43fb2722b/0x3200000
[ 0.006088] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f47388f/0x3440000 against cached device with sessionID/locationID 0x2ba3293a9/0x2612000
[ 0.006090] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f47388f/0x3440000 against cached device with sessionID/locationID 0x96293bb/0x2245600
[ 0.006091] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f47388f/0x3440000 against cached device with sessionID/locationID 0x91a1609/0x2247000
[ 0.006093] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f47388f/0x3440000 against cached device with sessionID/locationID 0x90733db/0x2245000
[ 0.006094] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f47388f/0x3440000 against cached device with sessionID/locationID 0x8e47045/0x2211000
[ 0.006096] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f47388f/0x3440000 against cached device with sessionID/locationID 0x8aeaf50/0x2240000
[ 0.006097] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f47388f/0x3440000 against cached device with sessionID/locationID 0x8a32d4a/0x2210000
[ 0.006099] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f47388f/0x3440000 against cached device with sessionID/locationID 0x87bb8a4/0x2610000
[ 0.006101] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f47388f/0x3440000 against cached device with sessionID/locationID 0x8640892/0x2600000
[ 0.006102] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f47388f/0x3440000 against cached device with sessionID/locationID 0x85fe4e6/0x2200000
[ 0.006104] [0000606e] libusb: debug [darwin_get_cached_device] caching new device with sessionID 0x48f47388f
[ 0.006215] [0000606e] libusb: debug [darwin_cache_device_descriptor] cached device descriptor:
[ 0.006218] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDescriptorType:    0x01
[ 0.006219] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bcdUSB:             0x0300
[ 0.006221] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceClass:       0x00
[ 0.006222] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceSubClass:    0x00
[ 0.006223] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceProtocol:    0x00
[ 0.006224] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bMaxPacketSize0:    0x09
[ 0.006226] [0000606e] libusb: debug [darwin_cache_device_descriptor]   idVendor:           0x0bda
[ 0.006227] [0000606e] libusb: debug [darwin_cache_device_descriptor]   idProduct:          0x8153
[ 0.006228] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bcdDevice:          0x3111
[ 0.006229] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iManufacturer:      0x01
[ 0.006231] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iProduct:           0x02
[ 0.006232] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iSerialNumber:      0x06
[ 0.006233] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bNumConfigurations: 0x02
[ 0.006371] [0000606e] libusb: debug [darwin_check_configuration] active config: 2, first config: 1
[ 0.006374] [0000606e] libusb: debug [process_new_device] allocating new device in context 0x14ef04080 for with session 0x48f47388f
[ 0.006375] [0000606e] libusb: debug [process_new_device] found device with address 10 port = 4 parent = 0x600003048120 at 0x600003a4863a
[ 0.006407] [0000606e] libusb: debug [darwin_get_cached_device] finding cached device for sessionID 0x48f510bb2
[ 0.006418] [0000606e] libusb: debug [darwin_get_cached_device] parent sessionID: 0x48f2b0750
[ 0.006420] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f510bb2/0x3430000 against cached device with sessionID/locationID 0x48f47388f/0x3440000
[ 0.006421] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f510bb2/0x3430000 against cached device with sessionID/locationID 0x48f2b0750/0x3400000
[ 0.006423] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f510bb2/0x3430000 against cached device with sessionID/locationID 0x44156a79f/0x3234000
[ 0.006424] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f510bb2/0x3430000 against cached device with sessionID/locationID 0x4406b3dc3/0x3235000
[ 0.006426] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f510bb2/0x3430000 against cached device with sessionID/locationID 0x44004a322/0x3250000
[ 0.006432] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f510bb2/0x3430000 against cached device with sessionID/locationID 0x43ff7f9cb/0x3230000
[ 0.006433] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f510bb2/0x3430000 against cached device with sessionID/locationID 0x43fb2722b/0x3200000
[ 0.006435] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f510bb2/0x3430000 against cached device with sessionID/locationID 0x2ba3293a9/0x2612000
[ 0.006436] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f510bb2/0x3430000 against cached device with sessionID/locationID 0x96293bb/0x2245600
[ 0.006438] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f510bb2/0x3430000 against cached device with sessionID/locationID 0x91a1609/0x2247000
[ 0.006439] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f510bb2/0x3430000 against cached device with sessionID/locationID 0x90733db/0x2245000
[ 0.006451] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f510bb2/0x3430000 against cached device with sessionID/locationID 0x8e47045/0x2211000
[ 0.006452] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f510bb2/0x3430000 against cached device with sessionID/locationID 0x8aeaf50/0x2240000
[ 0.006454] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f510bb2/0x3430000 against cached device with sessionID/locationID 0x8a32d4a/0x2210000
[ 0.006455] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f510bb2/0x3430000 against cached device with sessionID/locationID 0x87bb8a4/0x2610000
[ 0.006457] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f510bb2/0x3430000 against cached device with sessionID/locationID 0x8640892/0x2600000
[ 0.006458] [0000606e] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x48f510bb2/0x3430000 against cached device with sessionID/locationID 0x85fe4e6/0x2200000
[ 0.006460] [0000606e] libusb: debug [darwin_get_cached_device] caching new device with sessionID 0x48f510bb2
[ 0.006554] [0000606e] libusb: debug [darwin_cache_device_descriptor] cached device descriptor:
[ 0.006557] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDescriptorType:    0x01
[ 0.006558] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bcdUSB:             0x0310
[ 0.006559] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceClass:       0x09
[ 0.006560] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceSubClass:    0x00
[ 0.006562] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bDeviceProtocol:    0x03
[ 0.006563] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bMaxPacketSize0:    0x09
[ 0.006564] [0000606e] libusb: debug [darwin_cache_device_descriptor]   idVendor:           0x0bda
[ 0.006565] [0000606e] libusb: debug [darwin_cache_device_descriptor]   idProduct:          0x0413
[ 0.006566] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bcdDevice:          0x0121
[ 0.006568] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iManufacturer:      0x01
[ 0.006569] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iProduct:           0x02
[ 0.006570] [0000606e] libusb: debug [darwin_cache_device_descriptor]   iSerialNumber:      0x00
[ 0.006571] [0000606e] libusb: debug [darwin_cache_device_descriptor]   bNumConfigurations: 0x01
[ 0.006579] [0000606e] libusb: debug [darwin_check_configuration] active config: 1, first config: 1
[ 0.006580] [0000606e] libusb: debug [process_new_device] allocating new device in context 0x14ef04080 for with session 0x48f510bb2
[ 0.006582] [0000606e] libusb: debug [process_new_device] found device with address 11 port = 3 parent = 0x600003048120 at 0x600003a41c3a
Opening device 0BDA:0487...
[ 0.006589] [0000606e] libusb: debug [libusb_get_device_list]  
[ 0.006603] [0000606e] libusb: debug [discovered_devs_append] need to increase capacity
[ 0.006606] [0000606e] libusb: debug [libusb_get_device_descriptor]  
[ 0.006607] [0000606e] libusb: debug [libusb_get_device_descriptor]  
[ 0.006608] [0000606e] libusb: debug [libusb_get_device_descriptor]  
[ 0.006609] [0000606e] libusb: debug [libusb_open] open 3.9
[ 0.006630] [0000606e] libusb: warning [darwin_open] USBDeviceOpen: another process has device opened for exclusive access
[ 0.006643] [0000606e] libusb: debug [darwin_open] device open for access

Reading device descriptor:
[ 0.006646] [0000606e] libusb: debug [libusb_get_device_descriptor]  
            length: 18
      device class: 9
               S/N: 0
           VID:PID: 0BDA:0487
         bcdDevice: 0147
   iMan:iProd:iSer: 1:2:0
          nb confs: 1

[ 0.006656] [0000606e] libusb: debug [libusb_submit_transfer] transfer 0x14ee05890
[ 0.006669] [0000606e] libusb: debug [libusb_get_next_timeout] no URB with timeout or all handled by OS; no timeout!
[ 0.006671] [0000606e] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.006676] [0000606e] libusb: debug [handle_events] event sources modified, reallocating event data
[ 0.006679] [0000606e] libusb: debug [usbi_wait_for_events] poll() 1 fds with timeout in 60000ms
[ 0.006671] [0000606f] libusb: debug [darwin_async_io_callback] an async io operation has completed
[ 0.006696] [0000606e] libusb: debug [usbi_wait_for_events] poll() returned 1
[ 0.006698] [0000606e] libusb: debug [handle_event_trigger] event triggered
[ 0.006699] [0000606e] libusb: debug [darwin_handle_transfer_completion] handling transfer completion type control with kernel status 0
[ 0.006701] [0000606e] libusb: debug [usbi_handle_transfer_completion] transfer 0x14ee05890 has callback 0x1047aa03c
[ 0.006702] [0000606e] libusb: debug [sync_transfer_cb] actual_length=5
[ 0.006705] [0000606e] libusb: debug [libusb_free_transfer] transfer 0x14ee05890
[ 0.006706] [0000606e] libusb: debug [libusb_get_bos_descriptor] found BOS descriptor: size 73 bytes, 5 capabilities
[ 0.006708] [0000606e] libusb: debug [libusb_submit_transfer] transfer 0x14ee05890
[ 0.006736] [0000606e] libusb: debug [libusb_get_next_timeout] no URB with timeout or all handled by OS; no timeout!
[ 0.006741] [0000606e] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.006743] [0000606e] libusb: debug [usbi_wait_for_events] poll() 1 fds with timeout in 60000ms
[ 0.006737] [0000606f] libusb: debug [darwin_async_io_callback] an async io operation has completed
[ 0.006755] [0000606e] libusb: debug [usbi_wait_for_events] poll() returned 1
[ 0.006758] [0000606e] libusb: debug [handle_event_trigger] event triggered
[ 0.006759] [0000606e] libusb: debug [darwin_handle_transfer_completion] handling transfer completion type control with kernel status 0
[ 0.006761] [0000606e] libusb: debug [usbi_handle_transfer_completion] transfer 0x14ee05890 has callback 0x1047aa03c
[ 0.006763] [0000606e] libusb: debug [sync_transfer_cb] actual_length=73
[ 0.006765] [0000606e] libusb: debug [libusb_free_transfer] transfer 0x14ee05890
Reading BOS descriptor: 5 caps
    USB 2.0 extension:
      attributes             : F41E
    USB 3.0 capabilities:
      attributes             : 00
      supported speeds       : 000E
      supported functionality: 01
    USB 3.1 capabilities:
      num speed IDs: 3
      minLaneSpeed: 0
      minRXLanes: 1
      minTXLanes: 1
      num speed attribute IDs: 4
                  id=0 speed=5Gbs Sym RX SuperSpeed
                  id=0 speed=5Gbs Sym TX SuperSpeed
                  id=1 speed=10Gbs Sym RX SuperSpeed+
                  id=1 speed=10Gbs Sym TX SuperSpeed+
    Container ID:
      {e5cdb920-3970-11e0-a935-0002a5d5c51b}
    Unknown BOS device capability 0b:

Reading first configuration descriptor:
[ 0.006818] [0000606e] libusb: debug [libusb_get_config_descriptor] index 0
[ 0.006820] [0000606e] libusb: debug [parse_endpoint] skipping descriptor 0x30
              total length: 31
         descriptor length: 9
             nb interfaces: 1
              interface[0]: id = 0
interface[0].altsetting[0]: num endpoints = 1
   Class.SubClass.Protocol: 09.00.00
       endpoint[0].address: 81
           max packet size: 0002
          polling interval: 08
                 max burst: 00   (USB 3.0)
        bytes per interval: 0002 (USB 3.0)

[ 0.006834] [0000606e] libusb: debug [libusb_kernel_driver_active] interface 0

   Failed (error -5) Entity not found
Kernel driver attached for interface 0: 
Claiming interface 0...
[ 0.006929] [0000606e] libusb: debug [libusb_claim_interface] interface 0
[ 0.006986] [0000606e] libusb: debug [darwin_detach_kernel_driver] attempting to detach kernel driver from device
[ 0.007006] [0000606e] libusb: info [darwin_detach_kernel_driver] no capture entitlements. may not be able to detach the kernel driver for this device
[ 0.007693] [0000606f] libusb: debug [darwin_devices_detached] notifying context 0x14ef04080 of device disconnect
[ 0.008796] [0000606f] libusb: debug [darwin_devices_detached] notifying context 0x14ef04080 of device disconnect
[ 0.018679] [0000606e] libusb: debug [darwin_reenumerate_device] darwin/reenumerate_device: restoring state...
[ 0.018702] [0000606e] libusb: debug [darwin_open] device open for access
[ 0.018704] [0000606e] libusb: debug [darwin_restore_state] darwin/restore_state: reclaiming interfaces
[ 0.018706] [0000606e] libusb: debug [darwin_restore_state] darwin/restore_state: device state restored
[ 0.018894] [0000606e] libusb: debug [get_endpoints] building table of endpoints.
[ 0.018904] [0000606e] libusb: debug [get_endpoints] interface: 0 pipe 1: dir: 1 number: 1
[ 0.018915] [0000606e] libusb: debug [darwin_claim_interface] interface opened

Reading string descriptors:
[ 0.018919] [0000606e] libusb: debug [libusb_submit_transfer] transfer 0x14ee05890
[ 0.018944] [0000606e] libusb: debug [libusb_get_next_timeout] no URB with timeout or all handled by OS; no timeout!
[ 0.018948] [0000606e] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.018949] [0000606e] libusb: debug [usbi_wait_for_events] poll() 1 fds with timeout in 60000ms
[ 0.018953] [0000606e] libusb: debug [usbi_wait_for_events] poll() returned 1
[ 0.018955] [0000606e] libusb: debug [handle_event_trigger] event triggered
[ 0.018957] [0000606e] libusb: debug [handle_event_trigger] hotplug message received
[ 0.018959] [0000606e] libusb: debug [libusb_unref_device] destroy device 3.11
[ 0.018964] [0000606e] libusb: debug [libusb_unref_device] destroy device 3.10
[ 0.018967] [0000606e] libusb: debug [libusb_get_next_timeout] no URB with timeout or all handled by OS; no timeout!
[ 0.018969] [0000606e] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.018970] [0000606e] libusb: debug [usbi_wait_for_events] poll() 1 fds with timeout in 60000ms
[ 0.019215] [0000606f] libusb: debug [darwin_async_io_callback] an async io operation has completed
[ 0.019229] [0000606e] libusb: debug [usbi_wait_for_events] poll() returned 1
[ 0.019232] [0000606e] libusb: debug [handle_event_trigger] event triggered
[ 0.019234] [0000606e] libusb: debug [darwin_handle_transfer_completion] handling transfer completion type control with kernel status 0
[ 0.019235] [0000606e] libusb: debug [usbi_handle_transfer_completion] transfer 0x14ee05890 has callback 0x1047aa03c
[ 0.019237] [0000606e] libusb: debug [sync_transfer_cb] actual_length=4
[ 0.019239] [0000606e] libusb: debug [libusb_free_transfer] transfer 0x14ee05890
[ 0.019242] [0000606e] libusb: debug [libusb_submit_transfer] transfer 0x14ef049c0
[ 0.019259] [0000606e] libusb: debug [libusb_get_next_timeout] no URB with timeout or all handled by OS; no timeout!
[ 0.019261] [0000606e] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.019263] [0000606e] libusb: debug [usbi_wait_for_events] poll() 1 fds with timeout in 60000ms
[ 0.019270] [0000606f] libusb: debug [darwin_async_io_callback] an async io operation has completed
[ 0.019276] [0000606e] libusb: debug [usbi_wait_for_events] poll() returned 1
[ 0.019277] [0000606e] libusb: debug [handle_event_trigger] event triggered
[ 0.019279] [0000606e] libusb: debug [darwin_handle_transfer_completion] handling transfer completion type control with kernel status 0
[ 0.019280] [0000606e] libusb: debug [usbi_handle_transfer_completion] transfer 0x14ef049c0 has callback 0x1047aa03c
[ 0.019281] [0000606e] libusb: debug [sync_transfer_cb] actual_length=20
[ 0.019284] [0000606e] libusb: debug [libusb_free_transfer] transfer 0x14ef049c0
   String (0x01): "Dell Inc."
[ 0.019287] [0000606e] libusb: debug [libusb_submit_transfer] transfer 0x14ef049c0
[ 0.019308] [0000606e] libusb: debug [libusb_get_next_timeout] no URB with timeout or all handled by OS; no timeout!
[ 0.019311] [0000606e] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.019312] [0000606e] libusb: debug [usbi_wait_for_events] poll() 1 fds with timeout in 60000ms
[ 0.019532] [0000606f] libusb: debug [darwin_async_io_callback] an async io operation has completed
[ 0.019545] [0000606e] libusb: debug [usbi_wait_for_events] poll() returned 1
[ 0.019548] [0000606e] libusb: debug [handle_event_trigger] event triggered
[ 0.019549] [0000606e] libusb: debug [darwin_handle_transfer_completion] handling transfer completion type control with kernel status 0
[ 0.019551] [0000606e] libusb: debug [usbi_handle_transfer_completion] transfer 0x14ef049c0 has callback 0x1047aa03c
[ 0.019552] [0000606e] libusb: debug [sync_transfer_cb] actual_length=4
[ 0.019554] [0000606e] libusb: debug [libusb_free_transfer] transfer 0x14ef049c0
[ 0.019556] [0000606e] libusb: debug [libusb_submit_transfer] transfer 0x14ef049c0
[ 0.019573] [0000606e] libusb: debug [libusb_get_next_timeout] no URB with timeout or all handled by OS; no timeout!
[ 0.019575] [0000606e] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.019576] [0000606e] libusb: debug [usbi_wait_for_events] poll() 1 fds with timeout in 60000ms
[ 0.019581] [0000606f] libusb: debug [darwin_async_io_callback] an async io operation has completed
[ 0.019592] [0000606e] libusb: debug [usbi_wait_for_events] poll() returned 1
[ 0.019596] [0000606e] libusb: debug [handle_event_trigger] event triggered
[ 0.019598] [0000606e] libusb: debug [darwin_handle_transfer_completion] handling transfer completion type control with kernel status 0
[ 0.019600] [0000606e] libusb: debug [usbi_handle_transfer_completion] transfer 0x14ef049c0 has callback 0x1047aa03c
[ 0.019602] [0000606e] libusb: debug [sync_transfer_cb] actual_length=20
[ 0.019605] [0000606e] libusb: debug [libusb_free_transfer] transfer 0x14ef049c0
   String (0x02): "Dell dock"

[ 0.019620] [0000606e] libusb: debug [libusb_submit_transfer] transfer 0x13ee04150
[ 0.019650] [0000606e] libusb: debug [libusb_get_next_timeout] no URB with timeout or all handled by OS; no timeout!
[ 0.019653] [0000606e] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.019654] [0000606e] libusb: debug [usbi_wait_for_events] poll() 1 fds with timeout in 60000ms
[ 0.019860] [0000606f] libusb: debug [darwin_async_io_callback] an async io operation has completed
[ 0.019873] [0000606e] libusb: debug [usbi_wait_for_events] poll() returned 1
[ 0.019876] [0000606e] libusb: debug [handle_event_trigger] event triggered
[ 0.019877] [0000606e] libusb: debug [darwin_handle_transfer_completion] handling transfer completion type control with kernel status -536854449
[ 0.019879] [0000606e] libusb: debug [darwin_transfer_status] transfer error: pipe is stalled
[ 0.019880] [0000606e] libusb: debug [usbi_handle_transfer_completion] transfer 0x13ee04150 has callback 0x1047aa03c
[ 0.019881] [0000606e] libusb: debug [sync_transfer_cb] actual_length=0
[ 0.019883] [0000606e] libusb: debug [libusb_free_transfer] transfer 0x13ee04150
Reading OS string descriptor: no descriptor

Reading interface association descriptors (IADs) for first configuration:
[ 0.019888] [0000606e] libusb: debug [libusb_get_interface_association_descriptors] IADs for config index 0
    nb IADs: 0

Releasing interface 0...
[ 0.019893] [0000606e] libusb: debug [libusb_release_interface] interface 0
[ 0.020056] [0000606e] libusb: debug [darwin_attach_kernel_driver] reenumerating device for kernel driver attach
[ 0.022592] [0000606e] libusb: debug [darwin_reenumerate_device] darwin/reenumerate_device: waiting for re-enumeration to complete...
[ 0.023077] [0000606f] libusb: debug [darwin_devices_detached] detected device detached due to re-enumeration. sessionID: 0x48f2b0750, locationID: 0x3400000
[ 0.057926] [0000606f] libusb: debug [darwin_get_cached_device] finding cached device for sessionID 0x58ea45c50
[ 0.057949] [0000606f] libusb: debug [darwin_get_cached_device] matching sessionID/locationID 0x58ea45c50/0x3400000 against cached device with sessionID/locationID 0x48f2b0750/0x3400000
[ 0.057951] [0000606f] libusb: debug [darwin_get_cached_device] found cached device with matching location that is being re-enumerated
[ 0.057952] [0000606f] libusb: debug [darwin_get_cached_device] caching new device with sessionID 0x58ea45c50
[ 0.059265] [0000606f] libusb: debug [darwin_cache_device_descriptor] cached device descriptor:
[ 0.059267] [0000606f] libusb: debug [darwin_cache_device_descriptor]   bDescriptorType:    0x01
[ 0.059268] [0000606f] libusb: debug [darwin_cache_device_descriptor]   bcdUSB:             0x0310
[ 0.059269] [0000606f] libusb: debug [darwin_cache_device_descriptor]   bDeviceClass:       0x09
[ 0.059271] [0000606f] libusb: debug [darwin_cache_device_descriptor]   bDeviceSubClass:    0x00
[ 0.059272] [0000606f] libusb: debug [darwin_cache_device_descriptor]   bDeviceProtocol:    0x03
[ 0.059272] [0000606f] libusb: debug [darwin_cache_device_descriptor]   bMaxPacketSize0:    0x09
[ 0.059273] [0000606f] libusb: debug [darwin_cache_device_descriptor]   idVendor:           0x0bda
[ 0.059274] [0000606f] libusb: debug [darwin_cache_device_descriptor]   idProduct:          0x0487
[ 0.059275] [0000606f] libusb: debug [darwin_cache_device_descriptor]   bcdDevice:          0x0147
[ 0.059276] [0000606f] libusb: debug [darwin_cache_device_descriptor]   iManufacturer:      0x01
[ 0.059277] [0000606f] libusb: debug [darwin_cache_device_descriptor]   iProduct:           0x02
[ 0.059278] [0000606f] libusb: debug [darwin_cache_device_descriptor]   iSerialNumber:      0x00
[ 0.059279] [0000606f] libusb: debug [darwin_cache_device_descriptor]   bNumConfigurations: 0x01
[ 0.069693] [0000606f] libusb: debug [darwin_check_configuration] active config: 1, first config: 1
[ 0.069696] [0000606f] libusb: debug [process_new_device] re-using existing device from context 0x14ef04080 for with session 0x48f2b0750 new session 0x58ea45c50
[ 0.069697] [0000606f] libusb: debug [process_new_device] found device with address 9 port = 4 parent = 0x0 at 0x600003a4853a
[ 0.069699] [0000606f] libusb: debug [darwin_devices_attached] cached device in reset state. reset complete...
[ 0.069705] [0000606e] libusb: debug [darwin_reenumerate_device] darwin/reenumerate_device: checking whether descriptors changed
[ 0.069707] [0000606e] libusb: debug [darwin_reenumerate_device] darwin/reenumerate_device: device reset complete. restoring state...
[ 0.069936] [0000606e] libusb: warning [darwin_open] USBDeviceOpen: another process has device opened for exclusive access
[ 0.069951] [0000606e] libusb: debug [darwin_open] device open for access
[ 0.069952] [0000606e] libusb: debug [darwin_restore_state] darwin/restore_state: reclaiming interfaces
[ 0.069953] [0000606e] libusb: debug [darwin_restore_state] darwin/restore_state: re-claiming interface 0
[ 0.081780] [0000606e] libusb: info [darwin_claim_interface] USBInterfaceOpen: another process has device opened for exclusive access
[ 0.081792] [0000606e] libusb: debug [darwin_restore_state] darwin/restore_state: could not claim interface 0
[ 0.081798] [0000606e] libusb: info [darwin_capture_release_interface] on attempt to reattach the kernel driver got ret=-5
Closing device...
[ 0.081809] [0000606e] libusb: debug [libusb_close]  
[ 0.081821] [0000606e] libusb: debug [libusb_exit] destroying default context
[ 0.081823] [0000606e] libusb: debug [libusb_unref_device] destroy device 3.9
[ 0.081824] [0000606e] libusb: debug [libusb_unref_device] destroy device 3.8
[ 0.081825] [0000606e] libusb: debug [libusb_unref_device] destroy device 3.7
[ 0.081826] [0000606e] libusb: debug [libusb_unref_device] destroy device 3.6
[ 0.081827] [0000606e] libusb: debug [libusb_unref_device] destroy device 3.5
[ 0.081828] [0000606e] libusb: debug [libusb_unref_device] destroy device 3.1
[ 0.081830] [0000606e] libusb: debug [libusb_unref_device] destroy device 2.11
[ 0.081831] [0000606e] libusb: debug [libusb_unref_device] destroy device 2.10
[ 0.081832] [0000606e] libusb: debug [libusb_unref_device] destroy device 2.9
[ 0.081833] [0000606e] libusb: debug [libusb_unref_device] destroy device 2.8
[ 0.081834] [0000606e] libusb: debug [libusb_unref_device] destroy device 2.7
[ 0.081835] [0000606e] libusb: debug [libusb_unref_device] destroy device 2.6
[ 0.081836] [0000606e] libusb: debug [libusb_unref_device] destroy device 2.5
[ 0.081837] [0000606e] libusb: debug [libusb_unref_device] destroy device 2.3
[ 0.081838] [0000606e] libusb: debug [libusb_unref_device] destroy device 2.2
[ 0.081839] [0000606e] libusb: debug [libusb_unref_device] destroy device 2.1
[ 0.081849] [0000606f] libusb: debug [darwin_event_thread_main] darwin event thread exiting
[ 0.083275] [0000606e] libusb: debug [usbi_remove_event_source] remove fd 3

@mcuee
Copy link
Member

mcuee commented Feb 20, 2024

@tormodvolden

@hjelmn has approved this PR. Please review as well. Thanks.

@fabiensanglard
Copy link
Author

Anything else blocking merging this CL?

See specs in USB 3.1 specs in section:

9.6.2.5 SuperSpeedPlus USB Device Capability
@tormodvolden
Copy link
Contributor

I don't think anything else is needed from your side, but I would have liked to hear back from @hjelmn in #1429.

@fabiensanglard
Copy link
Author

@hjelmn Just replied and he is fine with the interface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API API changes core Related to common codes enhancement New features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants