daynix / UsbDk

Usb Drivers Development Kit for Windows
Apache License 2.0
548 stars 143 forks source link

GetOverlappedResult failed on Macbook air running windows 10 (Bootcamp) #8

Closed msbroadf closed 9 years ago

msbroadf commented 9 years ago

Hi, i installed the debug usbdk on my macbook running windows 10 in bootcamp (so its native windows 10), when i capture a device it fails immediately when trying to reap the completed URB on the pipe

00000012    58.70553970 [2808] [1]0EE8.0468::10/12/2015-20:23:55.814 [UsbDk]CUsbDkControlDevice::AddRedirect Success. New redirections list:    
00000013    58.70557404 [2808]  
00000014    58.70597839 [2808] [1]0EE8.0468::10/12/2015-20:23:55.814 [UsbDk]CUsbDkRedirection::Dump Redirect: DevID: USB\VID_18A5&PID_0243, InstanceID: 070B544992654402    
00000015    58.70605087 [2808]  
00000016    58.70634460 [2808] [3]0004.13C0::10/12/2015-20:23:55.926 [UsbDk]CRegText::Dump ID: USB\VID_18A5&PID_0243    
00000017    58.70641327 [2808]  
00000018    58.70670319 [2808] [3]0004.13C0::10/12/2015-20:23:55.926 [UsbDk]CRegText::Dump ID: 070B544992654402 
00000019    58.70683289 [2808]  
00000020    58.70699310 [2808] [3]0004.13C0::10/12/2015-20:23:55.926 [UsbDk]UsbDkEvtDeviceAdd Entry 
00000021    58.70706177 [2808]  
00000022    58.70731735 [2808] [3]0004.13C0::10/12/2015-20:23:55.926 [UsbDk]CRegText::Dump ID: USB\VID_18A5&PID_0243    
00000023    58.70745087 [2808]  
00000024    58.70771408 [2808] [3]0004.13C0::10/12/2015-20:23:55.926 [UsbDk]UsbDkEvtDeviceAdd Exit STATUS_SUCCESS   
00000025    58.70784760 [2808]  
00000027    64.89150238 [3816] Driver file operation error. GetOverlappedResult failed (Element not found.  Error code = 1168)  
00000028    69.83258057 [3816] Driver file operation error. GetOverlappedResult failed (Element not found.  Error code = 1168)  
00000029    74.97229767 [3816] Driver file operation error. GetOverlappedResult failed (Element not found.  Error code = 1168)  

However it runs ok in window 10 vm, and also it runs ok in windows 7.

Does the depend on the native host controller? Looking on the macbook its running the standard XHCI usb 3.0 host controller driver for the chipset.

dmitryfleytman commented 9 years ago

Fixed by commit 4a0354fdcd2d9ba342199180c16a853534c52527 at version 1.0.7