nefarius / DsHidMini

Virtual HID Mini-user-mode-driver for Sony DualShock 3 Controllers
https://docs.nefarius.at/projects/DsHidMini/
BSD 3-Clause "New" or "Revised" License
1.26k stars 55 forks source link

Controller error if via cable after waking system from sleep #311

Open Kanuan opened 1 year ago

Kanuan commented 1 year ago

If controller is connected via cable while waking system from sleep, then the device will be stuck in a error state until the controller is reconnected.

image

nefarius commented 5 months ago

@Kanuan could you possibly try to replicate that while also having TraceView running before, during and after resume and share if you get anything captured?

nefarius commented 5 months ago

Got one:

1: kd> !analyze -v
*******************************************************************************
*                                                                             *
*                        Bugcheck Analysis                                    *
*                                                                             *
*******************************************************************************

Unknown bugcheck code (0)
Unknown bugcheck description
Arguments:
Arg1: 0000000000000000
Arg2: 0000000000000000
Arg3: 0000000000000000
Arg4: 0000000000000000

Debugging Details:
------------------

KEY_VALUES_STRING: 1

    Key  : Analysis.CPU.mSec
    Value: 3124

    Key  : Analysis.Elapsed.mSec
    Value: 3410

    Key  : Analysis.IO.Other.Mb
    Value: 3

    Key  : Analysis.IO.Read.Mb
    Value: 5

    Key  : Analysis.IO.Write.Mb
    Value: 4

    Key  : Analysis.Init.CPU.mSec
    Value: 17109

    Key  : Analysis.Init.Elapsed.mSec
    Value: 729965

    Key  : Analysis.Memory.CommitPeak.Mb
    Value: 221

    Key  : Failure.Bucket
    Value: 0x0_KERNELBASE!wil::details::DebugBreak

    Key  : Failure.Hash
    Value: {bf435393-ab1c-2b67-8d0c-a2c789a315b3}

    Key  : Hypervisor.Enlightenments.Value
    Value: 0

    Key  : Hypervisor.Enlightenments.ValueHex
    Value: 0

    Key  : Hypervisor.Flags.AnyHypervisorPresent
    Value: 0

    Key  : Hypervisor.Flags.ApicEnlightened
    Value: 0

    Key  : Hypervisor.Flags.ApicVirtualizationAvailable
    Value: 0

    Key  : Hypervisor.Flags.AsyncMemoryHint
    Value: 0

    Key  : Hypervisor.Flags.CoreSchedulerRequested
    Value: 0

    Key  : Hypervisor.Flags.CpuManager
    Value: 0

    Key  : Hypervisor.Flags.DeprecateAutoEoi
    Value: 0

    Key  : Hypervisor.Flags.DynamicCpuDisabled
    Value: 0

    Key  : Hypervisor.Flags.Epf
    Value: 0

    Key  : Hypervisor.Flags.ExtendedProcessorMasks
    Value: 0

    Key  : Hypervisor.Flags.HardwareMbecAvailable
    Value: 0

    Key  : Hypervisor.Flags.MaxBankNumber
    Value: 0

    Key  : Hypervisor.Flags.MemoryZeroingControl
    Value: 0

    Key  : Hypervisor.Flags.NoExtendedRangeFlush
    Value: 0

    Key  : Hypervisor.Flags.NoNonArchCoreSharing
    Value: 0

    Key  : Hypervisor.Flags.Phase0InitDone
    Value: 0

    Key  : Hypervisor.Flags.PowerSchedulerQos
    Value: 0

    Key  : Hypervisor.Flags.RootScheduler
    Value: 0

    Key  : Hypervisor.Flags.SynicAvailable
    Value: 0

    Key  : Hypervisor.Flags.UseQpcBias
    Value: 0

    Key  : Hypervisor.Flags.Value
    Value: 0

    Key  : Hypervisor.Flags.ValueHex
    Value: 0

    Key  : Hypervisor.Flags.VpAssistPage
    Value: 0

    Key  : Hypervisor.Flags.VsmAvailable
    Value: 0

    Key  : Hypervisor.RootFlags.AccessStats
    Value: 0

    Key  : Hypervisor.RootFlags.CrashdumpEnlightened
    Value: 0

    Key  : Hypervisor.RootFlags.CreateVirtualProcessor
    Value: 0

    Key  : Hypervisor.RootFlags.DisableHyperthreading
    Value: 0

    Key  : Hypervisor.RootFlags.HostTimelineSync
    Value: 0

    Key  : Hypervisor.RootFlags.HypervisorDebuggingEnabled
    Value: 0

    Key  : Hypervisor.RootFlags.IsHyperV
    Value: 0

    Key  : Hypervisor.RootFlags.LivedumpEnlightened
    Value: 0

    Key  : Hypervisor.RootFlags.MapDeviceInterrupt
    Value: 0

    Key  : Hypervisor.RootFlags.MceEnlightened
    Value: 0

    Key  : Hypervisor.RootFlags.Nested
    Value: 0

    Key  : Hypervisor.RootFlags.StartLogicalProcessor
    Value: 0

    Key  : Hypervisor.RootFlags.Value
    Value: 0

    Key  : Hypervisor.RootFlags.ValueHex
    Value: 0

    Key  : SecureKernel.HalpHvciEnabled
    Value: 0

    Key  : WER.OS.Branch
    Value: vb_release

    Key  : WER.OS.Version
    Value: 10.0.19041.1

BUGCHECK_CODE:  0

BUGCHECK_P1: 0

BUGCHECK_P2: 0

BUGCHECK_P3: 0

BUGCHECK_P4: 0

PROCESS_NAME:  WUDFHost.exe

ERROR_CODE: (NTSTATUS) 0x80000003 - {EXCEPTION}  Breakpoint  A breakpoint has been reached.

EXCEPTION_CODE_STR:  80000003

EXCEPTION_PARAMETER1:  0000000000000000

STACK_TEXT:  
000000b0`4d7ff5e8 00007ff8`3193affb     : fffffd6f`db1338c8 00000000`00000000 00000290`24eaa7e0 00000000`00000000 : KERNELBASE!wil::details::DebugBreak+0x2
000000b0`4d7ff5f0 00007ff8`3193b28f     : 00000290`24ecc7e0 00000290`24ebb200 00000000`00000000 00000000`00000000 : dshidmini!DMF_HandleValidate_IsOpened+0x7b [D:\Development\GitHub\DMF\Dmf\Framework\DmfValidate.c @ 408] 
000000b0`4d7ff630 00007ff8`31939f42     : fffffd6f`db1338c8 00007ff8`3198a0c8 00007ff8`00000001 00000290`24e80021 : dshidmini!DMF_HandleValidate_ModuleMethod+0x3f [D:\Development\GitHub\DMF\Dmf\Framework\DmfValidate.c @ 543] 
000000b0`4d7ff670 00007ff8`319245d7     : fffffd6f`db1338c8 00007ff8`31921800 00000290`00000006 00007ff8`31920046 : dshidmini!DMF_VirtualHidMini_InputReportGenerate+0xf2 [D:\Development\GitHub\DMF\Dmf\Modules.Library\Dmf_VirtualHidMini.c @ 1581] 
000000b0`4d7ff700 00007ff8`3192439b     : 00000290`24eb4c80 00000290`24ee1730 00000290`00000031 00000290`24ed004d : dshidmini!Ds_ProcessHidInputReport+0x1b7 [D:\Development\GitHub\dshidmini\sys\DsHidMiniDrv.c @ 1404] 
000000b0`4d7ff790 00007ff8`32bc755a     : fffffd6f`db17f008 fffffd6f`db11e978 00000000`00000031 fffffd6f`db14b698 : dshidmini!DsUsb_EvtUsbInterruptPipeReadComplete+0x59b [D:\Development\GitHub\dshidmini\sys\DsHidMiniDrv.c @ 1748] 
000000b0`4d7ff890 00007ff8`32bd8eae     : 00000290`24ed1b30 00000290`24ebb200 00000290`24eb6be0 00000000`00000000 : WUDFx02000!FxUsbPipeContinuousReader::_FxUsbPipeRequestComplete+0x7a [minkernel\wdf\framework\shared\targets\usb\fxusbpipe.cpp @ 302] 
000000b0`4d7ff910 00007ff8`32bbbba0     : 00000290`24ed1b30 00000290`24ed1d01 00000000`00000000 00000000`00000008 : WUDFx02000!FxRequestBase::CompleteSubmitted+0xae [minkernel\wdf\framework\shared\core\fxrequestbase.cpp @ 516] 
000000b0`4d7ff950 00007ff8`32bbcda2     : 00000290`24ec6200 00000290`24eac0c0 00000290`24ed1b30 00000290`24ebb2e0 : WUDFx02000!FxIoTarget::RequestCompletionRoutine+0x168 [minkernel\wdf\framework\shared\targets\general\fxiotarget.cpp @ 2393] 
000000b0`4d7ff9b0 00007ff7`608bf9e5     : 00000290`24ed1de8 00000000`00000000 00000290`24ed1de8 00000290`24ed1d30 : WUDFx02000!FxIoTarget::_RequestCompletionRoutine+0x42 [minkernel\wdf\framework\shared\targets\general\fxiotarget.cpp @ 2451] 
000000b0`4d7ff9e0 00007ff7`608bf3e8     : 00000290`00000000 00000290`24ed1ed0 00000000`00000000 00000000`00000000 : WUDFHost!CWudfIoStack::OnCompletion+0x5d5 [minkernel\wdf\framework\umdf\driverhost\wudfhost\wudfiostack.cpp @ 312] 
000000b0`4d7ffac0 00007ff7`608c13e7     : 000000b0`4d7ffae8 00000000`00000000 00000290`24eb9d18 00007ff8`371a0edc : WUDFHost!CWudfIrpT<CWudfIoIrp,IWudfIoIrp2,_WUDFMESSAGE_IO_HEADER *,_WUDFMESSAGE_REPLY_HEADER *>::CompleteRequest+0x18 [minkernel\wdf\framework\umdf\driverhost\wudfhost\WudfIrp.h @ 1089] 
000000b0`4d7ffaf0 00007ff8`372a32da     : 00000290`24eb9d18 00000000`00000000 00000290`24ed1e58 00000000`00000000 : WUDFHost!CWudfIoDispatcher::IoCompletionRoutine+0xb7 [minkernel\wdf\framework\umdf\driverhost\wudfhost\WudfIoDispatcher.h @ 133] 
000000b0`4d7ffb20 00007ff8`371e2f76     : 00000290`24eb9d18 00000290`24ea5910 00000290`24e80b50 00000000`00000000 : ntdll!RtlpTpIoCallback+0xca
000000b0`4d7ffb60 00007ff8`36a47614     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!TppWorkerThread+0x456
000000b0`4d7ffe60 00007ff8`371e26a1     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : KERNEL32!BaseThreadInitThunk+0x14
000000b0`4d7ffe90 00000000`00000000     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x21

SYMBOL_NAME:  KERNELBASE!wil::details::DebugBreak+2

MODULE_NAME: KERNELBASE

IMAGE_NAME:  KERNELBASE.dll

STACK_COMMAND:  .cxr; .ecxr ; kb

BUCKET_ID_FUNC_OFFSET:  2

FAILURE_BUCKET_ID:  0x0_KERNELBASE!wil::details::DebugBreak

OS_VERSION:  10.0.19041.1

BUILDLAB_STR:  vb_release

OSPLATFORM_TYPE:  x64

OSNAME:  Windows 10

FAILURE_ID_HASH:  {bf435393-ab1c-2b67-8d0c-a2c789a315b3}

Followup:     MachineOwner
---------

1: kd> !wdflogdump dshidmini.dll 0xffff978c3cc92080 -m
Framework symbols loaded at 0x0000000010000000
WPP Recorder symbols loaded at 0x0000000011000000
Trace searchpath is: 

Trace format prefix is: %7!u!: %!FUNC! - 
Gather log: Please wait, this may take a moment (reading 3904 bytes).
% read so far ... 10, 20, 30, 40, 50, 60, 70, 80, 90, 100
There are 88 log entries
Gather log: Please wait, this may take a moment (reading 4016 bytes).
% read so far ... 10, 20, 30, 40, 50, 60, 70, 80, 90, 100
There are 82 log entries
--- start of merged log ---
FX  - 410: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 entering Power State WdfDevStatePowerD0StartingPostHardwareEnabled from WdfDevStatePowerD0StartingDmaEnable
FX  - 411: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 entering Power State WdfDevStatePowerD0StartingStartSelfManagedIo from WdfDevStatePowerD0StartingPostHardwareEnabled
FX  - 412: FxPkgIo::ResumeProcessingForPower - Power resume all queues of WDFDEVICE 0xFFFFFD6FDB14B698
FX  - 416: FxSelfManagedIoMachine::ProcessEvent - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 entering self managed io state FxSelfManagedIoInit from FxSelfManagedIoCreated
FX  - 444: FxSelfManagedIoMachine::ProcessEvent - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 entering self managed io state FxSelfManagedIoStarted from FxSelfManagedIoInit
FX  - 445: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 entering Power State WdfDevStatePowerDecideD0State from WdfDevStatePowerD0StartingStartSelfManagedIo
FX  - 446: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 entering Power State WdfDevStatePowerD0 from WdfDevStatePowerDecideD0State
FX  - 447: FxPkgPnp::NotPowerPolicyOwnerEnterNewState - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 entering not power policy owner state WdfDevStatePwrPolStarted from WdfDevStatePwrPolStarting
FX  - 448: FxPkgPnp::NotPowerPolicyOwnerEnterNewState - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 entering not power policy owner state WdfDevStatePwrPolStartingSucceeded from WdfDevStatePwrPolStarted
FX  - 449: FxPkgPnp::PnpEnterNewState - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 entering PnP State WdfDevStatePnpEnableInterfaces from WdfDevStatePnpHardwareAvailable
FX  - 450: FxPkgPnp::PnpEnterNewState - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 entering PnP State WdfDevStatePnpStarted from WdfDevStatePnpEnableInterfaces
FX  - 554: FxPkgPnp::Dispatch - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0, IRP_MJ_PNP, 0x00000014(IRP_MN_QUERY_PNP_DEVICE_STATE) IRP 0x0000029024EDD670
FX  - 555: FxPkgFdo::HandleQueryPnpDeviceStateCompletion - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 returning PNP_DEVICE_STATE 0x0 IRP 0x0000029024EDD670
FX  - 5771: FxRequest::GetDeviceControlOutputMemoryObject - WDFREQUEST 0xFFFFFD6FDB12BBD8 IOCTL output buffer length is zero, 0xc0000023(STATUS_BUFFER_TOO_SMALL)
FX  - 43371: FxRequest::GetDeviceControlOutputMemoryObject - WDFREQUEST 0xFFFFFD6FDB14A0E8 IOCTL output buffer length is zero, 0xc0000023(STATUS_BUFFER_TOO_SMALL)
FX  - 43714: FxRequest::GetDeviceControlOutputMemoryObject - WDFREQUEST 0xFFFFFD6FDB14A508 IOCTL output buffer length is zero, 0xc0000023(STATUS_BUFFER_TOO_SMALL)
FX  - 43812: FxRequest::GetDeviceControlOutputMemoryObject - WDFREQUEST 0xFFFFFD6FDB14AB38 IOCTL output buffer length is zero, 0xc0000023(STATUS_BUFFER_TOO_SMALL)
FX  - 72737: FxRequest::GetDeviceControlOutputMemoryObject - WDFREQUEST 0xFFFFFD6FDB14A928 IOCTL output buffer length is zero, 0xc0000023(STATUS_BUFFER_TOO_SMALL)
FX  - 72805: FxRequest::GetDeviceControlOutputMemoryObject - WDFREQUEST 0xFFFFFD6FDB14A0E8 IOCTL output buffer length is zero, 0xc0000023(STATUS_BUFFER_TOO_SMALL)
FX  - 72933: FxRequest::GetDeviceControlOutputMemoryObject - WDFREQUEST 0xFFFFFD6FDB14A508 IOCTL output buffer length is zero, 0xc0000023(STATUS_BUFFER_TOO_SMALL)
FX  - 73129: FxRequest::GetDeviceControlOutputMemoryObject - WDFREQUEST 0xFFFFFD6FDB14AD48 IOCTL output buffer length is zero, 0xc0000023(STATUS_BUFFER_TOO_SMALL)
FX  - 74354: FxRequest::GetDeviceControlOutputMemoryObject - WDFREQUEST 0xFFFFFD6FDB14AD48 IOCTL output buffer length is zero, 0xc0000023(STATUS_BUFFER_TOO_SMALL)
FX  - 89625: FxRequest::GetDeviceControlOutputMemoryObject - WDFREQUEST 0xFFFFFD6FDB14A928 IOCTL output buffer length is zero, 0xc0000023(STATUS_BUFFER_TOO_SMALL)
FX  - 89723: FxRequest::GetDeviceControlOutputMemoryObject - WDFREQUEST 0xFFFFFD6FDB14A508 IOCTL output buffer length is zero, 0xc0000023(STATUS_BUFFER_TOO_SMALL)
FX  - 108255: FxRequest::GetDeviceControlOutputMemoryObject - WDFREQUEST 0xFFFFFD6FDB14A928 IOCTL output buffer length is zero, 0xc0000023(STATUS_BUFFER_TOO_SMALL)
FX  - 108323: FxRequest::GetDeviceControlOutputMemoryObject - WDFREQUEST 0xFFFFFD6FDB14AD48 IOCTL output buffer length is zero, 0xc0000023(STATUS_BUFFER_TOO_SMALL)
FX  - 108500: FxRequest::GetDeviceControlOutputMemoryObject - WDFREQUEST 0xFFFFFD6FDB14AB38 IOCTL output buffer length is zero, 0xc0000023(STATUS_BUFFER_TOO_SMALL)
FX  - 138623: FxRequest::GetDeviceControlOutputMemoryObject - WDFREQUEST 0xFFFFFD6FDB14AD48 IOCTL output buffer length is zero, 0xc0000023(STATUS_BUFFER_TOO_SMALL)
FX  - 138691: FxRequest::GetDeviceControlOutputMemoryObject - WDFREQUEST 0xFFFFFD6FDB14A2F8 IOCTL output buffer length is zero, 0xc0000023(STATUS_BUFFER_TOO_SMALL)
FX  - 138868: FxRequest::GetDeviceControlOutputMemoryObject - WDFREQUEST 0xFFFFFD6FDB14A718 IOCTL output buffer length is zero, 0xc0000023(STATUS_BUFFER_TOO_SMALL)
FX  - 155146: FxRequest::GetDeviceControlOutputMemoryObject - WDFREQUEST 0xFFFFFD6FDB11BD98 IOCTL output buffer length is zero, 0xc0000023(STATUS_BUFFER_TOO_SMALL)
FX  - 155214: FxRequest::GetDeviceControlOutputMemoryObject - WDFREQUEST 0xFFFFFD6FDB11BD98 IOCTL output buffer length is zero, 0xc0000023(STATUS_BUFFER_TOO_SMALL)
FX  - 155391: FxRequest::GetDeviceControlOutputMemoryObject - WDFREQUEST 0xFFFFFD6FDB11BD98 IOCTL output buffer length is zero, 0xc0000023(STATUS_BUFFER_TOO_SMALL)
FX  - 175687: FxRequest::GetDeviceControlOutputMemoryObject - WDFREQUEST 0xFFFFFD6FDB14AD48 IOCTL output buffer length is zero, 0xc0000023(STATUS_BUFFER_TOO_SMALL)
FX  - 175755: FxRequest::GetDeviceControlOutputMemoryObject - WDFREQUEST 0xFFFFFD6FDB14A0E8 IOCTL output buffer length is zero, 0xc0000023(STATUS_BUFFER_TOO_SMALL)
FX  - 175932: FxRequest::GetDeviceControlOutputMemoryObject - WDFREQUEST 0xFFFFFD6FDB14A928 IOCTL output buffer length is zero, 0xc0000023(STATUS_BUFFER_TOO_SMALL)
FX  - 199756: FxRequest::GetDeviceControlOutputMemoryObject - WDFREQUEST 0xFFFFFD6FDB11BD98 IOCTL output buffer length is zero, 0xc0000023(STATUS_BUFFER_TOO_SMALL)
FX  - 199903: FxRequest::GetDeviceControlOutputMemoryObject - WDFREQUEST 0xFFFFFD6FDB11BB88 IOCTL output buffer length is zero, 0xc0000023(STATUS_BUFFER_TOO_SMALL)
FX  - 219219: FxRequest::GetDeviceControlOutputMemoryObject - WDFREQUEST 0xFFFFFD6FDB11A538 IOCTL output buffer length is zero, 0xc0000023(STATUS_BUFFER_TOO_SMALL)
FX  - 219415: FxRequest::GetDeviceControlOutputMemoryObject - WDFREQUEST 0xFFFFFD6FDB11A538 IOCTL output buffer length is zero, 0xc0000023(STATUS_BUFFER_TOO_SMALL)
FX  - 219483: FxRequest::GetDeviceControlOutputMemoryObject - WDFREQUEST 0xFFFFFD6FDB11A538 IOCTL output buffer length is zero, 0xc0000023(STATUS_BUFFER_TOO_SMALL)
FX  - 219954: FxRequest::GetDeviceControlOutputMemoryObject - WDFREQUEST 0xFFFFFD6FDB14A508 IOCTL output buffer length is zero, 0xc0000023(STATUS_BUFFER_TOO_SMALL)
FX  - 220542: FxRequest::GetDeviceControlOutputMemoryObject - WDFREQUEST 0xFFFFFD6FDB14A928 IOCTL output buffer length is zero, 0xc0000023(STATUS_BUFFER_TOO_SMALL)
FX  - 233887: FxPkgPnp::Dispatch - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 IRP_MJ_POWER, 0x00000002(IRP_MN_SET_POWER) IRP 0x0000029024EE8870 for PowerSystemSleeping3 (S3)
FX  - 233888: FxPkgPnp::Dispatch - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 IRP_MJ_POWER, 0x00000002(IRP_MN_SET_POWER) IRP 0x0000029024EE8870 for PowerDeviceD3
FX  - 233889: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 entering Power State WdfDevStatePowerGotoDx from WdfDevStatePowerD0
FX  - 233890: FxSelfManagedIoMachine::ProcessEvent - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 entering self managed io state FxSelfManagedIoSuspending from FxSelfManagedIoStarted
FX  - 233917: FxSelfManagedIoMachine::ProcessEvent - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 entering self managed io state FxSelfManagedIoStopped from FxSelfManagedIoSuspending
FX  - 233918: FxPkgIo::StopProcessingForPower - Perform FxIoStopProcessingForPowerHold for all queues of WDFDEVICE 0xFFFFFD6FDB14B698
FX  - 233919: FxPkgPnp::NotPowerPolicyOwnerEnterNewState - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 entering not power policy owner state WdfDevStatePwrPolGotoDx from WdfDevStatePwrPolStartingSucceeded
FX  - 233920: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 entering Power State WdfDevStatePowerNotifyingD0ExitToWakeInterrupts from WdfDevStatePowerGotoDx
FX  - 233921: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 entering Power State WdfDevStatePowerGotoDxIoStopped from WdfDevStatePowerNotifyingD0ExitToWakeInterrupts
FX  - 233965: FxUsbPipe::GotoStopState - WDFUSBPIPE FFFFFD6FDB17F008 converting stop action WdfIoTargetCancelSentIo to WdfIoTargetCancelSentIo
FX  - 233966: FxUsbPipeContinuousReader::_FxUsbPipeRequestComplete - WDFUSBPIPE FFFFFD6FDB17F008 continuous reader 0000029024E8E588 FxRequest 0000029024ED1B30 PIRP 0000029024ED1ED0 canceled
FX  - 233967: FxUsbPipeContinuousReader::_FxUsbPipeRequestComplete - WDFUSBPIPE FFFFFD6FDB17F008 continuous reader 0000029024E8E550 FxRequest 0000029024ED1530 PIRP 0000029024ED18D0 canceled
FX  - 233989: FxPkgPnp::NotPowerPolicyOwnerEnterNewState - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 entering not power policy owner state WdfDevStatePwrPolDx from WdfDevStatePwrPolGotoDx
FX  - 233990: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 entering Power State WdfDevStatePowerDx from WdfDevStatePowerGotoDxIoStopped
FX  - 233991: FxPkgPnp::Dispatch - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 IRP_MJ_POWER, 0x00000002(IRP_MN_SET_POWER) IRP 0x0000029024ED3670 for PowerSystemWorking (S0)
FX  - 233992: FxPkgPnp::Dispatch - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 IRP_MJ_POWER, 0x00000002(IRP_MN_SET_POWER) IRP 0x0000029024ED3670 for PowerDeviceD0
FX  - 233993: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 entering Power State WdfDevStatePowerCheckDeviceType from WdfDevStatePowerDx
FX  - 233994: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 entering Power State WdfDevStatePowerWaking from WdfDevStatePowerCheckDeviceType
DRV - 234194: DMF_VirtualHidMini_InputReportGenerate -  [DMF_VirtualHidMini_InputReportGenerate] --> Entry
DRV - 234195: DMF_VirtualHidMini_InputReportGenerate -  [DMF_VirtualHidMini_InputReportGenerate] <-- Exit <ntStatus=0x8000001a(STATUS_NO_MORE_ENTRIES)>
DRV - 234196: DMF_VirtualHidMini_InputReportGenerate -  [DMF_VirtualHidMini_InputReportGenerate] --> Entry
DRV - 234197: DMF_VirtualHidMini_InputReportGenerate -  [DMF_VirtualHidMini_InputReportGenerate] <-- Exit <ntStatus=0x8000001a(STATUS_NO_MORE_ENTRIES)>
DRV - 234198: Ds_ProcessHidInputReport -  [Ds_ProcessHidInputReport] <--
DRV - 234199: DsUsb_EvtUsbInterruptPipeReadComplete -  [DsUsb_EvtUsbInterruptPipeReadComplete] <--
DRV - 234200: DMF_Internal_Close -  [DMF_Internal_Close] --> Entry <DmfModule=0xFFFFFD6FDB13AF08 [DsHidMini]
DRV - 234201: EVT_DMF_MODULE_Generic_OnDeviceNotificationPreClose -  [EVT_DMF_MODULE_Generic_OnDeviceNotificationPreClose] --> Entry <DmfModule=0xFFFFFD6FDB13AF08
DRV - 234202: EVT_DMF_MODULE_Generic_OnDeviceNotificationPreClose -  [EVT_DMF_MODULE_Generic_OnDeviceNotificationPreClose] <-- Exit <DmfModule=0xFFFFFD6FDB13AF08 ntStatus=STATUS_SUCCESS>
DRV - 234203: DMF_ModuleWaitForReferenceCountToClear -  [DMF_ModuleWaitForReferenceCountToClear] --> Entry <DmfModule=0xFFFFFD6FDB13AF08 [DsHidMini]
DRV - 234204: DMF_ModuleWaitForReferenceCountToClear -  [DMF_ModuleWaitForReferenceCountToClear]DmfModule=0xFFFFFD6FDB13AF08 [DsHidMini] Module rundown wait satisfied
DRV - 234205: DMF_ModuleWaitForReferenceCountToClear -  [DMF_ModuleWaitForReferenceCountToClear] <-- Exit <DmfModule=0xFFFFFD6FDB13AF08 [DsHidMini]>
DRV - 234206: DMF_DsHidMini_Close -  [DMF_DsHidMini_Close] --> Entry
DRV - 234207: DMF_DsHidMini_Close -  [DMF_DsHidMini_Close] <--
DRV - 234208: DMF_Portable_EventSet -  [DMF_Portable_EventSet] --> Entry
DRV - 234209: DMF_Portable_EventSet -  [DMF_Portable_EventSet] <-- Exit
DRV - 234210: DMF_Internal_Close -  [DMF_Internal_Close] <-- Exit <DmfModule=0xFFFFFD6FDB13AF08 [DsHidMini]>
DRV - 234211: DMF_ModuleCollectionCleanup -  [DMF_ModuleCollectionCleanup] <-- Exit <ModuleCollectionHandle=0x0000029024EC4850>
DRV - 234212: DMF_ModuleCollectionCleanup -  [DMF_ModuleCollectionCleanup] --> Entry <ModuleCollectionHandle=0x0000029024EC4850 ModuleOpenedDuring=4
DRV - 234213: DMF_ModuleCollectionCleanup -  [DMF_ModuleCollectionCleanup] <-- Exit <ModuleCollectionHandle=0x0000029024EC4850>
DRV - 234214: DMF_ModuleCollectionD0EntryCleanup -  [DMF_ModuleCollectionD0EntryCleanup] <-- Exit <DmfCollection=0xFFFFFD6FDB13B858>
DRV - 234215: DmfContainerEvtDeviceD0Entry -  [DmfContainerEvtDeviceD0Entry]DMF_ModuleCollectionD0Entry fails: ntStatus=0xc0000001(STATUS_UNSUCCESSFUL)
DRV - 234216: DmfContainerEvtDeviceD0Entry -  [DmfContainerEvtDeviceD0Entry] <-- Exit <ntStatus=0xc0000001(STATUS_UNSUCCESSFUL)>
FX  - 234217: FxPnpDeviceD0Entry::InvokeClient - EvtDeviceD0Entry WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0, old state WdfPowerDeviceD3 failed, 0xc0000001(STATUS_UNSUCCESSFUL)
FX  - 234218: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 entering Power State WdfDevStatePowerUpFailedDerefParent from WdfDevStatePowerWaking
FX  - 234219: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 entering Power State WdfDevStatePowerReportPowerUpFailedDerefParent from WdfDevStatePowerUpFailedDerefParent
FX  - 234220: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 entering Power State WdfDevStatePowerReportPowerUpFailed from WdfDevStatePowerReportPowerUpFailedDerefParent
FX  - 234221: FxPkgPnp::PnpEnterNewState - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 entering PnP State WdfDevStatePnpFailedIoStarting from WdfDevStatePnpStarted
FX  - 234222: FxPkgPnp::NotPowerPolicyOwnerEnterNewState - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 entering not power policy owner state WdfDevStatePwrPolStopping from WdfDevStatePwrPolDx
FX  - 234223: FxPkgPnp::NotPowerPolicyOwnerEnterNewState - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 entering not power policy owner state WdfDevStatePwrPolStoppingWaitingForImplicitPowerDown from WdfDevStatePwrPolStopping
FX  - 234224: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 entering Power State WdfDevStatePowerPowerFailedPowerDown from WdfDevStatePowerReportPowerUpFailed
FX  - 234225: FxPkgPnp::NotPowerPolicyOwnerEnterNewState - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 entering not power policy owner state WdfDevStatePwrPolStoppingSendStatus from WdfDevStatePwrPolStoppingWaitingForImplicitPowerDown
FX  - 234226: FxPkgPnp::PnpEnterNewState - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 entering PnP State WdfDevStatePnpFailedOwnHardware from WdfDevStatePnpFailedIoStarting
DRV - 234227: DmfContainerEvtDeviceReleaseHardware -  [DmfContainerEvtDeviceReleaseHardware] --> Entry
DRV - 234228: DMF_ModuleCollectionReleaseHardware -  [DMF_ModuleCollectionReleaseHardware] --> Entry <DmfCollection=0xFFFFFD6FDB13B858
DRV - 234229: DMF_Bridge_ModuleReleaseHardware -  [DMF_Bridge_ModuleReleaseHardware] --> Entry
DRV - 234230: Bridge_DefaultEvtDeviceReleaseHardware -  [Bridge_DefaultEvtDeviceReleaseHardware] --> Entry
DRV - 234231: Bridge_DefaultEvtDeviceReleaseHardware -  [Bridge_DefaultEvtDeviceReleaseHardware] <-- Exit <ntStatus=STATUS_SUCCESS>
DRV - 234232: DMF_Bridge_ModuleReleaseHardware -  [DMF_Bridge_ModuleReleaseHardware] <-- Exit <ntStatus=STATUS_SUCCESS>
DRV - 234233: DMF_Generic_ModuleReleaseHardware -  [DMF_Generic_ModuleReleaseHardware] --> Entry <DmfModule=0xFFFFFD6FDB13AF08 [DsHidMini]
DRV - 234234: DMF_Generic_ModuleReleaseHardware -  [DMF_Generic_ModuleReleaseHardware] <-- Exit <DmfModule=0xFFFFFD6FDB13AF08 [DsHidMini]>
DRV - 234235: DMF_Generic_ModuleReleaseHardware -  [DMF_Generic_ModuleReleaseHardware] --> Entry <DmfModule=0xFFFFFD6FDB1338C8 [VirtualHidMini]
DRV - 234236: DMF_Internal_Close -  [DMF_Internal_Close] --> Entry <DmfModule=0xFFFFFD6FDB1338C8 [VirtualHidMini]
DRV - 234237: EVT_DMF_MODULE_Generic_OnDeviceNotificationPreClose -  [EVT_DMF_MODULE_Generic_OnDeviceNotificationPreClose] --> Entry <DmfModule=0xFFFFFD6FDB1338C8
DRV - 234238: EVT_DMF_MODULE_Generic_OnDeviceNotificationPreClose -  [EVT_DMF_MODULE_Generic_OnDeviceNotificationPreClose] <-- Exit <DmfModule=0xFFFFFD6FDB1338C8 ntStatus=STATUS_SUCCESS>
DRV - 234239: DMF_ModuleWaitForReferenceCountToClear -  [DMF_ModuleWaitForReferenceCountToClear] --> Entry <DmfModule=0xFFFFFD6FDB1338C8 [VirtualHidMini]
DRV - 234240: DMF_ModuleWaitForReferenceCountToClear -  [DMF_ModuleWaitForReferenceCountToClear]DmfModule=0xFFFFFD6FDB1338C8 [VirtualHidMini] Module rundown wait satisfied
DRV - 234241: DMF_ModuleWaitForReferenceCountToClear -  [DMF_ModuleWaitForReferenceCountToClear] <-- Exit <DmfModule=0xFFFFFD6FDB1338C8 [VirtualHidMini]>
DRV - 234242: DMF_Generic_Close -  [DMF_Generic_Close] --> Entry <DmfModule=0xFFFFFD6FDB1338C8 [VirtualHidMini]
DRV - 234243: DMF_Generic_Close -  [DMF_Generic_Close] <-- Exit <DmfModule=0xFFFFFD6FDB1338C8 [VirtualHidMini] ntStatus=STATUS_SUCCESS>
DRV - 234244: DMF_Portable_EventSet -  [DMF_Portable_EventSet] --> Entry
DRV - 234245: DMF_Portable_EventSet -  [DMF_Portable_EventSet] <-- Exit
DRV - 234246: DMF_Internal_Close -  [DMF_Internal_Close] <-- Exit <DmfModule=0xFFFFFD6FDB1338C8 [VirtualHidMini]>
DRV - 234247: DMF_Generic_ModuleReleaseHardware -  [DMF_Generic_ModuleReleaseHardware] <-- Exit <DmfModule=0xFFFFFD6FDB1338C8 [VirtualHidMini]>
DRV - 234248: DMF_Generic_ModuleReleaseHardware -  [DMF_Generic_ModuleReleaseHardware] --> Entry <DmfModule=0xFFFFFD6FDB132F18 [HashTable]
DRV - 234249: DMF_Generic_ModuleReleaseHardware -  [DMF_Generic_ModuleReleaseHardware] <-- Exit <DmfModule=0xFFFFFD6FDB132F18 [HashTable]>
DRV - 234250: DMF_Generic_ModuleReleaseHardware -  [DMF_Generic_ModuleReleaseHardware] --> Entry <DmfModule=0xFFFFFD6FDB13B5C8 [ThreadedBufferQueue]
DRV - 234251: DMF_Generic_ModuleReleaseHardware -  [DMF_Generic_ModuleReleaseHardware] <-- Exit <DmfModule=0xFFFFFD6FDB13B5C8 [ThreadedBufferQueue]>
DRV - 234252: DMF_Generic_ModuleReleaseHardware -  [DMF_Generic_ModuleReleaseHardware] --> Entry <DmfModule=0xFFFFFD6FDB13A8D8 [BufferQueue]
DRV - 234253: DMF_Generic_ModuleReleaseHardware -  [DMF_Generic_ModuleReleaseHardware] <-- Exit <DmfModule=0xFFFFFD6FDB13A8D8 [BufferQueue]>
DRV - 234254: DMF_Generic_ModuleReleaseHardware -  [DMF_Generic_ModuleReleaseHardware] --> Entry <DmfModule=0xFFFFFD6FDB139BE8 [BufferPoolProducer]
DRV - 234255: DMF_Generic_ModuleReleaseHardware -  [DMF_Generic_ModuleReleaseHardware] <-- Exit <DmfModule=0xFFFFFD6FDB139BE8 [BufferPoolProducer]>
DRV - 234256: DMF_Generic_ModuleReleaseHardware -  [DMF_Generic_ModuleReleaseHardware] --> Entry <DmfModule=0xFFFFFD6FDB137518 [BufferPoolConsumer]
DRV - 234257: DMF_Generic_ModuleReleaseHardware -  [DMF_Generic_ModuleReleaseHardware] <-- Exit <DmfModule=0xFFFFFD6FDB137518 [BufferPoolConsumer]>
DRV - 234258: DMF_Generic_ModuleReleaseHardware -  [DMF_Generic_ModuleReleaseHardware] --> Entry <DmfModule=0xFFFFFD6FDB13A218 [Thread]
DRV - 234259: DMF_Generic_ModuleReleaseHardware -  [DMF_Generic_ModuleReleaseHardware] <-- Exit <DmfModule=0xFFFFFD6FDB13A218 [Thread]>
DRV - 234260: DMF_ModuleCollectionReleaseHardware -  [DMF_ModuleCollectionReleaseHardware] <-- Exit <DmfCollection=0xFFFFFD6FDB13B858 ntStatus=STATUS_SUCCESS>
DRV - 234261: DmfContainerEvtDeviceReleaseHardware -  [DmfContainerEvtDeviceReleaseHardware] <-- Exit <ntStatus=STATUS_SUCCESS>
FX  - 234262: FxPkgPnp::PnpEnterNewState - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 entering PnP State WdfDevStatePnpFailed from WdfDevStatePnpFailedOwnHardware
FX  - 234263: FxPkgIo::StopProcessingForPower - Perform FxIoStopProcessingForPowerPurgeManaged for all queues of WDFDEVICE 0xFFFFFD6FDB14B698
FX  - 234264: FxIoQueue::QueuePurge - Cancelling WDFREQUEST 0xFFFFFD6FDB1188C8, WDFQUEUE 0xFFFFFD6FDB13C1D8
FX  - 234265: FxIoQueue::QueuePurge - Cancelling WDFREQUEST 0xFFFFFD6FDB119CF8, WDFQUEUE 0xFFFFFD6FDB13C1D8
FX  - 234266: FxSelfManagedIoMachine::ProcessEvent - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 entering self managed io state FxSelfManagedIoFlushing from FxSelfManagedIoStopped
DRV - 234267: DmfContainerEvtDeviceSelfManagedIoFlush -  [DmfContainerEvtDeviceSelfManagedIoFlush] --> Entry
DRV - 234268: DMF_ModuleCollectionSelfManagedIoFlush -  [DMF_ModuleCollectionSelfManagedIoFlush] --> Entry <DmfCollection=0xFFFFFD6FDB13B858
DRV - 234269: DMF_ModuleCollectionDispatchVoid -  [DMF_ModuleCollectionDispatchVoid] --> Entry <ModuleCollectionHandle=0x0000029024EC4850
DRV - 234270: DMF_Generic_ModuleSelfManagedIoFlush -  [DMF_Generic_ModuleSelfManagedIoFlush] --> Entry <DmfModule=0xFFFFFD6FDB13B5C8 dmfObject=0x0000029024EC4AE0 [ThreadedBufferQueue]
DRV - 234271: DMF_Generic_ModuleSelfManagedIoFlush -  [DMF_Generic_ModuleSelfManagedIoFlush] <-- Exit <dmfObject=0x0000029024EC4AE0 [ThreadedBufferQueue] returnValue=0>
DRV - 234272: DMF_Generic_ModuleSelfManagedIoFlush -  [DMF_Generic_ModuleSelfManagedIoFlush] --> Entry <DmfModule=0xFFFFFD6FDB13A218 dmfObject=0x0000029024EC5E90 [Thread]
DRV - 234273: DMF_Generic_ModuleSelfManagedIoFlush -  [DMF_Generic_ModuleSelfManagedIoFlush] <-- Exit <dmfObject=0x0000029024EC5E90 [Thread] returnValue=0>
DRV - 234274: DMF_Generic_ModuleSelfManagedIoFlush -  [DMF_Generic_ModuleSelfManagedIoFlush] --> Entry <DmfModule=0xFFFFFD6FDB13A8D8 dmfObject=0x0000029024EC57D0 [BufferQueue]
DRV - 234275: DMF_Generic_ModuleSelfManagedIoFlush -  [DMF_Generic_ModuleSelfManagedIoFlush] <-- Exit <dmfObject=0x0000029024EC57D0 [BufferQueue] returnValue=0>
DRV - 234276: DMF_Generic_ModuleSelfManagedIoFlush -  [DMF_Generic_ModuleSelfManagedIoFlush] --> Entry <DmfModule=0xFFFFFD6FDB137518 dmfObject=0x0000029024EC8B90 [BufferPoolConsumer]
DRV - 234277: DMF_Generic_ModuleSelfManagedIoFlush -  [DMF_Generic_ModuleSelfManagedIoFlush] <-- Exit <dmfObject=0x0000029024EC8B90 [BufferPoolConsumer] returnValue=0>
DRV - 234278: DMF_Generic_ModuleSelfManagedIoFlush -  [DMF_Generic_ModuleSelfManagedIoFlush] --> Entry <DmfModule=0xFFFFFD6FDB139BE8 dmfObject=0x0000029024EC64C0 [BufferPoolProducer]
DRV - 234279: DMF_Generic_ModuleSelfManagedIoFlush -  [DMF_Generic_ModuleSelfManagedIoFlush] <-- Exit <dmfObject=0x0000029024EC64C0 [BufferPoolProducer] returnValue=0>
DRV - 234280: DMF_Generic_ModuleSelfManagedIoFlush -  [DMF_Generic_ModuleSelfManagedIoFlush] --> Entry <DmfModule=0xFFFFFD6FDB13AF08 dmfObject=0x0000029024EC51A0 [DsHidMini]
DRV - 234281: DMF_Generic_ModuleSelfManagedIoFlush -  [DMF_Generic_ModuleSelfManagedIoFlush] <-- Exit <dmfObject=0x0000029024EC51A0 [DsHidMini] returnValue=0>
DRV - 234282: DMF_Generic_ModuleSelfManagedIoFlush -  [DMF_Generic_ModuleSelfManagedIoFlush] --> Entry <DmfModule=0xFFFFFD6FDB132F18 dmfObject=0x0000029024ECD190 [HashTable]
DRV - 234283: DMF_Generic_ModuleSelfManagedIoFlush -  [DMF_Generic_ModuleSelfManagedIoFlush] <-- Exit <dmfObject=0x0000029024ECD190 [HashTable] returnValue=0>
DRV - 234284: DMF_Generic_ModuleSelfManagedIoFlush -  [DMF_Generic_ModuleSelfManagedIoFlush] --> Entry <DmfModule=0xFFFFFD6FDB1338C8 dmfObject=0x0000029024ECC7E0 [VirtualHidMini]
DRV - 234285: DMF_Generic_ModuleSelfManagedIoFlush -  [DMF_Generic_ModuleSelfManagedIoFlush] <-- Exit <dmfObject=0x0000029024ECC7E0 [VirtualHidMini] returnValue=0>
DRV - 234286: DMF_Bridge_ModuleSelfManagedIoFlush -  [DMF_Bridge_ModuleSelfManagedIoFlush] --> Entry
DRV - 234287: Bridge_DefaultEvtDeviceSelfManagedIoFlush -  [Bridge_DefaultEvtDeviceSelfManagedIoFlush] --> Entry
DRV - 234288: Bridge_DefaultEvtDeviceSelfManagedIoFlush -  [Bridge_DefaultEvtDeviceSelfManagedIoFlush] <-- Exit
DRV - 234289: DMF_Bridge_ModuleSelfManagedIoFlush -  [DMF_Bridge_ModuleSelfManagedIoFlush] <-- Exit
DRV - 234290: DMF_ModuleCollectionDispatchVoid -  [DMF_ModuleCollectionDispatchVoid] <-- Exit <ModuleCollectionHandle=0x0000029024EC4850>
DRV - 234291: DMF_ModuleCollectionSelfManagedIoFlush -  [DMF_ModuleCollectionSelfManagedIoFlush] <-- Exit <DmfCollection=0xFFFFFD6FDB13B858>
DRV - 234292: DmfContainerEvtDeviceSelfManagedIoFlush -  [DmfContainerEvtDeviceSelfManagedIoFlush] <-- Exit
FX  - 234293: FxSelfManagedIoMachine::ProcessEvent - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 entering self managed io state FxSelfManagedIoFlushed from FxSelfManagedIoFlushing
FX  - 234294: FxPkgPnp::NotPowerPolicyOwnerEnterNewState - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 entering not power policy owner state WdfDevStatePwrPolStopped from WdfDevStatePwrPolStoppingSendStatus
FX  - 234295: FxPkgPnp::NotPowerPolicyOwnerEnterNewState - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 entering not power policy owner state WdfDevStatePwrPolRemoved from WdfDevStatePwrPolStopped
FX  - 234296: FxPkgPnp::PnpEnterNewState - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 entering PnP State WdfDevStatePnpFailedPowerPolicyRemoved from WdfDevStatePnpFailed
FX  - 234297: FxPkgPnp::PnpEnterNewState - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 entering PnP State WdfDevStatePnpFailedWaitForRemove from WdfDevStatePnpFailedPowerPolicyRemoved
FX  - 234298: FxPkgPnp::PowerEnterNewState - WDFDEVICE 0xFFFFFD6FDB14B698 !devobj 0x0000029024EBB2E0 entering Power State WdfDevStatePowerStopped from WdfDevStatePowerPowerFailedPowerDown
DRV - 234299: DsUsb_EvtUsbInterruptPipeReadComplete -  [DsUsb_EvtUsbInterruptPipeReadComplete] --> Entry
DRV - 234300: DumpAsHex -  [DumpAsHex]>> USB - Buffer length: 0049, buffer content: 0100000000007E807E7E00000000000000000000000000000000000000030516FFB30007330077004001EF01E701930005
DRV - 234301: Ds_ProcessHidInputReport -  [Ds_ProcessHidInputReport] --> Entry
DRV - 234302: DMF_VirtualHidMini_InputReportGenerate -  [DMF_VirtualHidMini_InputReportGenerate] --> Entry
---- end of merged log ----
32 error events encountered in logs
nefarius commented 5 months ago

So looks like that after power-up we successfully start to receive and process HID input reports again, however we hit an invalid state of the VirtualHid DMF module:

1: kd> kc
 # Call Site
00 KERNELBASE!wil::details::DebugBreak
01 dshidmini!DMF_HandleValidate_IsOpened
02 dshidmini!DMF_HandleValidate_ModuleMethod
03 dshidmini!DMF_VirtualHidMini_InputReportGenerate
04 dshidmini!Ds_ProcessHidInputReport
05 dshidmini!DsUsb_EvtUsbInterruptPipeReadComplete
06 WUDFx02000!FxUsbPipeContinuousReader::_FxUsbPipeRequestComplete
07 WUDFx02000!FxRequestBase::CompleteSubmitted
08 WUDFx02000!FxIoTarget::CompleteRequest
09 WUDFx02000!FxIoTarget::RequestCompletionRoutine
0a WUDFx02000!FxIoTarget::_RequestCompletionRoutine
0b WUDFHost!CWudfIoStack::OnCompletion
0c WUDFHost!CWudfIrp::CompleteRequest
0d WUDFHost!CWudfIrpT<CWudfIoIrp,IWudfIoIrp2,_WUDFMESSAGE_IO_HEADER *,_WUDFMESSAGE_REPLY_HEADER *>::CompleteRequest
0e WUDFHost!CWudfIoDispatcher::_CompleteIrp
0f WUDFHost!CWudfIoDispatcher::_TryCompleteIrp
10 WUDFHost!CWudfIoDispatcher::_IoCompletedWorker
11 WUDFHost!CWudfIoDispatcher::IoCompletionRoutine
12 ntdll!RtlpTpIoCallback
13 ntdll!TppWorkerThread
14 KERNEL32!BaseThreadInitThunk
15 ntdll!RtlUserThreadStart

VOID
DMF_HandleValidate_IsOpened(
    _In_ DMF_OBJECT* DmfObject
    )
/*++

Routine Description:

    Verifies that a DMF_OBJECT Module State is Opened.

    NOTE: This call is only meant for debug purposes.

Arguments:

    DmfObject - The DMF Object to validate.

Return Value:

    None. Failure causes an assert to trigger.

--*/
{
    UNREFERENCED_PARAMETER(DmfObject);

    DmfAssert(DmfObject != NULL);
    DmfAssert(DMF_OBJECT_SIGNATURE == DmfObject->Signature);
    DmfAssert(ModuleState_Opened == DmfObject->ModuleState);
}

image