Commit graph

7 commits

Author SHA1 Message Date
Dmitry Fleytman
1217ff2739 HiderStrategy: Re-use serial numbers of UsbDk devices
See log message of previous commit for rationale.

Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2017-02-19 14:10:30 +02:00
Dmitry Fleytman
6f383cb2b9 HiderStrategy: Do not allow hidden device removal right after creation
See commit diff for explanation.

Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2017-02-19 13:52:51 +02:00
Dmitry Fleytman
2f54f6e20f HiderStrategy: Add printout for device ID patcher
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2017-02-15 16:03:43 +02:00
Dmitry Fleytman
e68f982ff7 RedirectorStrategy: Override device description for redirected devices.
There are two reasons for that:

1. There are devices that do not provide device description:
   In this case, for normal devices, Windows gets description from INF file.
   Since there is no INF file for UsbDk devices, Windows may fail
   to initialize the device (depending on implementation of bus driver).

2. With this patch redirected devices show up in device manager as
   "UsbDk device" which is better then "Unknown Device" or
   "Mass Storage Device" etc.

Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2016-07-04 11:29:29 +03:00
Dmitry Fleytman
8c7edd9997 FilterDevice: Extend IRP post processing logic
This patch adds support for IRP post processing
on failure and in all cases.

New logic will be used by following commits to
implement device text patching.

Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2016-07-04 11:29:27 +03:00
Dmitry Fleytman
e0c43569d3 Trace: Add separate trace group for Hider strategy
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2016-07-04 11:29:27 +03:00
Dmitry Fleytman
c80effc7dd UsbDk: Introduce hider strategy class
This class will be used by following patches to
implement hiding via patching device IDs.

See commit messages of corresponfing patches
for rationale.

Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2016-06-29 17:31:55 +03:00