libusb icon indicating copy to clipboard operation
libusb copied to clipboard

libusb open fails returns error not supported for USB HUBs with supported driver

Open Janarthanan-S-03 opened this issue 1 year ago • 59 comments

while trying to open a hub with vid:0x424 and pid:0x2906 in windows 10 x64 processor

logs:-

Application Code Example Version: 1.0.0
DEBUGINFO:libusb_open_device_with_vid_pid HUB VID:0x0424, PID:0x2906
[timestamp] [threadID] facility level [function call] <message>
--------------------------------------------------------------------------------
[ 0.024401] [00005ea8] libusb: debug [libusb_get_device_list]
[ 0.027186] [00004c74] libusb: debug [windows_iocp_thread] I/O completion thread started
[ 0.039438] [00005ea8] libusb: debug [winusb_get_device_list] allocating new device for session [3D]
[ 0.039571] [00005ea8] libusb: debug [winusb_get_device_list] allocating new device for session [3E]
[ 0.039649] [00005ea8] libusb: debug [winusb_get_device_list] allocating new device for session [3F]
[ 0.039751] [00005ea8] libusb: debug [winusb_get_device_list] allocating new device for session [40]
[ 0.039825] [00005ea8] libusb: debug [winusb_get_device_list] allocating new device for session [43]
[ 0.039902] [00005ea8] libusb: debug [winusb_get_device_list] allocating new device for session [44]
[ 0.040020] [00005ea8] libusb: debug [winusb_get_device_list] allocating new device for session [45]
[ 0.040328] [00005ea8] libusb: debug [get_api_type] driver(s): BTHUSB
[ 0.040488] [00005ea8] libusb: debug [get_api_type] lower filter driver(s): ibtusb
[ 0.040510] [00005ea8] libusb: debug [winusb_get_device_list] allocating new device for session [5]
[ 0.040842] [00005ea8] libusb: debug [get_api_type] driver(s): usbccgp
[ 0.040906] [00005ea8] libusb: debug [get_api_type] matched driver name against Composite API
[ 0.040926] [00005ea8] libusb: debug [winusb_get_device_list] allocating new device for session [41]
[ 0.041079] [00005ea8] libusb: debug [get_api_type] driver(s): usbccgp
[ 0.041120] [00005ea8] libusb: debug [get_api_type] matched driver name against Composite API
[ 0.041142] [00005ea8] libusb: debug [winusb_get_device_list] allocating new device for session [42]
[ 0.041418] [00005ea8] libusb: debug [get_api_type] driver(s): rtump64x64
[ 0.041476] [00005ea8] libusb: debug [winusb_get_device_list] allocating new device for session [57]
[ 0.041636] [00005ea8] libusb: debug [get_api_type] driver(s): HidUsb
[ 0.041677] [00005ea8] libusb: debug [get_api_type] matched driver name against HID API
[ 0.041695] [00005ea8] libusb: debug [winusb_get_device_list] allocating new device for session [58]
[ 0.041872] [00005ea8] libusb: debug [get_api_type] driver(s): HidUsb
[ 0.041910] [00005ea8] libusb: debug [get_api_type] matched driver name against HID API
[ 0.041928] [00005ea8] libusb: debug [winusb_get_device_list] allocating new device for session [59]
[ 0.042147] [00005ea8] libusb: debug [get_api_type] driver(s): HidUsb
[ 0.042327] [00005ea8] libusb: debug [get_api_type] matched driver name against HID API
[ 0.042460] [00005ea8] libusb: debug [winusb_get_device_list] allocating new device for session [5A]
[ 0.043298] [00005ea8] libusb: debug [enumerate_hcd_root_hub] assigning HCD 'PCI\VEN_8086&DEV_9A13&SUBSYS_0B201028&REV_01\3&11583659&1&68' bus number 1
[ 0.047806] [00005ea8] libusb: debug [enumerate_hcd_root_hub] assigning HCD 'PCI\VEN_8086&DEV_A0ED&SUBSYS_0B201028&REV_20\3&11583659&1&A0' bus number 2
[ 0.049775] [00005ea8] libusb: debug [winusb_get_device_list] found existing device for session [42]
[ 0.049945] [00005ea8] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 0.050123] [00005ea8] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 1011 bytes)
[ 0.050445] [00005ea8] libusb: debug [init_device] (bus: 2, addr: 2, depth: 1, port: 6): 'USB\VID_1BCF&PID_28C4\01.00.00'
[ 0.050804] [00005ea8] libusb: debug [winusb_get_device_list] found existing device for session [41]
[ 0.051140] [00005ea8] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 0.052055] [00005ea8] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 235 bytes)
[ 0.052265] [00005ea8] libusb: debug [init_device] (bus: 2, addr: 30, depth: 3, port: 1): 'USB\VID_046D&PID_0A38\7&D4EFE21&0&1'
[ 0.052737] [00005ea8] libusb: debug [winusb_get_device_list] found existing device for session [45]
[ 0.052872] [00005ea8] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 0.053323] [00005ea8] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 41 bytes)
[ 0.053783] [00005ea8] libusb: debug [init_device] (bus: 2, addr: 31, depth: 1, port: 7): 'USB\VID_0424&PID_2906\5&20218183&0&7'
[ 0.054032] [00005ea8] libusb: debug [winusb_get_device_list] found existing device for session [3E]
[ 0.054346] [00005ea8] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 0.054448] [00005ea8] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 31 bytes)
[ 0.054831] [00005ea8] libusb: debug [init_device] (bus: 1, addr: 12, depth: 1, port: 2): 'USB\VID_0BDA&PID_0487\5&E0F0CD&0&2'
[ 0.056890] [00005ea8] libusb: debug [winusb_get_device_list] found existing device for session [44]
[ 0.057297] [00005ea8] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 0.057375] [00005ea8] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 31 bytes)
[ 0.057737] [00005ea8] libusb: debug [init_device] (bus: 1, addr: 15, depth: 2, port: 3): 'USB\VID_0BDA&PID_0413\6&355B9095&0&3'
[ 0.057986] [00005ea8] libusb: debug [winusb_get_device_list] found existing device for session [5A]
[ 0.058494] [00005ea8] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 0.061577] [00005ea8] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 34 bytes)
[ 0.062229] [00005ea8] libusb: debug [init_device] (bus: 2, addr: 29, depth: 3, port: 3): 'USB\VID_03F0&PID_134A\7&D4EFE21&0&3'
[ 0.062635] [00005ea8] libusb: debug [init_root_hub] root hub 'USB\ROOT_HUB30\4&380AFD4&0&0' reports 16 ports
[ 0.062739] [00005ea8] libusb: debug [init_device] (bus: 2, addr: 0, depth: 0, port: 0): 'USB\ROOT_HUB30\4&380AFD4&0&0'
[ 0.063033] [00005ea8] libusb: debug [init_root_hub] root hub 'USB\ROOT_HUB30\4&C7086AB&0&0' reports 5 ports
[ 0.063232] [00005ea8] libusb: debug [init_device] (bus: 1, addr: 0, depth: 0, port: 0): 'USB\ROOT_HUB30\4&C7086AB&0&0'
[ 0.063465] [00005ea8] libusb: debug [winusb_get_device_list] found existing device for session [40]
[ 0.063792] [00005ea8] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 0.063902] [00005ea8] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 41 bytes)
[ 0.064217] [00005ea8] libusb: debug [init_device] (bus: 2, addr: 26, depth: 1, port: 2): 'USB\VID_0BDA&PID_5487\5&20218183&0&2'
[ 0.064519] [00005ea8] libusb: debug [winusb_get_device_list] found existing device for session [5]
[ 0.064789] [00005ea8] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 0.064901] [00005ea8] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 200 bytes)
[ 0.065234] [00005ea8] libusb: debug [init_device] (bus: 2, addr: 4, depth: 1, port: 10): 'USB\VID_8087&PID_0026\5&20218183&0&10'
[ 0.065530] [00005ea8] libusb: debug [winusb_get_device_list] found existing device for session [3F]
[ 0.065790] [00005ea8] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 0.065904] [00005ea8] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 41 bytes)
[ 0.066221] [00005ea8] libusb: debug [init_device] (bus: 2, addr: 28, depth: 2, port: 3): 'USB\VID_0BDA&PID_5413\6&1C7BF187&0&3'
[ 0.066466] [00005ea8] libusb: debug [winusb_get_device_list] found existing device for session [57]
[ 0.066829] [00005ea8] libusb: debug [init_device] found 2 configurations (current config: 1)
[ 0.067106] [00005ea8] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 57 bytes)
[ 0.067441] [00005ea8] libusb: debug [cache_config_descriptors] cached config descriptor 1 (bConfigurationValue=2, 98 bytes)
[ 0.067769] [00005ea8] libusb: debug [init_device] (bus: 1, addr: 14, depth: 2, port: 4): 'USB\VID_0BDA&PID_8153\1113000001'
[ 0.068077] [00005ea8] libusb: debug [winusb_get_device_list] found existing device for session [59]
[ 0.068708] [00005ea8] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 0.068788] [00005ea8] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 34 bytes)
[ 0.069128] [00005ea8] libusb: debug [init_device] (bus: 2, addr: 32, depth: 3, port: 5): 'USB\VID_413C&PID_B06F\7&D4EFE21&0&5'
[ 0.069360] [00005ea8] libusb: debug [winusb_get_device_list] allocating new device for session [72]
[ 1.361854] [00005ea8] libusb: error [init_device] device 'USB\VID_0000&PID_0001\5&20218183&0&14' has invalid descriptor!
[ 1.362489] [00005ea8] libusb: warning [winusb_get_device_list] failed to initialize device 'USB\VID_0000&PID_0001\5&20218183&0&14'
[ 1.365171] [00005ea8] libusb: debug [winusb_get_device_list] found existing device for session [58]
[ 1.365828] [00005ea8] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 1.367707] [00005ea8] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 34 bytes)
[ 1.368718] [00005ea8] libusb: debug [init_device] (bus: 2, addr: 27, depth: 2, port: 5): 'USB\VID_413C&PID_B06E\6&1C7BF187&0&5'
[ 1.390648] [00005ea8] libusb: debug [winusb_get_device_list] unlisted ancestor for 'HID\VID_8087&PID_0AC2\6&8DC5C66&0&0000' (non USB HID, newly connected, etc.) - ignoring
[ 1.390871] [00005ea8] libusb: debug [winusb_get_device_list] setting HID interface for [5A]:
[ 1.391377] [00005ea8] libusb: debug [set_hid_interface] interface[0] = \\?\HID#VID_03F0&PID_134A#8&7D9FE62&0&0000#{4D1E55B2-F16F-11CF-88CB-001111000030}
[ 1.391752] [00005ea8] libusb: debug [winusb_get_device_list] unlisted ancestor for 'HID\DELL0B20&COL01\5&EB44C66&0&0000' (non USB HID, newly connected, etc.) - ignoring
[ 1.392330] [00005ea8] libusb: debug [winusb_get_device_list] unlisted ancestor for 'HID\CONVERTEDDEVICE&COL03\5&2204AA2D&0&0002' (non USB HID, newly connected, etc.) - ignoring
[ 1.394016] [00005ea8] libusb: debug [winusb_get_device_list] setting composite interface for [41]:
[ 1.394277] [00005ea8] libusb: debug [set_composite_interface] interface[3] = \\?\HID#VID_046D&PID_0A38&MI_03&COL01#9&6E96CE9&0&0000#{4D1E55B2-F16F-11CF-88CB-001111000030}
[ 1.395980] [00005ea8] libusb: debug [winusb_get_device_list] unlisted ancestor for 'HID\INTC816\3&36043C54&0&0000' (non USB HID, newly connected, etc.) - ignoring
[ 1.396206] [00005ea8] libusb: debug [winusb_get_device_list] setting composite interface for [41]:
[ 1.396582] [00005ea8] libusb: debug [set_composite_interface] interface[3] already set - ignoring HID collection: HID\VID_046D&PID_0A38&MI_03&COL02\9&6E96CE9&0&0001
[ 1.396880] [00005ea8] libusb: debug [winusb_get_device_list] unlisted ancestor for 'HID\DELL0B20&COL02\5&EB44C66&0&0001' (non USB HID, newly connected, etc.) - ignoring
[ 1.397333] [00005ea8] libusb: debug [winusb_get_device_list] setting HID interface for [59]:
[ 1.397490] [00005ea8] libusb: debug [set_hid_interface] interface[0] = \\?\HID#VID_413C&PID_B06F#8&155D59CD&0&0000#{4D1E55B2-F16F-11CF-88CB-001111000030}
[ 1.397920] [00005ea8] libusb: debug [winusb_get_device_list] unlisted ancestor for 'HID\CONVERTEDDEVICE&COL02\5&2204AA2D&0&0001' (non USB HID, newly connected, etc.) - ignoring
[ 1.398112] [00005ea8] libusb: debug [winusb_get_device_list] unlisted ancestor for 'HID\DELL0B20&COL03\5&EB44C66&0&0002' (non USB HID, newly connected, etc.) - ignoring
[ 1.398468] [00005ea8] libusb: debug [winusb_get_device_list] setting HID interface for [58]:
[ 1.398632] [00005ea8] libusb: debug [set_hid_interface] interface[0] = \\?\HID#VID_413C&PID_B06E#7&E8BEB33&0&0000#{4D1E55B2-F16F-11CF-88CB-001111000030}
[ 1.399020] [00005ea8] libusb: debug [winusb_get_device_list] unlisted ancestor for 'HID\DELL0B20&COL04\5&EB44C66&0&0003' (non USB HID, newly connected, etc.) - ignoring
[ 1.400289] [00005ea8] libusb: debug [winusb_get_device_list] unlisted ancestor for 'HID\CONVERTEDDEVICE&COL01\5&2204AA2D&0&0000' (non USB HID, newly connected, etc.) - ignoring
[ 1.400931] [00005ea8] libusb: debug [libusb_unref_device] destroy device 2.0
[ 1.402165] [00005ea8] libusb: debug [libusb_get_device_descriptor]
[ 1.402590] [00005ea8] libusb: debug [libusb_get_device_descriptor]
[ 1.402891] [00005ea8] libusb: debug [libusb_get_device_descriptor]
[ 4.853956] [00005ea8] libusb: debug [libusb_open] open 2.31
[ 6.864877] [00005ea8] libusb: debug [winusb_open] unsupported API call for 'open' (unrecognized device driver)
[ 6.864954] [00005ea8] libusb: debug [libusb_open] open 2.31 returns -12
[ 6.866000] [00005ea8] libusb: debug [libusb_unref_device] destroy device 2.2
[ 6.867383] [00005ea8] libusb: debug [libusb_unref_device] destroy device 2.30
[ 6.867699] [00005ea8] libusb: debug [libusb_unref_device] destroy device 2.31
[ 6.868051] [00005ea8] libusb: debug [libusb_unref_device] destroy device 1.15
[ 6.868412] [00005ea8] libusb: debug [libusb_unref_device] destroy device 2.29
[ 6.869313] [00005ea8] libusb: debug [libusb_unref_device] destroy device 2.4
[ 6.869778] [00005ea8] libusb: debug [libusb_unref_device] destroy device 1.14
[ 6.869929] [00005ea8] libusb: debug [libusb_unref_device] destroy device 1.12
[ 6.870275] [00005ea8] libusb: debug [libusb_unref_device] destroy device 1.0
[ 6.870446] [00005ea8] libusb: debug [libusb_unref_device] destroy device 2.32
[ 6.870756] [00005ea8] libusb: debug [libusb_unref_device] destroy device 2.28
[ 6.870940] [00005ea8] libusb: debug [libusb_unref_device] destroy device 2.27
[ 6.871268] [00005ea8] libusb: debug [libusb_unref_device] destroy device 2.26
[ 6.871430] [00005ea8] libusb: debug [libusb_unref_device] destroy device 2.0
DEBUGINFO:libusb_open_device_with_vid_pid: Fail 

Janarthanan-S-03 avatar Aug 29 '23 10:08 Janarthanan-S-03

[ 4.853956] [00005ea8] libusb: debug [libusb_open] open 2.31
[ 6.864877] [00005ea8] libusb: debug [winusb_open] unsupported API call for 'open' (unrecognized device driver)
[ 6.864954] [00005ea8] libusb: debug [libusb_open] open 2.31 returns -12

Please read here: did you install a supported driver? https://github.com/libusb/libusb/wiki/Windows#how-to-use-libusb-on-windows

mcuee avatar Aug 29 '23 11:08 mcuee

image Installed the driver same issue exists.

Janarthanan-S-03 avatar Aug 30 '23 03:08 Janarthanan-S-03

What is the version of libusb are you using? Please use libusb-1.0.26 or git.

I have a similar smart HUB on Windows 10 x64 and I can not reproduce the issue.

C:\work\libusb\libusb_bin\libusb-1.0.26-binaries\VS2015-x64\examples> .\xusb 0424:2740
Using libusb v1.0.26.11724

Opening device 0424:2740...

Reading device descriptor:
            length: 18
      device class: 0
               S/N: 0
           VID:PID: 0424:2740
         bcdDevice: 0200
   iMan:iProd:iSer: 1:2:0
          nb confs: 1

Reading BOS descriptor: 1 caps
    USB 2.0 extension:
      attributes             : A21E

Reading first configuration descriptor:
              total length: 18
         descriptor length: 9
             nb interfaces: 1
              interface[0]: id = 0
interface[0].altsetting[0]: num endpoints = 0
   Class.SubClass.Protocol: FF.FF.FF

Kernel driver attached for interface 0: -12

Claiming interface 0...

Reading string descriptors:
   String (0x01): "Microchip Tech"
   String (0x02): "Hub Controller"

Reading OS string descriptor:

Reading Extended Compat ID OS Feature Descriptor (wIndex = 0x0004):

  00000000  28 00 00 00 00 01 04 00 01 00 00 00 00 00 00 00  (...............
  00000010  00 01 57 49 4e 55 53 42 00 00 00 00 00 00 00 00  ..WINUSB........
  00000020  00 00 00 00 00 00 00 00                          ........

Reading Extended Properties OS Feature Descriptor (wIndex = 0x0005):
   Failed: Pipe error
Releasing interface 0...
Closing device...

mcuee avatar Aug 31 '23 08:08 mcuee

@Janarthanan-S-03

Please post the full debug log of xusb -d 0424:2906. Thanks.

mcuee avatar Aug 31 '23 08:08 mcuee

Can u please try getting the handle for the hub. I am using the libusb-1.0.26. libusb_open() is working for the same hub in linux and in windows its fails. I will send you the logs tomorrow morning. Thanks, Janarthanan

Janarthanan-S-03 avatar Aug 31 '23 10:08 Janarthanan-S-03

Attaching the Logs

C:\Perforce\Karpagam_P4V\depot_dsg\Apps Group\src\Application Code Example\USB249xx\Vs2015\libusb-1.0.23\Win32\Debug\examples>xusb -d 0424:2734
Using libusb v1.0.23.11470

 

[timestamp] [threadID] facility level [function call] <message>
--------------------------------------------------------------------------------
[ 0.000009] [00007f10] libusb: debug [libusb_init] created default context
[ 0.002658] [00007f10] libusb: debug [libusb_init] libusb v1.0.23.11470
[ 0.003374] [00007f10] libusb: debug [get_windows_version] Windows 8 64-bit
[ 0.003577] [00007f10] libusb: debug [windows_init_clock] hires timer frequency: 10000000 Hz
[ 0.003695] [00007f10] libusb: debug [htab_create] using 1021 entries hash table
[ 0.030939] [00007f10] libusb: info [winusbx_init] WinUSB DLL available (with isoch support)
[ 0.032747] [00007f10] libusb: debug [winusbx_init] libusbK DLL found, version: 3.0.7.0
[ 0.037288] [00007f10] libusb: info [windows_init] UsbDk backend is not available
[ 0.037460] [00007f10] libusb: debug [usbi_add_pollfd] add fd 0 events 1
Opening device 0424:2734...
[ 0.039568] [00007f10] libusb: debug [libusb_get_device_list]
[ 0.052296] [00007f10] libusb: debug [winusb_get_device_list] allocating new device for session [3B]
[ 0.052494] [00007f10] libusb: debug [winusb_get_device_list] allocating new device for session [3D]
[ 0.052886] [00007f10] libusb: debug [winusb_get_device_list] allocating new device for session [60]
[ 0.054421] [00007f10] libusb: debug [get_api_type] driver(s): BTHUSB
[ 0.054540] [00007f10] libusb: debug [get_api_type] lower filter driver(s): ibtusb
[ 0.054846] [00007f10] libusb: debug [winusb_get_device_list] allocating new device for session [A]
[ 0.055228] [00007f10] libusb: debug [get_api_type] driver(s): usbccgp
[ 0.055313] [00007f10] libusb: debug [get_api_type] matched driver name against Composite API
[ 0.055603] [00007f10] libusb: debug [winusb_get_device_list] allocating new device for session [3C]
[ 0.056091] [00007f10] libusb: debug [get_api_type] driver(s): WUDFRd
[ 0.056200] [00007f10] libusb: debug [get_api_type] lower filter driver(s): WinUsb
[ 0.056497] [00007f10] libusb: debug [get_api_type] matched lower filter driver name against WinUSB
[ 0.056537] [00007f10] libusb: debug [winusb_get_device_list] allocating new device for session [4B]
[ 0.056980] [00007f10] libusb: debug [get_api_type] driver(s): HidUsb
[ 0.057230] [00007f10] libusb: debug [get_api_type] matched driver name against HID API
[ 0.057434] [00007f10] libusb: debug [winusb_get_device_list] allocating new device for session [4C]
[ 0.058092] [00007f10] libusb: debug [get_api_type] driver(s): WinUSB
[ 0.058264] [00007f10] libusb: debug [get_api_type] matched driver name against WinUSB
[ 0.058476] [00007f10] libusb: debug [winusb_get_device_list] allocating new device for session [4D]
[ 0.058917] [00007f10] libusb: debug [enumerate_hcd_root_hub] assigning HCD 'PCI\VEN_8086&DEV_9DED&SUBSYS_507517AA&REV_30\3&11583659&1&A0' bus number 1
[ 0.059725] [00007f10] libusb: debug [winusb_get_device_list] found existing device for session [4C]
[ 0.059891] [00007f10] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 0.060084] [00007f10] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 34 bytes)
[ 0.060470] [00007f10] libusb: debug [init_device] (bus: 1, addr: 25, depth: 1, port: 1): 'USB\VID_413C&PID_301A\5&253C&0&1'
[ 0.060827] [00007f10] libusb: debug [winusb_get_device_list] extra GUID: {B35924D6-3E16-4A9E-9782-5524A4B79BAC}
[ 0.060950] [00007f10] libusb: debug [winusb_get_device_list] found existing device for session [4D]
[ 0.061272] [00007f10] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 0.061493] [00007f10] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 18 bytes)
[ 0.061764] [00007f10] libusb: debug [init_device] (bus: 1, addr: 19, depth: 2, port: 5): 'USB\VID_0424&PID_49A0\6&D5AE27&1&5'
[ 0.062239] [00007f10] libusb: debug [winusb_get_device_list] found existing device for session [3D]
[ 0.062387] [00007f10] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 0.062607] [00007f10] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 41 bytes)
[ 0.062849] [00007f10] libusb: debug [init_device] (bus: 1, addr: 18, depth: 1, port: 2): 'USB\VID_0424&PID_4926\5&253C&0&2'
[ 0.063183] [00007f10] libusb: debug [winusb_get_device_list] found existing device for session [3C]
[ 0.063365] [00007f10] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 0.063583] [00007f10] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 1026 bytes)
[ 0.063677] [00007f10] libusb: debug [init_device] (bus: 1, addr: 2, depth: 1, port: 7): 'USB\VID_04CA&PID_7070\5&253C&0&7'
[ 0.064036] [00007f10] libusb: debug [winusb_get_device_list] found existing device for session [4B]
[ 0.064212] [00007f10] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 0.064439] [00007f10] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 39 bytes)
[ 0.064698] [00007f10] libusb: debug [init_device] (bus: 1, addr: 3, depth: 1, port: 8): 'USB\VID_06CB&PID_00BE\79A422D1E505'
[ 0.065071] [00007f10] libusb: debug [winusb_get_device_list] extra GUID: {EC11E711-0B8D-458C-A879-289C367A3419}
[ 0.065187] [00007f10] libusb: debug [winusb_get_device_list] found existing device for session [60]
[ 0.065506] [00007f10] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 0.069047] [00007f10] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 41 bytes)
[ 0.069655] [00007f10] libusb: debug [init_device] (bus: 1, addr: 4, depth: 2, port: 2): 'USB\VID_0424&PID_2734\6&D5AE27&1&2'
[ 0.070219] [00007f10] libusb: debug [winusb_get_device_list] found existing device for session [A]
[ 0.070571] [00007f10] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 0.070805] [00007f10] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 200 bytes)
[ 0.071091] [00007f10] libusb: debug [init_device] (bus: 1, addr: 1, depth: 1, port: 6): 'USB\VID_8087&PID_0025\5&253C&0&6'
[ 0.071573] [00007f10] libusb: debug [init_device] (bus: 1, addr: 0, depth: 0, port: 0): 'USB\ROOT_HUB30\4&7FFD5DC&0&0'
[ 0.071935] [00007f10] libusb: debug [winusb_get_device_list] setting HID interface for [4C]:
[ 0.071993] [00007f10] libusb: debug [set_hid_interface] interface[0] = \\.\HID#VID_413C&PID_301A#6&2609F5C4&0&0000#{4D1E55B2-F16F-11CF-88CB-001111000030}
[ 0.072349] [00007f10] libusb: debug [winusb_get_device_list] unlisted ancestor for 'HID\VID_04F3&PID_0000&COL01\6&F55883&0&0000' (non USB HID, newly connected, etc.) - ignoring
[ 0.072626] [00007f10] libusb: debug [winusb_get_device_list] unlisted ancestor for 'HID\VID_04F3&PID_0000&COL02\6&F55883&0&0001' (non USB HID, newly connected, etc.) - ignoring
[ 0.072827] [00007f10] libusb: debug [winusb_get_device_list] unlisted ancestor for 'HID\VID_04F3&PID_0000&COL03\6&F55883&0&0002' (non USB HID, newly connected, etc.) - ignoring
[ 0.073631] [00007f10] libusb: debug [get_api_type] driver(s): WinUSB
[ 0.073719] [00007f10] libusb: debug [get_api_type] matched driver name against WinUSB
[ 0.074441] [00007f10] libusb: debug [get_api_type] driver(s): WinUSB
[ 0.074526] [00007f10] libusb: debug [get_api_type] matched driver name against WinUSB
[ 0.074954] [00007f10] libusb: debug [libusb_get_device_descriptor]
[ 0.075001] [00007f10] libusb: debug [libusb_get_device_descriptor]
[ 0.075203] [00007f10] libusb: debug [libusb_get_device_descriptor]
[ 0.075447] [00007f10] libusb: debug [libusb_get_device_descriptor]
[ 0.075691] [00007f10] libusb: debug [libusb_get_device_descriptor]
[ 0.075952] [00007f10] libusb: debug [libusb_get_device_descriptor]
[ 0.076185] [00007f10] libusb: debug [libusb_open] open 1.4
[ 0.076452] [00007f10] libusb: debug [winusb_open] unsupported API call for 'open' (unrecognized device driver)
[ 0.076673] [00007f10] libusb: debug [libusb_open] open 1.4 returns -12
[ 0.076941] [00007f10] libusb: debug [libusb_unref_device] destroy device 1.25
[ 0.077167] [00007f10] libusb: debug [libusb_unref_device] destroy device 1.19
[ 0.077435] [00007f10] libusb: debug [libusb_unref_device] destroy device 1.2
[ 0.077649] [00007f10] libusb: debug [libusb_unref_device] destroy device 1.3
[ 0.077910] [00007f10] libusb: debug [libusb_unref_device] destroy device 1.4
[ 0.078121] [00007f10] libusb: debug [libusb_unref_device] destroy device 1.18
[ 0.078397] [00007f10] libusb: debug [libusb_unref_device] destroy device 1.1
[ 0.078609] [00007f10] libusb: debug [libusb_unref_device] destroy device 1.0
  Failed.
[ 0.079083] [00007f10] libusb: debug [libusb_exit]
[ 0.079347] [00007f10] libusb: debug [libusb_exit] destroying default context
[ 0.079567] [00007f10] libusb: debug [usbi_remove_pollfd] remove fd 0

Janarthanan-S-03 avatar Aug 31 '23 13:08 Janarthanan-S-03

@Janarthanan-S-03 The log shows you are using 1.0.23. Please use 1.0.26 and then run the libusb bundled xusb example. https://github.com/libusb/libusb/blob/master/examples/xusb.c xusb -d 0424:2906.

If you do not want to build from source, you can download libusb-1.0.26 binaries from this repo. It has the xusb binaries. https://github.com/libusb/libusb/releases/tag/v1.0.26 https://github.com/libusb/libusb/releases/download/v1.0.26/libusb-1.0.26-binaries.7z

mcuee avatar Aug 31 '23 13:08 mcuee

@mcuee Installed and tried using libusb-1.0.26

C:\jana>xusb -d 0424:2906
Using libusb v1.0.26.11724

[timestamp] [threadID] facility level [function call] <message>
--------------------------------------------------------------------------------
[ 0.000213] [00003f90] libusb: debug [libusb_init] created default context
[ 0.000346] [00003f90] libusb: debug [libusb_init] libusb v1.0.26.11724
[ 0.000453] [00003f90] libusb: debug [usbi_add_event_source] add HANDLE 00000000000000DC events 0
[ 0.000555] [00003f90] libusb: debug [usbi_io_init] using timer for timeouts
[ 0.000642] [00003f90] libusb: debug [usbi_add_event_source] add HANDLE 00000000000000D8 events 0
[ 0.000742] [00003f90] libusb: debug [get_windows_version] Windows 8 (or later) 64-bit
[ 0.000850] [00003f90] libusb: debug [htab_create] using 1021 entries hash table
[ 0.006079] [00003f90] libusb: info [winusbx_init] WinUSB DLL available (with isoch support)
[ 0.067029] [00003f90] libusb: debug [winusbx_init] libusbK DLL found, version: 3.1.0.0
[ 0.073136] [00003f90] libusb: info [windows_init] UsbDk backend is not available
Opening device 0424:2906...
[ 0.073433] [00003f90] libusb: debug [libusb_get_device_list]
[ 0.074713] [00002d1c] libusb: debug [windows_iocp_thread] I/O completion thread started
[ 0.087802] [00003f90] libusb: debug [winusb_get_device_list] allocating new device for session [51]
[ 0.088009] [00003f90] libusb: debug [winusb_get_device_list] allocating new device for session [57]
[ 0.088166] [00003f90] libusb: debug [winusb_get_device_list] allocating new device for session [58]
[ 0.088311] [00003f90] libusb: debug [winusb_get_device_list] allocating new device for session [59]
[ 0.088946] [00003f90] libusb: debug [get_api_type] driver(s): BTHUSB
[ 0.089122] [00003f90] libusb: debug [get_api_type] lower filter driver(s): ibtusb
[ 0.089204] [00003f90] libusb: debug [winusb_get_device_list] allocating new device for session [1]
[ 0.089954] [00003f90] libusb: debug [get_api_type] driver(s): usbccgp
[ 0.090068] [00003f90] libusb: debug [get_api_type] matched driver name against Composite API
[ 0.090134] [00003f90] libusb: debug [winusb_get_device_list] allocating new device for session [41]
[ 0.091302] [00003f90] libusb: debug [get_api_type] driver(s): usbccgp
[ 0.091696] [00003f90] libusb: debug [get_api_type] matched driver name against Composite API
[ 0.094115] [00003f90] libusb: debug [winusb_get_device_list] allocating new device for session [42]
[ 0.095485] [00003f90] libusb: debug [enumerate_hcd_root_hub] assigning HCD 'PCI\VEN_8086&DEV_9C31&SUBSYS_05CB1028&REV_04\3&11583659&1&A0' bus number 1
[ 0.097741] [00003f90] libusb: debug [enumerate_hcd_root_hub] assigning HCD 'PCI\VEN_8086&DEV_9C26&SUBSYS_05CB1028&REV_04\3&11583659&1&E8' bus number 2
[ 0.100361] [00003f90] libusb: debug [winusb_get_device_list] found existing device for session [41]
[ 0.100816] [00003f90] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 0.101170] [00003f90] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 687 bytes)
[ 0.101761] [00003f90] libusb: debug [init_device] (bus: 1, addr: 3, depth: 1, port: 4): 'USB\VID_0C45&PID_64D2\5&512A3B2&0&4'
[ 0.103059] [00003f90] libusb: debug [init_root_hub] root hub 'USB\ROOT_HUB30\4&3967BCE8&0&0' reports 13 ports
[ 0.103332] [00003f90] libusb: debug [init_device] (bus: 1, addr: 0, depth: 0, port: 0): 'USB\ROOT_HUB30\4&3967BCE8&0&0'
[ 0.104356] [00003f90] libusb: debug [winusb_get_device_list] found existing device for session [42]
[ 0.104785] [00003f90] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 0.169588] [00003f90] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 0.232460] [00003f90] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 0.290066] [00003f90] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 0.348127] [00003f90] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 0.404057] [00003f90] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 0.465422] [00003f90] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 0.526499] [00003f90] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 0.588009] [00003f90] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 0.648783] [00003f90] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 0.706113] [00003f90] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 0.768589] [00003f90] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 0.830485] [00003f90] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 0.891780] [00003f90] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 0.953872] [00003f90] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 1.015800] [00003f90] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 1.078005] [00003f90] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 1.140677] [00003f90] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 1.202187] [00003f90] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 1.263741] [00003f90] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 1.325284] [00003f90] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 1.387581] [00003f90] libusb: info [init_device] 0xa5c:0x5800 found 1 configurations but device isn't configured, forcing current configuration to 1
[ 1.393662] [00003f90] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=0, 139 bytes)
[ 1.393801] [00003f90] libusb: debug [init_device] (bus: 2, addr: 3, depth: 2, port: 5): 'USB\VID_0A5C&PID_5800\0123456789ABCD'
[ 1.395295] [00003f90] libusb: debug [init_root_hub] root hub 'USB\ROOT_HUB20\4&1B07C554&0' reports 2 ports
[ 1.396697] [00003f90] libusb: debug [init_device] (bus: 2, addr: 0, depth: 0, port: 0): 'USB\ROOT_HUB20\4&1B07C554&0'
[ 1.397467] [00003f90] libusb: debug [winusb_get_device_list] extra GUID: {b35924d6-3e16-4a9e-9782-5524a4b79bac}
[ 1.397792] [00003f90] libusb: debug [winusb_get_device_list] found existing device for session [51]
[ 1.398475] [00003f90] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 1.398830] [00003f90] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 41 bytes)
[ 1.399321] [00003f90] libusb: debug [init_device] (bus: 1, addr: 5, depth: 1, port: 2): 'USB\VID_0424&PID_2906\5&512A3B2&0&2'
[ 1.400028] [00003f90] libusb: debug [winusb_get_device_list] found existing device for session [57]
[ 1.400508] [00003f90] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 1.401133] [00003f90] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 25 bytes)
[ 1.401426] [00003f90] libusb: debug [init_device] (bus: 2, addr: 1, depth: 1, port: 1): 'USB\VID_8087&PID_8000\5&DE4DCAF&0&1'
[ 1.402219] [00003f90] libusb: debug [winusb_get_device_list] found existing device for session [1]
[ 1.402710] [00003f90] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 1.403039] [00003f90] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 177 bytes)
[ 1.403634] [00003f90] libusb: debug [init_device] (bus: 2, addr: 2, depth: 2, port: 3): 'USB\VID_8087&PID_07DC\6&29D86918&0&3'
[ 1.408032] [00003f90] libusb: debug [winusb_get_device_list] unlisted ancestor for 'HID\DELLABCE\3&233516D&0&0000' (non USB HID, newly connected, etc.) - ignoring
[ 1.409508] [00003f90] libusb: debug [get_api_type] driver(s): WinUSB
[ 1.409676] [00003f90] libusb: debug [get_api_type] matched driver name against WinUSB
[ 1.410718] [00003f90] libusb: debug [libusb_get_device_descriptor]
[ 1.410778] [00003f90] libusb: debug [libusb_get_device_descriptor]
[ 1.411269] [00003f90] libusb: debug [libusb_get_device_descriptor]
[ 1.411810] [00003f90] libusb: debug [libusb_get_device_descriptor]
[ 1.412342] [00003f90] libusb: debug [libusb_get_device_descriptor]
[ 1.412862] [00003f90] libusb: debug [libusb_open] open 1.5
[ 1.413344] [00003f90] libusb: debug [winusb_open] unsupported API call for 'open' (unrecognized device driver)
[ 1.413864] [00003f90] libusb: debug [libusb_open] open 1.5 returns -12
[ 1.414385] [00003f90] libusb: debug [libusb_unref_device] destroy device 1.3
[ 1.414905] [00003f90] libusb: debug [libusb_unref_device] destroy device 2.3
[ 1.415443] [00003f90] libusb: debug [libusb_unref_device] destroy device 1.5
[ 1.415970] [00003f90] libusb: debug [libusb_unref_device] destroy device 1.0
[ 1.416494] [00003f90] libusb: debug [libusb_unref_device] destroy device 2.2
[ 1.417045] [00003f90] libusb: debug [libusb_unref_device] destroy device 2.1
[ 1.417499] [00003f90] libusb: debug [libusb_unref_device] destroy device 2.0
  Failed.
[ 1.418627] [00003f90] libusb: debug [libusb_exit] destroying default context
[ 1.423312] [00002d1c] libusb: debug [windows_iocp_thread] I/O completion thread exiting
[ 1.425120] [00003f90] libusb: debug [usbi_remove_event_source] remove HANDLE 00000000000000D8
[ 1.425198] [00003f90] libusb: debug [usbi_remove_event_source] remove HANDLE 00000000000000DC

The same issue exists. Thanks, Janarthanan

Janarthanan-S-03 avatar Sep 01 '23 03:09 Janarthanan-S-03

Now this is strange. Let's see if others have the idea how to debug further.

mcuee avatar Sep 01 '23 04:09 mcuee

@Janarthanan-S-03

For troubleshooting, can you use Zadig to install WinUSB driver to see if that helps? Thanks. You can also try libusbK driver.

Zadig 2.8 download: https://github.com/pbatard/libwdi/releases/tag/v1.5.0

mcuee avatar Sep 01 '23 04:09 mcuee

@mcuee tried using libusb-win32 driver,libusbk driver but the issue still exists.

Janarthanan-S-03 avatar Sep 01 '23 05:09 Janarthanan-S-03

Hi @mcuee Any update on this issue?

Janarthanan-S-03 avatar Sep 06 '23 04:09 Janarthanan-S-03

Hi @mcuee Any update on this issue?

Sorry but I have no ideas why this happens. Hopefully others can have better ideas.

In any case, why do you want to talk to this Hub? What is your goal?

mcuee avatar Sep 06 '23 05:09 mcuee

In any case, why do you want to talk to this Hub? What is your goal? --> To perform Register Read/Writes.

The issue still exists

Janarthanan-S-03 avatar Sep 12 '23 09:09 Janarthanan-S-03

Looking at the debug output I cannot tell which driver the device (1.5 is bus 1 address 5, from session 51) is detected as using (or is it just recognized as a hub early in the enumeration?) and I guess the lack of a suitable driver is why it cannot be opened, but I am also not sure what /should/ happen here. @mcuee can you post your debug log from the similar smart hub where it works? @sonatique can you spot from the log what goes wrong? This is one example where I find our debug output is a bit difficult to parse and generally lacking.

tormodvolden avatar Oct 04 '23 22:10 tormodvolden

@tormodvolden Hi, Here is what I can say as of now:

  1. The sentence “unsupported API call for” is generic (I mean: statically defined in a constant string) and will be printed every time a given function pointer is null (her the “open” function pointer is null) (see windows_winusb.h line 96). Therefore this is not an reliable indication that something is wrong specifically with the driver, but only that this function is not supported by the “sub api” we assigned to this device during enumeration

  2. This device was assigned the “USB_API_HUB” api value, because it is a hub. As you can see at line 2475 of file windows_winusb.c, “open” function pointer is NULL in this case. Basically it seems that the Windows backend does not provide any implementation for any function for HUB. In fact, even if “open” was implemented, it would be possible to do anything with the hub device, since all functions are NULL. I have to say that I have no idea why. Linux implementation is simpler and seems to provide “open” and other functions regardless of the type of device

I would say that maybe it would worth experimenting with what would happen if lines 2515 to 2529 would be used to replace lines 2473 to 2487 (i.e. using the same function pointers for a hub than for a regular device). Or maybe should this hub be considered as composite device?

sonatique avatar Oct 04 '23 23:10 sonatique

@mcuee can you post your debug log from the similar smart hub where it works?

@tormodvolden The Dell USB Type-C docking station is not with me now but I should be able to test this next Monday.

mcuee avatar Oct 05 '23 04:10 mcuee

This device was assigned the “USB_API_HUB” api value, because it is a hub.

I think that should not be correct for this device.

Related to USB Hub under Windows but not the same issue -- for external USB HUB.

  • https://github.com/libusb/libusb/issues/391

mcuee avatar Oct 05 '23 05:10 mcuee

Thanks @sonatique, point 1 was relatively easy and point 2 was close to my guesses, but I couldn't see it explicitly in the log that the USB_API_HUB was assigned (and that it was not reassigned later). If you know the enumeration code well enough it is maybe obvious. But if the WinUSB.sys driver is installed for the device, as per the screenshot, why isn't the winusbx api assigned to it?

tormodvolden avatar Oct 05 '23 07:10 tormodvolden

Do I need to try anything?

Janarthanan-S-03 avatar Oct 05 '23 16:10 Janarthanan-S-03

@Janarthanan-S-03 Can you compile libusb yourself (from git)? One small thing to get a bit more debug information is to uncomment //#define ENUM_DEBUG in libusb/os/windows_winusb.c

Does the device show up in the Device Manager?

tormodvolden avatar Oct 05 '23 16:10 tormodvolden

@tormodvolden I have complied with the source. What operation do I need to perform?

Does the device show up in the Device Manager? Yes MicrosoftTeams-image

Janarthanan-S-03 avatar Oct 05 '23 16:10 Janarthanan-S-03

@tormodvolden I have complied with the source. What operation do I need to perform?

You can edit the file libusb/os/windows_winusb.c and on the line where you have: //#define ENUM_DEBUG (around line number 1570 somewhere) remove the two slashes. Then recompile and run xusb -d again.

Does the device show up in the Device Manager? Yes

Yes, that was a stupid question. What I meant to ask was, where in Device Manager does it show up, e.g. under Hub devices ("Universal Serial Bus controllers") or under "Universal Serial Bus devices" as a "WinUsb Device" ?

tormodvolden avatar Oct 05 '23 16:10 tormodvolden

C:\jana>xusb -d 0424:2906
Using libusb v1.0.26.11724

[timestamp] [threadID] facility level [function call] <message>
--------------------------------------------------------------------------------
[ 0.000238] [00003ba0] libusb: debug [libusb_init] created default context
[ 0.000378] [00003ba0] libusb: debug [libusb_init] libusb v1.0.26.11724
[ 0.000522] [00003ba0] libusb: debug [usbi_add_event_source] add HANDLE 000000FC events 0
[ 0.000661] [00003ba0] libusb: debug [usbi_io_init] using timer for timeouts
[ 0.000786] [00003ba0] libusb: debug [usbi_add_event_source] add HANDLE 00000100 events 0
[ 0.000937] [00003ba0] libusb: debug [get_windows_version] Windows 8 (or later) 64-bit
[ 0.001054] [00003ba0] libusb: debug [htab_create] using 1021 entries hash table
[ 0.003584] [00003ba0] libusb: info [winusbx_init] WinUSB DLL available (with isoch support)
[ 0.003828] [00003ba0] libusb: info [winusbx_init] libusbK DLL is not available
[ 0.006427] [00003ba0] libusb: info [windows_init] UsbDk backend is not available
Opening device 0424:2906...
[ 0.006758] [00003ba0] libusb: debug [libusb_get_device_list]
[ 0.007939] [00001bdc] libusb: debug [windows_iocp_thread] I/O completion thread started
[ 0.022123] [00003ba0] libusb: debug [winusb_get_device_list] #### PROCESSING HUBs {F18A0E88-C30C-11D0-8815-00A0C906BED8}
[ 0.022788] [00003ba0] libusb: debug [winusb_get_device_list] PRO: USB\VID_0424&PID_2906\5&512A3B2&0&6
[ 0.022972] [00003ba0] libusb: debug [winusb_get_device_list] allocating new device for session [51]
[ 0.023117] [00003ba0] libusb: debug [winusb_get_device_list] PRO: USB\VID_8087&PID_8000\5&DE4DCAF&0&1
[ 0.023284] [00003ba0] libusb: debug [winusb_get_device_list] allocating new device for session [57]
[ 0.023398] [00003ba0] libusb: debug [winusb_get_device_list] PRO: USB\ROOT_HUB20\4&1B07C554&0
[ 0.023753] [00003ba0] libusb: debug [winusb_get_device_list] allocating new device for session [58]
[ 0.026017] [00003ba0] libusb: debug [winusb_get_device_list] PRO: USB\ROOT_HUB30\4&3967BCE8&0&0
[ 0.026213] [00003ba0] libusb: debug [winusb_get_device_list] allocating new device for session [59]
[ 0.026320] [00003ba0] libusb: debug [winusb_get_device_list] #### PROCESSING DEVs {A5DCBF10-6530-11D2-901F-00C04FB951ED}
[ 0.026448] [00003ba0] libusb: debug [winusb_get_device_list] PRO: USB\VID_8087&PID_07DC\6&29D86918&0&3
[ 0.027664] [00003ba0] libusb: debug [get_api_type] driver(s): BTHUSB
[ 0.027969] [00003ba0] libusb: debug [get_api_type] lower filter driver(s): ibtusb
[ 0.028361] [00003ba0] libusb: debug [winusb_get_device_list] allocating new device for session [1]
[ 0.029536] [00003ba0] libusb: debug [winusb_get_device_list] PRO: USB\VID_0C45&PID_64D2\5&512A3B2&0&4
[ 0.030082] [00003ba0] libusb: debug [get_api_type] driver(s): usbccgp
[ 0.030283] [00003ba0] libusb: debug [get_api_type] matched driver name against Composite API
[ 0.030815] [00003ba0] libusb: debug [winusb_get_device_list] allocating new device for session [41]
[ 0.031421] [00003ba0] libusb: debug [winusb_get_device_list] PRO: USB\VID_0A5C&PID_5800\0123456789ABCD
[ 0.032304] [00003ba0] libusb: debug [get_api_type] driver(s): usbccgp
[ 0.032644] [00003ba0] libusb: debug [get_api_type] matched driver name against Composite API
[ 0.033185] [00003ba0] libusb: debug [winusb_get_device_list] allocating new device for session [42]
[ 0.033954] [00003ba0] libusb: debug [winusb_get_device_list] #### PROCESSING HCDs {3ABF6F2D-71C4-462A-8A92-1E6861E6AF27}
[ 0.034498] [00003ba0] libusb: debug [winusb_get_device_list] PRO: PCI\VEN_8086&DEV_9C31&SUBSYS_05CB1028&REV_04\3&11583659&1&A0
[ 0.034940] [00003ba0] libusb: debug [enumerate_hcd_root_hub] assigning HCD 'PCI\VEN_8086&DEV_9C31&SUBSYS_05CB1028&REV_04\3&11583659&1&A0' bus number 1
[ 0.035585] [00003ba0] libusb: debug [winusb_get_device_list] PRO: PCI\VEN_8086&DEV_9C26&SUBSYS_05CB1028&REV_04\3&11583659&1&E8
[ 0.036082] [00003ba0] libusb: debug [enumerate_hcd_root_hub] assigning HCD 'PCI\VEN_8086&DEV_9C26&SUBSYS_05CB1028&REV_04\3&11583659&1&E8' bus number 2
[ 0.037080] [00003ba0] libusb: debug [winusb_get_device_list] #### PROCESSING GENs
[ 0.037784] [00003ba0] libusb: debug [winusb_get_device_list] PRO: USB\VID_0A5C&PID_5800&MI_01\7&66DE6C9&0&0001
[ 0.038132] [00003ba0] libusb: debug [winusb_get_device_list] PRO: USB\VID_0A5C&PID_5800&MI_00\7&66DE6C9&0&0000
[ 0.038583] [00003ba0] libusb: debug [winusb_get_device_list] PRO: USB\VID_0C45&PID_64D2\5&512A3B2&0&4
[ 0.039270] [00003ba0] libusb: debug [winusb_get_device_list] found existing device for session [41]
[ 0.043320] [00003ba0] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 0.043810] [00003ba0] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 687 bytes)
[ 0.044665] [00003ba0] libusb: debug [init_device] (bus: 1, addr: 2, depth: 1, port: 4): 'USB\VID_0C45&PID_64D2\5&512A3B2&0&4'
[ 0.045286] [00003ba0] libusb: debug [winusb_get_device_list] PRO: USB\ROOT_HUB30\4&3967BCE8&0&0
[ 0.046512] [00003ba0] libusb: debug [init_root_hub] root hub 'USB\ROOT_HUB30\4&3967BCE8&0&0' reports 13 ports
[ 0.046683] [00003ba0] libusb: debug [init_device] (bus: 1, addr: 0, depth: 0, port: 0): 'USB\ROOT_HUB30\4&3967BCE8&0&0'
[ 0.047214] [00003ba0] libusb: debug [winusb_get_device_list] PRO: USB\VID_0A5C&PID_5800\0123456789ABCD
[ 0.048024] [00003ba0] libusb: debug [winusb_get_device_list] found existing device for session [42]
[ 0.048511] [00003ba0] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 0.102021] [00003ba0] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 0.179328] [00003ba0] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 0.242405] [00003ba0] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 0.304960] [00003ba0] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 0.367509] [00003ba0] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 0.430058] [00003ba0] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 0.508249] [00003ba0] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 0.579589] [00003ba0] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 0.633099] [00003ba0] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 0.695392] [00003ba0] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 0.758090] [00003ba0] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 0.820645] [00003ba0] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 0.883281] [00003ba0] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 0.945715] [00003ba0] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 1.008432] [00003ba0] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 1.080328] [00003ba0] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 1.133307] [00003ba0] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 1.195484] [00003ba0] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 1.258005] [00003ba0] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 1.320569] [00003ba0] libusb: debug [init_device] 0xa5c:0x5800 found 1 configurations (not configured)
[ 1.383084] [00003ba0] libusb: info [init_device] 0xa5c:0x5800 found 1 configurations but device isn't configured, forcing current configuration to 1
[ 1.390109] [00003ba0] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=0, 139 bytes)
[ 1.390299] [00003ba0] libusb: debug [init_device] (bus: 2, addr: 3, depth: 2, port: 5): 'USB\VID_0A5C&PID_5800\0123456789ABCD'
[ 1.390870] [00003ba0] libusb: debug [winusb_get_device_list] PRO: USB\VID_0C45&PID_64D2&MI_00\6&54F0627&0&0000
[ 1.393133] [00003ba0] libusb: debug [winusb_get_device_list] PRO: USB\ROOT_HUB20\4&1B07C554&0
[ 1.393878] [00003ba0] libusb: debug [init_root_hub] root hub 'USB\ROOT_HUB20\4&1B07C554&0' reports 2 ports
[ 1.394004] [00003ba0] libusb: debug [init_device] (bus: 2, addr: 0, depth: 0, port: 0): 'USB\ROOT_HUB20\4&1B07C554&0'
[ 1.394596] [00003ba0] libusb: debug [winusb_get_device_list] PRO: USB\VID_0424&PID_2906\5&512A3B2&0&6
[ 1.395418] [00003ba0] libusb: debug [winusb_get_device_list] extra GUID: {b35924d6-3e16-4a9e-9782-5524a4b79bac}
[ 1.395694] [00003ba0] libusb: debug [winusb_get_device_list] found existing device for session [51]
[ 1.396459] [00003ba0] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 1.396781] [00003ba0] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 41 bytes)
[ 1.397356] [00003ba0] libusb: debug [init_device] (bus: 1, addr: 32, depth: 1, port: 6): 'USB\VID_0424&PID_2906\5&512A3B2&0&6'
[ 1.397913] [00003ba0] libusb: debug [winusb_get_device_list] PRO: USB\VID_8087&PID_8000\5&DE4DCAF&0&1
[ 1.398714] [00003ba0] libusb: debug [winusb_get_device_list] found existing device for session [57]
[ 1.403033] [00003ba0] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 1.404118] [00003ba0] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 25 bytes)
[ 1.404311] [00003ba0] libusb: debug [init_device] (bus: 2, addr: 1, depth: 1, port: 1): 'USB\VID_8087&PID_8000\5&DE4DCAF&0&1'
[ 1.404892] [00003ba0] libusb: debug [winusb_get_device_list] PRO: USB\VID_8087&PID_07DC\6&29D86918&0&3
[ 1.405680] [00003ba0] libusb: debug [winusb_get_device_list] found existing device for session [1]
[ 1.406193] [00003ba0] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 1.406721] [00003ba0] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 177 bytes)
[ 1.407277] [00003ba0] libusb: debug [init_device] (bus: 2, addr: 2, depth: 2, port: 3): 'USB\VID_8087&PID_07DC\6&29D86918&0&3'
[ 1.410632] [00003ba0] libusb: debug [winusb_get_device_list] #### PROCESSING HIDs {4D1E55B2-F16F-11CF-88CB-001111000030}
[ 1.411062] [00003ba0] libusb: debug [winusb_get_device_list] PRO: HID\DELLABCE\3&233516D&0&0000
[ 1.411416] [00003ba0] libusb: debug [winusb_get_device_list] unlisted ancestor for 'HID\DELLABCE\3&233516D&0&0000' (non USB HID, newly connected, etc.) - ignoring
[ 1.412432] [00003ba0] libusb: debug [winusb_get_device_list] #### PROCESSING EXTs {B35924D6-3E16-4A9E-9782-5524A4B79BAC}
[ 1.413277] [00003ba0] libusb: debug [winusb_get_device_list] PRO: USB\VID_0424&PID_2906\5&512A3B2&0&6
[ 1.413831] [00003ba0] libusb: debug [get_api_type] driver(s): WinUSB
[ 1.414045] [00003ba0] libusb: debug [get_api_type] matched driver name against WinUSB
[ 1.415108] [00003ba0] libusb: debug [libusb_get_device_descriptor]
[ 1.419113] [00003ba0] libusb: debug [libusb_get_device_descriptor]
[ 1.419847] [00003ba0] libusb: debug [libusb_get_device_descriptor]
[ 1.420386] [00003ba0] libusb: debug [libusb_get_device_descriptor]
[ 1.420966] [00003ba0] libusb: debug [libusb_get_device_descriptor]
[ 1.421530] [00003ba0] libusb: debug [libusb_open] open 1.32
[ 1.422071] [00003ba0] libusb: debug [winusb_open] unsupported API call for 'open' (unrecognized device driver)
[ 1.422658] [00003ba0] libusb: debug [libusb_open] open 1.32 returns -12
[ 1.423232] [00003ba0] libusb: debug [libusb_unref_device] destroy device 1.2
[ 1.423778] [00003ba0] libusb: debug [libusb_unref_device] destroy device 2.3
[ 1.424288] [00003ba0] libusb: debug [libusb_unref_device] destroy device 1.32
[ 1.424824] [00003ba0] libusb: debug [libusb_unref_device] destroy device 1.0
[ 1.425324] [00003ba0] libusb: debug [libusb_unref_device] destroy device 2.2
[ 1.425800] [00003ba0] libusb: debug [libusb_unref_device] destroy device 2.1
[ 1.426358] [00003ba0] libusb: debug [libusb_unref_device] destroy device 2.0
  Failed.
[ 1.427361] [00003ba0] libusb: debug [libusb_exit] destroying default context
[ 1.427939] [00001bdc] libusb: debug [windows_iocp_thread] I/O completion thread exiting
[ 1.429278] [00003ba0] libusb: debug [usbi_remove_event_source] remove HANDLE 00000100
[ 1.429388] [00003ba0] libusb: debug [usbi_remove_event_source] remove HANDLE 000000FC

Janarthanan-S-03 avatar Oct 05 '23 17:10 Janarthanan-S-03

image

Janarthanan-S-03 avatar Oct 05 '23 17:10 Janarthanan-S-03

So it shows up under "Universal Serial Bus devices" but as "USB2906 Smart Hub", thanks.

tormodvolden avatar Oct 05 '23 17:10 tormodvolden

@mcuee can you post your debug log from the similar smart hub where it works?

@tormodvolden The Dell USB Type-C docking station is not with me now but I should be able to test this next Monday.

This is what I have.

C:\work\libusb\libusb [master ≡ +3 ~0 -0 !]> .\examples\xusb 0424:2740
Using libusb v1.0.26.11807

Opening device 0424:2740...

Reading device descriptor:
            length: 18
      device class: 0
               S/N: 0
           VID:PID: 0424:2740
         bcdDevice: 0200
   iMan:iProd:iSer: 1:2:0
          nb confs: 1

Reading BOS descriptor: 1 caps
    USB 2.0 extension:
      attributes             : A21E

Reading first configuration descriptor:
              total length: 18
         descriptor length: 9
             nb interfaces: 1
              interface[0]: id = 0
interface[0].altsetting[0]: num endpoints = 0
   Class.SubClass.Protocol: FF.FF.FF

Kernel driver attached for interface 0: (not supported)

Claiming interface 0...

Reading string descriptors:
   String (0x01): "Microchip Tech"
   String (0x02): "Hub Controller"

Reading OS string descriptor:

Reading Extended Compat ID OS Feature Descriptor (wIndex = 0x0004):

  00000000  28 00 00 00 00 01 04 00 01 00 00 00 00 00 00 00  (...............
  00000010  00 01 57 49 4e 55 53 42 00 00 00 00 00 00 00 00  ..WINUSB........
  00000020  00 00 00 00 00 00 00 00                          ........

Reading Extended Properties OS Feature Descriptor (wIndex = 0x0005):
   Failed: Pipe error
Reading interface association descriptors (IADs) for first configuration:
    nb IADs: 0

Releasing interface 0...
Closing device...

Full debug log.

Click for the full debug log
C:\work\libusb\libusb [master ≡ +3 ~0 -0 !]> .\examples\xusb -d 0424:2740
Using libusb v1.0.26.11807

[timestamp] [threadID] facility level [function call] <message>
--------------------------------------------------------------------------------
[ 0.000262] [00004db0] libusb: debug [libusb_init_context] created default context
[ 0.000355] [00004db0] libusb: debug [libusb_init_context] libusb v1.0.26.11807
[ 0.000441] [00004db0] libusb: debug [usbi_add_event_source] add HANDLE 000000000000009c events 0
[ 0.000526] [00004db0] libusb: debug [usbi_io_init] using timer for timeouts
[ 0.000602] [00004db0] libusb: debug [usbi_add_event_source] add HANDLE 0000000000000098 events 0
[ 0.000700] [00004db0] libusb: debug [get_windows_version] Windows 10 64-bit
[ 0.000772] [00004db0] libusb: debug [htab_create] using 1021 entries hash table
[ 0.009462] [00004db0] libusb: info [winusbx_init] WinUSB DLL available (with isoch support)
[ 0.017370] [00004db0] libusb: debug [winusbx_init] libusbK DLL found, version: 3.1.0.0
[ 0.025000] [00004db0] libusb: error [load_usbdk_helper_dll] Failed to load UsbDkHelper.dll: [126] The specified module could not be found.
[ 0.025316] [00004db0] libusb: info [windows_init] UsbDk backend is not available
O[ 0.026058] [0000573c] libusb: debug [windows_iocp_thread] I/O completion thread started
pening device 0424:2740...
[ 0.028190] [00004db0] libusb: debug [libusb_get_device_list]
[ 0.056306] [00004db0] libusb: debug [winusb_get_device_list] allocating new device for session [AC]
[ 0.056675] [00004db0] libusb: debug [winusb_get_device_list] allocating new device for session [AD]
[ 0.057030] [00004db0] libusb: debug [winusb_get_device_list] allocating new device for session [AE]
[ 0.057374] [00004db0] libusb: debug [winusb_get_device_list] allocating new device for session [AF]
[ 0.057718] [00004db0] libusb: debug [winusb_get_device_list] allocating new device for session [B0]
[ 0.058054] [00004db0] libusb: debug [winusb_get_device_list] allocating new device for session [B1]
[ 0.058401] [00004db0] libusb: debug [winusb_get_device_list] allocating new device for session [B2]
[ 0.058737] [00004db0] libusb: debug [winusb_get_device_list] allocating new device for session [B3]
[ 0.059008] [00004db0] libusb: debug [winusb_get_device_list] allocating new device for session [B4]
[ 0.059558] [00004db0] libusb: debug [get_api_type] driver(s): BTHUSB
[ 0.059845] [00004db0] libusb: debug [get_api_type] lower filter driver(s): ibtusb
[ 0.060067] [00004db0] libusb: debug [winusb_get_device_list] allocating new device for session [1C]
[ 0.060894] [00004db0] libusb: debug [get_api_type] driver(s): usbccgp
[ 0.061116] [00004db0] libusb: debug [get_api_type] matched driver name against Composite API
[ 0.061235] [00004db0] libusb: debug [winusb_get_device_list] allocating new device for session [85]
[ 0.061708] [00004db0] libusb: debug [get_api_type] driver(s): HidUsb
[ 0.061890] [00004db0] libusb: debug [get_api_type] matched driver name against HID API
[ 0.062041] [00004db0] libusb: debug [winusb_get_device_list] allocating new device for session [86]
[ 0.062533] [00004db0] libusb: debug [get_api_type] driver(s): HidUsb
[ 0.062730] [00004db0] libusb: debug [get_api_type] matched driver name against HID API
[ 0.062817] [00004db0] libusb: debug [winusb_get_device_list] allocating new device for session [87]
[ 0.063132] [00004db0] libusb: debug [get_api_type] driver(s): usbccgp
[ 0.063497] [00004db0] libusb: debug [get_api_type] matched driver name against Composite API
[ 0.063699] [00004db0] libusb: debug [winusb_get_device_list] allocating new device for session [88]
[ 0.064233] [00004db0] libusb: debug [get_api_type] driver(s): HidUsb
[ 0.064505] [00004db0] libusb: debug [get_api_type] matched driver name against HID API
[ 0.064639] [00004db0] libusb: debug [winusb_get_device_list] allocating new device for session [89]
[ 0.065106] [00004db0] libusb: debug [get_api_type] driver(s): HidUsb
[ 0.065275] [00004db0] libusb: debug [get_api_type] matched driver name against HID API
[ 0.065527] [00004db0] libusb: debug [winusb_get_device_list] allocating new device for session [8A]
[ 0.066139] [00004db0] libusb: debug [get_api_type] driver(s): rtump64x64
[ 0.066382] [00004db0] libusb: debug [winusb_get_device_list] allocating new device for session [8B]
[ 0.066949] [00004db0] libusb: debug [get_api_type] driver(s): usbccgp
[ 0.067205] [00004db0] libusb: debug [get_api_type] matched driver name against Composite API
[ 0.067488] [00004db0] libusb: debug [winusb_get_device_list] allocating new device for session [8C]
[ 0.068165] [00004db0] libusb: debug [get_api_type] driver(s): WINUSB
[ 0.068440] [00004db0] libusb: debug [get_api_type] matched driver name against WinUSB
[ 0.068687] [00004db0] libusb: debug [winusb_get_device_list] allocating new device for session [8D]
[ 0.069194] [00004db0] libusb: debug [get_api_type] driver(s): usbccgp
[ 0.069479] [00004db0] libusb: debug [get_api_type] matched driver name against Composite API
[ 0.069705] [00004db0] libusb: debug [winusb_get_device_list] allocating new device for session [8E]
[ 0.070195] [00004db0] libusb: debug [enumerate_hcd_root_hub] assigning HCD 'PCI\VEN_8086&DEV_A36D&SUBSYS_091A1028&REV_10\3&11583659&0&A0' bus number 1
[ 0.070465] [00004db0] libusb: debug [enumerate_hcd_root_hub] assigning HCD 'PCI\VEN_8086&DEV_15DB&SUBSYS_091A1028&REV_02\71D9F51854B3020000' bus number 2
[ 0.070717] [00004db0] libusb: debug [enumerate_hcd_root_hub] assigning HCD 'PCI\VEN_8086&DEV_15F0&SUBSYS_00008086&REV_06\74416C8A4700AA0000' bus number 3
[ 0.072359] [00004db0] libusb: debug [winusb_get_device_list] found existing device for session [8C]
[ 0.072743] [00004db0] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 0.072999] [00004db0] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 59 bytes)
[ 0.073269] [00004db0] libusb: debug [init_device] (bus: 3, addr: 9, depth: 3, port: 3): 'USB\VID_24AE&PID_4057\C&1F76A113&0&3'
[ 0.073670] [00004db0] libusb: debug [winusb_get_device_list] found existing device for session [B3]
[ 0.074205] [00004db0] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 0.074451] [00004db0] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 31 bytes)
[ 0.074692] [00004db0] libusb: debug [init_device] (bus: 3, addr: 5, depth: 3, port: 2): 'USB\VID_0424&PID_5744\C&1936BD58&0&2'
[ 0.075074] [00004db0] libusb: debug [winusb_get_device_list] found existing device for session [AC]
[ 0.075407] [00004db0] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 0.075539] [00004db0] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 41 bytes)
[ 0.075717] [00004db0] libusb: debug [init_device] (bus: 3, addr: 6, depth: 2, port: 3): 'USB\VID_0BDA&PID_5413\B&2EAF716D&0&3'
[ 0.076013] [00004db0] libusb: debug [winusb_get_device_list] found existing device for session [AF]
[ 0.076196] [00004db0] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 0.076286] [00004db0] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 31 bytes)
[ 0.076381] [00004db0] libusb: debug [init_device] (bus: 3, addr: 3, depth: 2, port: 3): 'USB\VID_0BDA&PID_0413\B&1637EEB3&0&3'
[ 0.076629] [00004db0] libusb: debug [winusb_get_device_list] extra GUID: {b35924d6-3e16-4a9e-9782-5524a4b79bac}
[ 0.076721] [00004db0] libusb: debug [winusb_get_device_list] found existing device for session [8D]
[ 0.076898] [00004db0] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 0.076987] [00004db0] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 18 bytes)
[ 0.077090] [00004db0] libusb: debug [init_device] (bus: 3, addr: 21, depth: 4, port: 5): 'USB\VID_0424&PID_2740\D&127B8A6A&0&5'
[ 0.077318] [00004db0] libusb: debug [winusb_get_device_list] found existing device for session [87]
[ 0.077496] [00004db0] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 0.077576] [00004db0] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 34 bytes)
[ 0.077681] [00004db0] libusb: debug [init_device] (bus: 3, addr: 7, depth: 2, port: 5): 'USB\VID_413C&PID_B06E\B&2EAF716D&0&5'
[ 0.077898] [00004db0] libusb: debug [winusb_get_device_list] found existing device for session [1C]
[ 0.078064] [00004db0] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 0.078157] [00004db0] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 200 bytes)
[ 0.078257] [00004db0] libusb: debug [init_device] (bus: 1, addr: 4, depth: 1, port: 14): 'USB\VID_8087&PID_0AAA\5&E9F3E45&0&14'
[ 0.078610] [00004db0] libusb: debug [winusb_get_device_list] found existing device for session [B4]
[ 0.078834] [00004db0] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 0.078917] [00004db0] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 41 bytes)
[ 0.079024] [00004db0] libusb: debug [init_device] (bus: 3, addr: 8, depth: 3, port: 2): 'USB\VID_0424&PID_2744\C&1F76A113&0&2'
[ 0.079246] [00004db0] libusb: debug [winusb_get_device_list] found existing device for session [AE]
[ 0.079419] [00004db0] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 0.079507] [00004db0] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 41 bytes)
[ 0.079602] [00004db0] libusb: debug [init_device] (bus: 3, addr: 2, depth: 1, port: 2): 'USB\VID_0BDA&PID_5487\A&46F7C3F&0&2'
[ 0.080208] [00004db0] libusb: debug [winusb_get_device_list] found existing device for session [B2]
[ 0.080381] [00004db0] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 0.080462] [00004db0] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 31 bytes)
[ 0.080570] [00004db0] libusb: debug [init_device] (bus: 3, addr: 1, depth: 1, port: 4): 'USB\VID_0BDA&PID_0487\A&46F7C3F&0&4'
[ 0.080907] [00004db0] libusb: debug [winusb_get_device_list] found existing device for session [85]
[ 0.081084] [00004db0] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 0.081185] [00004db0] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 311 bytes)
[ 0.081285] [00004db0] libusb: debug [init_device] (bus: 3, addr: 19, depth: 3, port: 4): 'USB\VID_0BDA&PID_402E\200901010001'
[ 0.081662] [00004db0] libusb: debug [init_root_hub] root hub 'USB\ROOT_HUB30\4&36020D6F&0&0' reports 26 ports
[ 0.081813] [00004db0] libusb: debug [init_device] (bus: 1, addr: 0, depth: 0, port: 0): 'USB\ROOT_HUB30\4&36020D6F&0&0'
[ 0.082030] [00004db0] libusb: debug [winusb_get_device_list] extra GUID: {0EEA074F-8367-FA69-AFC9-7F3F8786B39B}
[ 0.082120] [00004db0] libusb: debug [winusb_get_device_list] found existing device for session [89]
[ 0.082296] [00004db0] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 0.082389] [00004db0] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 34 bytes)
[ 0.082487] [00004db0] libusb: debug [init_device] (bus: 3, addr: 13, depth: 4, port: 3): 'USB\VID_413C&PID_2107\D&127B8A6A&0&3'
[ 0.082707] [00004db0] libusb: debug [winusb_get_device_list] found existing device for session [8E]
[ 0.082885] [00004db0] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 0.082967] [00004db0] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 269 bytes)
[ 0.083068] [00004db0] libusb: debug [init_device] (bus: 1, addr: 2, depth: 1, port: 10): 'USB\VID_0A5C&PID_5842\0123456789ABCD'
[ 0.083435] [00004db0] libusb: debug [init_root_hub] root hub 'USB\ROOT_HUB30\9&AF4BBD4&0&0' reports 4 ports
[ 0.083532] [00004db0] libusb: debug [init_device] (bus: 3, addr: 0, depth: 0, port: 0): 'USB\ROOT_HUB30\9&AF4BBD4&0&0'
[ 0.083871] [00004db0] libusb: debug [init_root_hub] root hub 'USB\ROOT_HUB30\7&2452366F&0&0' reports 4 ports
[ 0.083961] [00004db0] libusb: debug [init_device] (bus: 2, addr: 0, depth: 0, port: 0): 'USB\ROOT_HUB30\7&2452366F&0&0'
[ 0.084391] [00004db0] libusb: debug [winusb_get_device_list] found existing device for session [8B]
[ 0.084563] [00004db0] libusb: debug [init_device] found 2 configurations (current config: 1)
[ 0.084651] [00004db0] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 57 bytes)
[ 0.085138] [00004db0] libusb: debug [cache_config_descriptors] cached config descriptor 1 (bConfigurationValue=2, 98 bytes)
[ 0.085239] [00004db0] libusb: debug [init_device] (bus: 3, addr: 4, depth: 2, port: 4): 'USB\VID_0BDA&PID_8153\111000001'
[ 0.085331] [00004db0] libusb: debug [discovered_devs_append] need to increase capacity
[ 0.085538] [00004db0] libusb: debug [winusb_get_device_list] found existing device for session [8A]
[ 0.085719] [00004db0] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 0.085798] [00004db0] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 34 bytes)
[ 0.085889] [00004db0] libusb: debug [init_device] (bus: 3, addr: 11, depth: 3, port: 5): 'USB\VID_413C&PID_B06F\C&1F76A113&0&5'
[ 0.086243] [00004db0] libusb: debug [winusb_get_device_list] extra GUID: {71E965C7-4D0E-A639-3C96-2AB6A5D154E9}
[ 0.086326] [00004db0] libusb: debug [winusb_get_device_list] found existing device for session [86]
[ 0.086505] [00004db0] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 0.086594] [00004db0] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 34 bytes)
[ 0.086689] [00004db0] libusb: debug [init_device] (bus: 3, addr: 14, depth: 4, port: 4): 'USB\VID_046D&PID_C077\D&127B8A6A&0&4'
[ 0.087028] [00004db0] libusb: debug [winusb_get_device_list] found existing device for session [88]
[ 0.087189] [00004db0] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 0.087278] [00004db0] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 1112 bytes)
[ 0.087378] [00004db0] libusb: debug [init_device] (bus: 1, addr: 3, depth: 1, port: 11): 'USB\VID_0BDA&PID_58FD\200901010001'
[ 0.087878] [00004db0] libusb: debug [winusb_get_device_list] unlisted ancestor for 'HID\VID_044E&PID_1212&COL01&COL01\7&290AACAE&0&0000' (non USB HID, newly connected, etc.) - ignoring
[ 0.087999] [00004db0] libusb: debug [winusb_get_device_list] setting HID interface for [86]:
[ 0.088074] [00004db0] libusb: debug [set_hid_interface] interface[0] = \\?\HID#VID_046D&PID_C077#E&FDE55DF&0&0000#{4D1E55B2-F16F-11CF-88CB-001111000030}
[ 0.088196] [00004db0] libusb: debug [winusb_get_device_list] unlisted ancestor for 'HID\DELL091A&COL01\5&99B72D3&0&0000' (non USB HID, newly connected, etc.) - ignoring
[ 0.088340] [00004db0] libusb: debug [winusb_get_device_list] setting composite interface for [8C]:
[ 0.088478] [00004db0] libusb: debug [set_composite_interface] interface[1] = \\?\HID#VID_24AE&PID_4057&MI_01&COL02#E&39A3FF8C&0&0001#{4D1E55B2-F16F-11CF-88CB-001111000030}
[ 0.088618] [00004db0] libusb: debug [winusb_get_device_list] unlisted ancestor for 'HID\CONVERTEDDEVICE&COL03\5&379854AA&0&0002' (non USB HID, newly connected, etc.) - ignoring
[ 0.088741] [00004db0] libusb: debug [winusb_get_device_list] unlisted ancestor for 'HID\INTC816&COL01\3&36A7043C&0&0000' (non USB HID, newly connected, etc.) - ignoring
[ 0.088887] [00004db0] libusb: debug [winusb_get_device_list] unlisted ancestor for 'HID\VID_044E&PID_1212&COL01&COL02\7&290AACAE&0&0001' (non USB HID, newly connected, etc.) - ignoring
[ 0.089020] [00004db0] libusb: debug [winusb_get_device_list] setting composite interface for [8C]:
[ 0.089102] [00004db0] libusb: debug [set_composite_interface] interface[1] already set - ignoring HID collection: HID\VID_24AE&PID_4057&MI_01&COL05\E&39A3FF8C&0&0004
[ 0.089218] [00004db0] libusb: debug [winusb_get_device_list] unlisted ancestor for 'HID\INTC816&COL02\3&36A7043C&0&0001' (non USB HID, newly connected, etc.) - ignoring
[ 0.089336] [00004db0] libusb: debug [winusb_get_device_list] setting composite interface for [8C]:
[ 0.089415] [00004db0] libusb: debug [set_composite_interface] interface[1] already set - ignoring HID collection: HID\VID_24AE&PID_4057&MI_01&COL01\E&39A3FF8C&0&0000
[ 0.089545] [00004db0] libusb: debug [winusb_get_device_list] unlisted ancestor for 'HID\DELL091A&COL02\5&99B72D3&0&0001' (non USB HID, newly connected, etc.) - ignoring
[ 0.089665] [00004db0] libusb: debug [winusb_get_device_list] setting composite interface for [8C]:
[ 0.089744] [00004db0] libusb: debug [set_composite_interface] interface[1] already set - ignoring HID collection: HID\VID_24AE&PID_4057&MI_01&COL03\E&39A3FF8C&0&0002
[ 0.089861] [00004db0] libusb: debug [winusb_get_device_list] setting HID interface for [87]:
[ 0.089938] [00004db0] libusb: debug [set_hid_interface] interface[0] = \\?\HID#VID_413C&PID_B06E#C&37FF1248&0&0000#{4D1E55B2-F16F-11CF-88CB-001111000030}
[ 0.090076] [00004db0] libusb: debug [winusb_get_device_list] unlisted ancestor for 'HID\CONVERTEDDEVICE&COL02\5&379854AA&0&0001' (non USB HID, newly connected, etc.) - ignoring
[ 0.090211] [00004db0] libusb: debug [winusb_get_device_list] unlisted ancestor for 'HID\DELL091A&COL03\5&99B72D3&0&0002' (non USB HID, newly connected, etc.) - ignoring
[ 0.090326] [00004db0] libusb: debug [winusb_get_device_list] setting composite interface for [8C]:
[ 0.090404] [00004db0] libusb: debug [set_composite_interface] interface[1] already set - ignoring HID collection: HID\VID_24AE&PID_4057&MI_01&COL07\E&39A3FF8C&0&0006
[ 0.090520] [00004db0] libusb: debug [winusb_get_device_list] setting composite interface for [8C]:
[ 0.090598] [00004db0] libusb: debug [set_composite_interface] interface[0] = \\?\HID#VID_24AE&PID_4057&MI_00#E&5B8621&0&0000#{4D1E55B2-F16F-11CF-88CB-001111000030}\KBD
[ 0.090708] [00004db0] libusb: debug [winusb_get_device_list] setting composite interface for [8C]:
[ 0.090784] [00004db0] libusb: debug [set_composite_interface] interface[1] already set - ignoring HID collection: HID\VID_24AE&PID_4057&MI_01&COL06\E&39A3FF8C&0&0005
[ 0.090906] [00004db0] libusb: debug [winusb_get_device_list] setting HID interface for [89]:
[ 0.090977] [00004db0] libusb: debug [set_hid_interface] interface[0] = \\?\HID#VID_413C&PID_2107#E&1DE7F0C0&0&0000#{4D1E55B2-F16F-11CF-88CB-001111000030}\KBD
[ 0.091111] [00004db0] libusb: debug [winusb_get_device_list] unlisted ancestor for 'HID\DELL091A&COL04\5&99B72D3&0&0003' (non USB HID, newly connected, etc.) - ignoring
[ 0.091246] [00004db0] libusb: debug [winusb_get_device_list] unlisted ancestor for 'HID\DELL091A&COL05\5&99B72D3&0&0004' (non USB HID, newly connected, etc.) - ignoring
[ 0.091360] [00004db0] libusb: debug [winusb_get_device_list] setting composite interface for [8C]:
[ 0.091436] [00004db0] libusb: debug [set_composite_interface] interface[1] already set - ignoring HID collection: HID\VID_24AE&PID_4057&MI_01&COL04\E&39A3FF8C&0&0003
[ 0.091554] [00004db0] libusb: debug [winusb_get_device_list] setting HID interface for [8A]:
[ 0.091626] [00004db0] libusb: debug [set_hid_interface] interface[0] = \\?\HID#VID_413C&PID_B06F#D&3624B04C&0&0000#{4D1E55B2-F16F-11CF-88CB-001111000030}
[ 0.091756] [00004db0] libusb: debug [winusb_get_device_list] unlisted ancestor for 'HID\CONVERTEDDEVICE&COL01\5&379854AA&0&0000' (non USB HID, newly connected, etc.) - ignoring
[ 0.092864] [00004db0] libusb: debug [get_api_type] driver(s): WINUSB
[ 0.092979] [00004db0] libusb: debug [get_api_type] matched driver name against WinUSB
[ 0.094554] [00004db0] libusb: debug [libusb_get_device_descriptor]
[ 0.094632] [00004db0] libusb: debug [libusb_get_device_descriptor]
[ 0.094915] [00004db0] libusb: debug [libusb_get_device_descriptor]
[ 0.095062] [00004db0] libusb: debug [libusb_get_device_descriptor]
[ 0.095177] [00004db0] libusb: debug [libusb_get_device_descriptor]
[ 0.095376] [00004db0] libusb: debug [libusb_open] open 3.21
[ 0.095694] [00004db0] libusb: debug [libusb_unref_device] destroy device 3.9
[ 0.095834] [00004db0] libusb: debug [libusb_unref_device] destroy device 3.5
[ 0.095990] [00004db0] libusb: debug [libusb_unref_device] destroy device 3.3
[ 0.096093] [00004db0] libusb: debug [libusb_unref_device] destroy device 3.7
[ 0.096180] [00004db0] libusb: debug [libusb_unref_device] destroy device 1.4
[ 0.096253] [00004db0] libusb: debug [libusb_unref_device] destroy device 3.19
[ 0.096337] [00004db0] libusb: debug [libusb_unref_device] destroy device 3.13
[ 0.096408] [00004db0] libusb: debug [libusb_unref_device] destroy device 1.2
[ 0.096487] [00004db0] libusb: debug [libusb_unref_device] destroy device 2.0
[ 0.096571] [00004db0] libusb: debug [libusb_unref_device] destroy device 3.4
[ 0.096649] [00004db0] libusb: debug [libusb_unref_device] destroy device 3.1
[ 0.096720] [00004db0] libusb: debug [libusb_unref_device] destroy device 3.11
[ 0.096800] [00004db0] libusb: debug [libusb_unref_device] destroy device 3.14
[ 0.096873] [00004db0] libusb: debug [libusb_unref_device] destroy device 1.3
[ 0.096955] [00004db0] libusb: debug [libusb_unref_device] destroy device 1.0

Reading device descriptor:
[ 0.098240] [00004db0] libusb: debug [libusb_get_device_descriptor]
            length: 18
      device class: 0
               S/N: 0
           VID:PID: 0424:2740
         bcdDevice: 0200
   iMan:iProd:iSer: 1:2:0
          nb confs: 1

Reading BOS descriptor: [ 0.106756] [00004db0] libusb: debug [libusb_submit_transfer] transfer 00000166a061ec80
[ 0.106836] [00004db0] libusb: debug [add_to_flying_list] arm timer for timeout in 1000ms (first in line)
[ 0.106915] [00004db0] libusb: debug [libusb_claim_interface] interface 0
[ 0.107037] [00004db0] libusb: debug [winusbx_claim_interface] claimed interface 0
[ 0.107108] [00004db0] libusb: debug [windows_assign_endpoints] no endpoints found for interface 0
[ 0.107201] [00004db0] libusb: debug [auto_claim] auto-claimed interface 0 for control request
[ 0.107269] [00004db0] libusb: debug [winusbx_submit_control_transfer] will use interface 0
[ 0.107376] [00004db0] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.107452] [00004db0] libusb: debug [handle_events] event sources modified, reallocating event data
[ 0.107519] [00004db0] libusb: debug [usbi_wait_for_events] WaitForMultipleObjects() for 2 HANDLEs with timeout in 60000ms
[ 0.107529] [0000573c] libusb: debug [windows_iocp_thread] transfer 00000166a061ec80 completed, length 5
[ 0.107773] [00004db0] libusb: debug [usbi_wait_for_events] WaitForMultipleObjects() returned 0
[ 0.107848] [00004db0] libusb: debug [handle_event_trigger] event triggered
[ 0.107920] [00004db0] libusb: debug [windows_handle_transfer_completion] handling transfer 00000166a061ec80 completion with errcode 0, length 5
[ 0.108005] [00004db0] libusb: debug [libusb_release_interface] interface 0
[ 0.108075] [00004db0] libusb: debug [auto_release] auto-released interface 0
[ 0.108153] [00004db0] libusb: debug [arm_timer_for_next_timeout] no timeouts, disarming timer
[ 0.108222] [00004db0] libusb: debug [usbi_handle_transfer_completion] transfer 00000166a061ec80 has callback 00007ff91e359430
[ 0.108310] [00004db0] libusb: debug [sync_transfer_cb] actual_length=5
[ 0.108378] [00004db0] libusb: debug [libusb_free_transfer] transfer 00000166a061ec80
[ 0.108447] [00004db0] libusb: debug [libusb_get_bos_descriptor] found BOS descriptor: size 12 bytes, 1 capabilities
[ 0.108524] [00004db0] libusb: debug [libusb_submit_transfer] transfer 00000166a061ec80
[ 0.108590] [00004db0] libusb: debug [add_to_flying_list] arm timer for timeout in 1000ms (first in line)
[ 0.108660] [00004db0] libusb: debug [libusb_claim_interface] interface 0
[ 0.108775] [00004db0] libusb: debug [winusbx_claim_interface] claimed interface 0
[ 0.108854] [00004db0] libusb: debug [windows_assign_endpoints] no endpoints found for interface 0
[ 0.108939] [00004db0] libusb: debug [auto_claim] auto-claimed interface 0 for control request
[ 0.109013] [00004db0] libusb: debug [winusbx_submit_control_transfer] will use interface 0
[ 0.109108] [00004db0] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.109182] [00004db0] libusb: debug [usbi_wait_for_events] WaitForMultipleObjects() for 2 HANDLEs with timeout in 60000ms
[ 0.109261] [0000573c] libusb: debug [windows_iocp_thread] transfer 00000166a061ec80 completed, length 12
[ 0.109430] [00004db0] libusb: debug [usbi_wait_for_events] WaitForMultipleObjects() returned 0
[ 0.109499] [00004db0] libusb: debug [handle_event_trigger] event triggered
[ 0.109572] [00004db0] libusb: debug [windows_handle_transfer_completion] handling transfer 00000166a061ec80 completion with errcode 0, length 12
[ 0.109662] [00004db0] libusb: debug [libusb_release_interface] interface 0
[ 0.109732] [00004db0] libusb: debug [auto_release] auto-released interface 0
[ 0.109807] [00004db0] libusb: debug [arm_timer_for_next_timeout] no timeouts, disarming timer
[ 0.109878] [00004db0] libusb: debug [usbi_handle_transfer_completion] transfer 00000166a061ec80 has callback 00007ff91e359430
[ 0.109970] [00004db0] libusb: debug [sync_transfer_cb] actual_length=12
[ 0.110036] [00004db0] libusb: debug [libusb_free_transfer] transfer 00000166a061ec80
1 caps
    USB 2.0 extension:
      attributes             : A21E

Reading first configuration descriptor:
[ 0.115375] [00004db0] libusb: debug [libusb_get_config_descriptor] index 0
              total length: 18
         descriptor length: 9
             nb interfaces: 1
              interface[0]: id = 0
interface[0].altsetting[0]: num endpoints = 0
   Class.SubClass.Protocol: FF.FF.FF

Kernel driver attached for interface 0: [ 0.126825] [00004db0] libusb: debug [libusb_kernel_driver_active] interface 0
(not supported)

Claiming interface 0...
[ 0.130000] [00004db0] libusb: debug [libusb_claim_interface] interface 0
[ 0.130212] [00004db0] libusb: debug [winusbx_claim_interface] claimed interface 0
[ 0.130350] [00004db0] libusb: debug [windows_assign_endpoints] no endpoints found for interface 0

Reading string descriptors:
[ 0.132629] [00004db0] libusb: debug [libusb_submit_transfer] transfer 00000166a061ec80
[ 0.132775] [00004db0] libusb: debug [add_to_flying_list] arm timer for timeout in 1000ms (first in line)
[ 0.132877] [00004db0] libusb: debug [winusbx_submit_control_transfer] will use interface 0
[ 0.133061] [00004db0] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.133200] [00004db0] libusb: debug [usbi_wait_for_events] WaitForMultipleObjects() for 2 HANDLEs with timeout in 60000ms
[ 0.133221] [0000573c] libusb: debug [windows_iocp_thread] transfer 00000166a061ec80 completed, length 4
[ 0.133651] [00004db0] libusb: debug [usbi_wait_for_events] WaitForMultipleObjects() returned 0
[ 0.133787] [00004db0] libusb: debug [handle_event_trigger] event triggered
[ 0.133877] [00004db0] libusb: debug [windows_handle_transfer_completion] handling transfer 00000166a061ec80 completion with errcode 0, length 4
[ 0.134032] [00004db0] libusb: debug [arm_timer_for_next_timeout] no timeouts, disarming timer
[ 0.134175] [00004db0] libusb: debug [usbi_handle_transfer_completion] transfer 00000166a061ec80 has callback 00007ff91e359430
[ 0.134321] [00004db0] libusb: debug [sync_transfer_cb] actual_length=4
[ 0.134455] [00004db0] libusb: debug [libusb_free_transfer] transfer 00000166a061ec80
[ 0.134585] [00004db0] libusb: debug [libusb_submit_transfer] transfer 00000166a061ec80
[ 0.134704] [00004db0] libusb: debug [add_to_flying_list] arm timer for timeout in 1000ms (first in line)
[ 0.134825] [00004db0] libusb: debug [winusbx_submit_control_transfer] will use interface 0
[ 0.134965] [00004db0] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.135035] [00004db0] libusb: debug [usbi_wait_for_events] WaitForMultipleObjects() for 2 HANDLEs with timeout in 60000ms
[ 0.135104] [0000573c] libusb: debug [windows_iocp_thread] transfer 00000166a061ec80 completed, length 30
[ 0.135282] [00004db0] libusb: debug [usbi_wait_for_events] WaitForMultipleObjects() returned 0
[ 0.135363] [00004db0] libusb: debug [handle_event_trigger] event triggered
[ 0.135434] [00004db0] libusb: debug [windows_handle_transfer_completion] handling transfer 00000166a061ec80 completion with errcode 0, length 30
[ 0.135531] [00004db0] libusb: debug [arm_timer_for_next_timeout] no timeouts, disarming timer
[ 0.135608] [00004db0] libusb: debug [usbi_handle_transfer_completion] transfer 00000166a061ec80 has callback 00007ff91e359430
[ 0.135693] [00004db0] libusb: debug [sync_transfer_cb] actual_length=30
[ 0.135772] [00004db0] libusb: debug [libusb_free_transfer] transfer 00000166a061ec80
   String (0x01): "Microchip Tech"
[ 0.137657] [00004db0] libusb: debug [libusb_submit_transfer] transfer 00000166a061ec80
[ 0.137728] [00004db0] libusb: debug [add_to_flying_list] arm timer for timeout in 1000ms (first in line)
[ 0.137806] [00004db0] libusb: debug [winusbx_submit_control_transfer] will use interface 0
[ 0.137900] [00004db0] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.137976] [00004db0] libusb: debug [usbi_wait_for_events] WaitForMultipleObjects() for 2 HANDLEs with timeout in 60000ms
[ 0.138015] [0000573c] libusb: debug [windows_iocp_thread] transfer 00000166a061ec80 completed, length 4
[ 0.138251] [00004db0] libusb: debug [usbi_wait_for_events] WaitForMultipleObjects() returned 0
[ 0.138327] [00004db0] libusb: debug [handle_event_trigger] event triggered
[ 0.138408] [00004db0] libusb: debug [windows_handle_transfer_completion] handling transfer 00000166a061ec80 completion with errcode 0, length 4
[ 0.138499] [00004db0] libusb: debug [arm_timer_for_next_timeout] no timeouts, disarming timer
[ 0.138577] [00004db0] libusb: debug [usbi_handle_transfer_completion] transfer 00000166a061ec80 has callback 00007ff91e359430
[ 0.138669] [00004db0] libusb: debug [sync_transfer_cb] actual_length=4
[ 0.138741] [00004db0] libusb: debug [libusb_free_transfer] transfer 00000166a061ec80
[ 0.138820] [00004db0] libusb: debug [libusb_submit_transfer] transfer 00000166a061ec80
[ 0.138893] [00004db0] libusb: debug [add_to_flying_list] arm timer for timeout in 1000ms (first in line)
[ 0.138970] [00004db0] libusb: debug [winusbx_submit_control_transfer] will use interface 0
[ 0.139059] [00004db0] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.139137] [00004db0] libusb: debug [usbi_wait_for_events] WaitForMultipleObjects() for 2 HANDLEs with timeout in 60000ms
[ 0.139202] [0000573c] libusb: debug [windows_iocp_thread] transfer 00000166a061ec80 completed, length 30
[ 0.139385] [00004db0] libusb: debug [usbi_wait_for_events] WaitForMultipleObjects() returned 0
[ 0.139463] [00004db0] libusb: debug [handle_event_trigger] event triggered
[ 0.139539] [00004db0] libusb: debug [windows_handle_transfer_completion] handling transfer 00000166a061ec80 completion with errcode 0, length 30
[ 0.139628] [00004db0] libusb: debug [arm_timer_for_next_timeout] no timeouts, disarming timer
[ 0.139707] [00004db0] libusb: debug [usbi_handle_transfer_completion] transfer 00000166a061ec80 has callback 00007ff91e359430
[ 0.139805] [00004db0] libusb: debug [sync_transfer_cb] actual_length=30
[ 0.139877] [00004db0] libusb: debug [libusb_free_transfer] transfer 00000166a061ec80
   String (0x02): "Hub Controller"

Reading OS string descriptor:[ 0.142697] [00004db0] libusb: debug [libusb_submit_transfer] transfer 00000166a061ec80
[ 0.142777] [00004db0] libusb: debug [add_to_flying_list] arm timer for timeout in 1000ms (first in line)
[ 0.142854] [00004db0] libusb: debug [winusbx_submit_control_transfer] will use interface 0
[ 0.142943] [00004db0] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.143023] [00004db0] libusb: debug [usbi_wait_for_events] WaitForMultipleObjects() for 2 HANDLEs with timeout in 60000ms
[ 0.143083] [0000573c] libusb: debug [windows_iocp_thread] transfer 00000166a061ec80 completed, length 18
[ 0.143268] [00004db0] libusb: debug [usbi_wait_for_events] WaitForMultipleObjects() returned 0
[ 0.143347] [00004db0] libusb: debug [handle_event_trigger] event triggered
[ 0.143421] [00004db0] libusb: debug [windows_handle_transfer_completion] handling transfer 00000166a061ec80 completion with errcode 0, length 18
[ 0.143508] [00004db0] libusb: debug [arm_timer_for_next_timeout] no timeouts, disarming timer
[ 0.143582] [00004db0] libusb: debug [usbi_handle_transfer_completion] transfer 00000166a061ec80 has callback 00007ff91e359430
[ 0.143678] [00004db0] libusb: debug [sync_transfer_cb] actual_length=18
[ 0.143749] [00004db0] libusb: debug [libusb_free_transfer] transfer 00000166a061ec80


Reading Extended Compat ID OS Feature Descriptor (wIndex = 0x0004):
[ 0.147501] [00004db0] libusb: debug [libusb_submit_transfer] transfer 00000166a061ec80
[ 0.147577] [00004db0] libusb: debug [add_to_flying_list] arm timer for timeout in 1000ms (first in line)
[ 0.147646] [00004db0] libusb: debug [winusbx_submit_control_transfer] will use interface 0
[ 0.147747] [00004db0] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.147817] [00004db0] libusb: debug [usbi_wait_for_events] WaitForMultipleObjects() for 2 HANDLEs with timeout in 60000ms
[ 0.147887] [0000573c] libusb: debug [windows_iocp_thread] transfer 00000166a061ec80 completed, length 16
[ 0.148065] [00004db0] libusb: debug [usbi_wait_for_events] WaitForMultipleObjects() returned 0
[ 0.148137] [00004db0] libusb: debug [handle_event_trigger] event triggered
[ 0.148207] [00004db0] libusb: debug [windows_handle_transfer_completion] handling transfer 00000166a061ec80 completion with errcode 0, length 16
[ 0.148293] [00004db0] libusb: debug [arm_timer_for_next_timeout] no timeouts, disarming timer
[ 0.148367] [00004db0] libusb: debug [usbi_handle_transfer_completion] transfer 00000166a061ec80 has callback 00007ff91e359430
[ 0.148448] [00004db0] libusb: debug [sync_transfer_cb] actual_length=16
[ 0.148513] [00004db0] libusb: debug [libusb_free_transfer] transfer 00000166a061ec80
[ 0.148583] [00004db0] libusb: debug [libusb_submit_transfer] transfer 00000166a061ec80
[ 0.148656] [00004db0] libusb: debug [add_to_flying_list] arm timer for timeout in 1000ms (first in line)
[ 0.148723] [00004db0] libusb: debug [winusbx_submit_control_transfer] will use interface 0
[ 0.148804] [00004db0] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.148873] [00004db0] libusb: debug [usbi_wait_for_events] WaitForMultipleObjects() for 2 HANDLEs with timeout in 60000ms
[ 0.148964] [0000573c] libusb: debug [windows_iocp_thread] transfer 00000166a061ec80 completed, length 40
[ 0.149102] [00004db0] libusb: debug [usbi_wait_for_events] WaitForMultipleObjects() returned 0
[ 0.149169] [00004db0] libusb: debug [handle_event_trigger] event triggered
[ 0.149293] [00004db0] libusb: debug [windows_handle_transfer_completion] handling transfer 00000166a061ec80 completion with errcode 0, length 40
[ 0.149390] [00004db0] libusb: debug [arm_timer_for_next_timeout] no timeouts, disarming timer
[ 0.149462] [00004db0] libusb: debug [usbi_handle_transfer_completion] transfer 00000166a061ec80 has callback 00007ff91e359430
[ 0.149545] [00004db0] libusb: debug [sync_transfer_cb] actual_length=40
[ 0.149619] [00004db0] libusb: debug [libusb_free_transfer] transfer 00000166a061ec80

  00000000  28 00 00 00 00 01 04 00 01 00 00 00 00 00 00 00  (...............
  00000010  00 01 57 49 4e 55 53 42 00 00 00 00 00 00 00 00  ..WINUSB........
  00000020  00 00 00 00 00 00 00 00                          ........

Reading Extended Properties OS Feature Descriptor (wIndex = 0x0005):
[ 0.161414] [00004db0] libusb: debug [libusb_submit_transfer] transfer 00000166a061ec80
[ 0.161490] [00004db0] libusb: debug [add_to_flying_list] arm timer for timeout in 1000ms (first in line)
[ 0.161559] [00004db0] libusb: debug [libusb_claim_interface] interface 0
[ 0.161635] [00004db0] libusb: debug [auto_claim] auto-claimed interface 0 for control request
[ 0.161701] [00004db0] libusb: debug [winusbx_submit_control_transfer] will use interface 0
[ 0.161801] [00004db0] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.161873] [00004db0] libusb: debug [usbi_wait_for_events] WaitForMultipleObjects() for 2 HANDLEs with timeout in 60000ms
[ 0.162065] [0000573c] libusb: debug [windows_iocp_thread] transfer 00000166a061ec80 completed, length 0
[ 0.162221] [00004db0] libusb: debug [usbi_wait_for_events] WaitForMultipleObjects() returned 0
[ 0.162296] [00004db0] libusb: debug [handle_event_trigger] event triggered
[ 0.162370] [00004db0] libusb: debug [windows_handle_transfer_completion] handling transfer 00000166a061ec80 completion with errcode 31, length 0
[ 0.162459] [00004db0] libusb: debug [windows_handle_transfer_completion] detected endpoint stall
[ 0.162531] [00004db0] libusb: debug [libusb_release_interface] interface 0
[ 0.162600] [00004db0] libusb: debug [auto_release] auto-released interface 0
[ 0.162722] [00004db0] libusb: debug [arm_timer_for_next_timeout] no timeouts, disarming timer
[ 0.162795] [00004db0] libusb: debug [usbi_handle_transfer_completion] transfer 00000166a061ec80 has callback 00007ff91e359430
[ 0.162887] [00004db0] libusb: debug [sync_transfer_cb] actual_length=0
[ 0.162956] [00004db0] libusb: debug [libusb_free_transfer] transfer 00000166a061ec80
   Failed: Pipe error
Reading interface association descriptors (IADs) for first configuration:
[ 0.171910] [00004db0] libusb: debug [libusb_get_interface_association_descriptors] IADs for config index 0
    nb IADs: 0

Releasing interface 0...
[ 0.174275] [00004db0] libusb: debug [libusb_release_interface] interface 0
Closing device...
[ 0.176200] [00004db0] libusb: debug [libusb_close]
[ 0.176301] [00004db0] libusb: debug [libusb_unref_device] destroy device 3.21
[ 0.176375] [00004db0] libusb: debug [libusb_unref_device] destroy device 3.8
[ 0.176451] [00004db0] libusb: debug [libusb_unref_device] destroy device 3.6
[ 0.176518] [00004db0] libusb: debug [libusb_unref_device] destroy device 3.2
[ 0.176589] [00004db0] libusb: debug [libusb_unref_device] destroy device 3.0
[ 0.176675] [00004db0] libusb: debug [libusb_exit] destroying default context
[ 0.176755] [0000573c] libusb: debug [windows_iocp_thread] I/O completion thread exiting
[ 0.178305] [00004db0] libusb: debug [usbi_remove_event_source] remove HANDLE 0000000000000098
[ 0.178402] [00004db0] libusb: debug [usbi_remove_event_source] remove HANDLE 000000000000009c

Capture1

mcuee avatar Oct 09 '23 05:10 mcuee

image

My device is on the external Dell Type C docking station.

What is your device? Is it built-in with the computer or an external device?

mcuee avatar Oct 09 '23 05:10 mcuee

@mcuee So yours is under "Universal Serial Bus devices" as a "Hub Controller". What is listed under the Drivers tab? I see that in the enumeration the usbccgp driver is detected and the Composite API is assigned.

tormodvolden avatar Oct 09 '23 06:10 tormodvolden

@mcuee So yours is under "Universal Serial Bus devices" as a "Hub Controller". What is listed under the Drivers tab? I see that in the enumeration the usbccgp driver is detected and the Composite API is assigned.

Hmm, I think WinUSB API id selected and not usbccgp in my case.

[ 0.076721] [00004db0] libusb: debug [winusb_get_device_list] found existing device for session [8D]
[ 0.076898] [00004db0] libusb: debug [init_device] found 1 configurations (current config: 1)
[ 0.076987] [00004db0] libusb: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 18 bytes)
[ 0.077090] [00004db0] libusb: debug [init_device] (bus: 3, addr: 21, depth: 4, port: 5): 'USB\VID_0424&PID_2740\D&127B8A6A&0&5'

Capture2

mcuee avatar Oct 09 '23 08:10 mcuee