Currently, in some cases, attempting to start the driver can fail and cause Usb devices to become non functional. An example of such case is attemteting to install an unsigned version of UsbDk on Windows where the driver signature enforcement is enabled. The reason why this happens is not making sure the driver can start on the system prior to attaching it to all of the devices. This patch solves this issue by checking that the driver can start on the system prior to step 2 in the list below. UsbDk's installation process: 1) Create and register UsbDk's service 2) Add UsbDk to the registry 3) Reset all Usb host conrollers on the system 4) PNP manager attaches and starts the driver for each Usb device's stack Signed-off-by: Sameeh Jubran <sameeh@daynix.com> Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com> |
||
|---|---|---|
| .. | ||
| LICENSE | ||
| Resource.rc | ||
| stdafx.cpp | ||
| stdafx.h | ||
| targetver.h | ||
| UsbDkInstHelper.cpp | ||
| UsbDkInstHelper.vcxproj | ||
| UsbDkInstHelper.vcxproj.filters | ||