none
UDE Urb USBD_STATUS_CANCELED RRS feed

  • Question

  • Hi, 

    After we created a faked USB devices with UDE, I found the port is suspended and all setup control Urb is canceled, even after I turn off the selective suspend in Windows power management.

    In fact, after device is enumerated, some control Urb is sent to control endpoint. Can I know to implemented a faked control endpoint for UDE?

    Here is what we  saw in Message Analyzer:

    MessageNumber DiagnosisTypes Timestamp TimeElapsed Source Destination Module Summary
    6352 None 2016-09-16T14:21:57.0304499 0.0000008 UsbSpec Set Interface 1 Setting 0
    6354 None 2016-09-16T14:21:57.0304642 Microsoft_Windows_USB_UCX UCX Endpoint Create
    6355 None 2016-09-16T14:21:57.0305036 0.0000041 UsbSpec Enable U1 on port 4 but do not initiate
    6357 Application 2016-09-16T14:21:57.0305130 0.0000082 UsbSpec Set Device Feature U1_ENABLE - USBD_STATUS_CANCELED
    6359 Application 2016-09-16T14:21:57.0305221 Microsoft_Windows_USB_USBHUB3 Set Feature for U1 Enable Failed
    6360 Application 2016-09-16T14:21:57.0305225 Microsoft_Windows_USB_USBHUB3 Device Control Transfer Error
    6361 None 2016-09-16T14:21:57.0305258 0.0000012 UsbSpec Enable U2 on port 4 with timer
    6363 Application 2016-09-16T14:21:57.0305290 0.0000025 UsbSpec Set Device Feature U2_ENABLE - USBD_STATUS_CANCELED
    6365 Application 2016-09-16T14:21:57.0305323 Microsoft_Windows_USB_USBHUB3 Set Feature for U2 Enable failed
    6366 Application 2016-09-16T14:21:57.0305323 Microsoft_Windows_USB_USBHUB3 Device Control Transfer Error
    6367 None 2016-09-16T14:21:57.0305360 Microsoft_Windows_USB_USBHUB3 Completion of URB Client Request for USB Device
    6368 None 2016-09-16T14:21:57.0305364 Microsoft_Windows_USB_USBHUB3 Completion of IRP_MJ_INTERNAL_DEVICE_CONTROL for USB Device
    6369 None 2016-09-16T14:21:57.0305840 Microsoft_Windows_USB_USBHUB3 Start of IRP_MJ_INTERNAL_DEVICE_CONTROL for USB Device
    6370 None 2016-09-16T14:21:57.0305844 Microsoft_Windows_USB_USBHUB3 Start URB Client Request for USB Device
    6371 None 2016-09-16T14:21:57.0305844 Microsoft_Windows_USB_USBHUB3 Completion of URB Client Request for USB Device
    6372 None 2016-09-16T14:21:57.0305848 Microsoft_Windows_USB_USBHUB3 Completion of IRP_MJ_INTERNAL_DEVICE_CONTROL for USB Device
    6373 None 2016-09-16T14:21:57.0305877 Microsoft_Windows_USB_USBHUB3 Start of IRP_MJ_INTERNAL_DEVICE_CONTROL for USB Device
    6374 None 2016-09-16T14:21:57.0305881 Microsoft_Windows_USB_USBHUB3 Start URB Client Request for USB Device
    6375 None 2016-09-16T14:21:57.0305881 Microsoft_Windows_USB_USBHUB3 Completion of URB Client Request for USB Device
    6376 None 2016-09-16T14:21:57.0305885 Microsoft_Windows_USB_USBHUB3 Completion of IRP_MJ_INTERNAL_DEVICE_CONTROL for USB Device
    6377 Application, Validation 2016-09-16T14:21:57.0306242 0.0000037 UsbSpec Get Interface Status - USBD_STATUS_CANCELED
    6379 None 2016-09-16T14:21:57.0308667 0.0000033 UsbSpec Get String Descriptor Other - "C"
    6381 None 2016-09-16T14:21:57.0308732 0.0000013 UsbSpec Get String Descriptor Other - "CDC MBIM"
    6383 None 2016-09-16T14:21:57.0308786 Microsoft_Windows_USB_USBHUB3 Start of IRP_MJ_INTERNAL_DEVICE_CONTROL for USB Device
    6384 None 2016-09-16T14:21:57.0308790 Microsoft_Windows_USB_USBHUB3 Completion of IRP_MJ_INTERNAL_DEVICE_CONTROL for USB Device
    6385 Application 2016-09-16T14:21:57.0370923 0.0000160 UsbSpec Get Device Status - USBD_STATUS_CANCELED
    6387 Application 2016-09-16T14:21:57.0371448 0.0000058 UsbSpec Get String Descriptor - USBD_STATUS_CANCELED
    6389 Application 2016-09-16T14:21:57.0371551 0.0000033 UsbSpec Get String Descriptor - USBD_STATUS_CANCELED
    6391 Application 2016-09-16T14:21:57.0371830 0.0000037 UsbSpec Control In Transfer - Canceled
    6393 None 2016-09-16T14:21:57.0374870 0.0000029 UsbSpec Set Interface 0 Feature FUNCTION_SUSPEND - Suspend = 1, Remote Wake = 0
    6395 None 2016-09-16T14:21:58.0367711 Microsoft_Windows_USB_USBHUB3 Start of EvtDeviceD0Exit for USB Device
    6396 None 2016-09-16T14:21:58.0368113 0.0000168 UsbSpec SuspendPort(4)
    6398 None 2016-09-16T14:21:58.0368540 Microsoft_Windows_USB_USBHUB3 Complete EvtDeviceD0Exit for USB Device


    • Edited by cuijinbird Friday, September 16, 2016 10:20 AM
    Friday, September 16, 2016 7:10 AM