USBDK/UsbDk
Yuri Benditovich 3d2e5a6272 driver: bring device to D0 before redirection
Device redirection often fails when the device is in D3/D2 when
we start redirecting it. Current commit brings the device to
D0 before sending 'cycle power' command to the device port if
the device is in low power mode at the moment of starting
redirection.

Signed-off-by: Yuri Benditovich <yuri.benditovich@daynix.com>
2020-01-27 19:49:45 +02:00
..
Alloc.h Alloc: Make non-paged allocation from Nx pool on Win8 and later 2017-04-02 17:24:35 +03:00
ControlDevice.cpp driver: bring device to D0 before redirection 2020-01-27 19:49:45 +02:00
ControlDevice.h driver: bring device to D0 before redirection 2020-01-27 19:49:45 +02:00
DeviceAccess.cpp driver: bring device to D0 before redirection 2020-01-27 19:49:45 +02:00
DeviceAccess.h driver: bring device to D0 before redirection 2020-01-27 19:49:45 +02:00
Driver.cpp FilterDevice: Protect filter objects from deletion while in use 2015-11-24 12:32:33 +02:00
Driver.h UsbDk: place all system includes into stdafx.h 2014-06-09 11:50:26 +03:00
FilterDevice.cpp driver: fix driver verifier assertion in FileCreate callback 2020-01-27 19:49:45 +02:00
FilterDevice.h driver: add file open callback for tracing 2020-01-02 21:47:41 +02:00
FilterStrategy.cpp FilterStrategy: Simplify requests forwarding code 2015-12-24 12:04:07 +02:00
FilterStrategy.h FilterStrategy: Introduce helper function for IRP completion 2017-02-19 11:14:32 +02:00
HiderDevice.cpp UsbDk: Drop uneeded dynamic memory allocations 2015-11-24 12:32:35 +02:00
HiderDevice.h Alloc: Make non-paged allocation from Nx pool on Win8 and later 2017-04-02 17:24:35 +03:00
HiderStrategy.cpp HiderStrategy: Re-use serial numbers of UsbDk devices 2017-02-19 14:10:30 +02:00
HiderStrategy.h HiderStrategy: Re-use serial numbers of UsbDk devices 2017-02-19 14:10:30 +02:00
HideRulesRegPublic.h implement read/write/compare operations for extended rules 2019-04-15 11:19:13 +03:00
Irp.cpp ControlIrp: Clear event state prior to sending IRP 2017-02-08 13:00:16 +02:00
Irp.h Alloc: Make non-paged allocation from Nx pool on Win8 and later 2017-04-02 17:24:35 +03:00
LICENSE UsbDk: Add license-related files and headers 2014-05-20 11:56:20 +03:00
MemoryBuffer.cpp UsbDk: simplify CRegText and make it more robust 2014-09-11 10:48:19 +03:00
MemoryBuffer.h Alloc: Make non-paged allocation from Nx pool on Win8 and later 2017-04-02 17:24:35 +03:00
Public.h UsbDk: Perform ReadPipe/WritePipe via IOCTLs 2015-10-28 09:11:41 +02:00
RedirectorStrategy.cpp driver: add log on filter file close 2020-01-02 21:47:41 +02:00
RedirectorStrategy.h UsbDk: Introduce hider strategy class 2016-06-29 17:31:55 +03:00
Registry.cpp CRegKey: Introduce class for reading registry keys 2015-03-10 19:10:21 +02:00
Registry.h CRegKey: Introduce class for reading registry keys 2015-03-10 19:10:21 +02:00
RegText.cpp UsbDk: Use case sensitive comparison 2017-03-14 12:40:26 +02:00
RegText.h Alloc: Make non-paged allocation from Nx pool on Win8 and later 2017-04-02 17:24:35 +03:00
Resource.rc Build: Add version information into binaries 2014-08-12 11:29:47 +03:00
stdafx.cpp UsbDk: Use precompiled headers to speed-up compilation 2015-12-01 11:08:15 +02:00
stdafx.h driver: add procedure for getting power data by PDO 2020-01-27 19:49:45 +02:00
Trace.h Trace: Add separate trace group for Hider strategy 2016-07-04 11:29:27 +03:00
Urb.cpp Populate initial packet length in ISOCH OUT URB 2019-01-29 11:10:55 +02:00
Urb.h UsbDk: Introduce class for isochronous URB 2014-08-04 17:45:34 +03:00
UsbDk.vcxproj Update project files for build with higher WDK installed 2019-01-27 11:57:49 +02:00
UsbDk.vcxproj.filters UsbDk: Introduce hider strategy class 2016-06-29 17:31:55 +03:00
UsbDk.vcxproj.user Build: Introduce debug configurations without test signing 2017-04-06 13:24:06 +03:00
UsbDkCompat.cpp Build: Migrate to VS 2015 and add Win10 configurations 2017-04-03 15:06:47 +03:00
UsbDkCompat.h Build: Migrate to VS 2015 and add Win10 configurations 2017-04-03 15:06:47 +03:00
UsbDkData.h UsbDk: Propagate USBD errors to user mode clients 2015-11-24 13:04:17 +02:00
UsbDkDataHider.h Preparation for extended rules for device hide 2019-04-15 11:19:13 +03:00
UsbDkDataHiderPublic.h Preparation for extended rules for device hide 2019-04-15 11:19:13 +03:00
UsbDkNames.h Hider: Introduce header file with registry layout 2015-03-23 13:24:07 +02:00
UsbDkUtil.cpp Alloc: Make non-paged allocation from Nx pool on Win8 and later 2017-04-02 17:24:35 +03:00
UsbDkUtil.h driver: extend ModifyOne template 2020-01-02 21:47:41 +02:00
UsbTarget.cpp UsbTarget: Trivial: Remove m_ prefix from stack variables names 2016-03-09 11:03:26 +02:00
UsbTarget.h Alloc: Make non-paged allocation from Nx pool on Win8 and later 2017-04-02 17:24:35 +03:00
WdfDevice.cpp Use lower device for queries during initialization 2017-07-12 16:58:03 +03:00
WdfDevice.h Use lower device for queries during initialization 2017-07-12 16:58:03 +03:00
WdfRequest.cpp WdfRequest: Handle buffer-less requests properly 2015-11-24 12:30:58 +02:00
WdfRequest.h WdfRequest: Introduce generic request context 2016-02-10 10:56:22 +02:00
WdfWorkitem.cpp UsbDk: place all system includes into stdafx.h 2014-06-09 11:50:26 +03:00
WdfWorkitem.h Alloc: Make non-paged allocation from Nx pool on Win8 and later 2017-04-02 17:24:35 +03:00