Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On device restart from UsbDeviceTreeView Hidden USB mass storage device are fully accessible #114

Open
Sauron-S opened this issue Aug 30, 2022 · 1 comment
Assignees

Comments

@Sauron-S
Copy link

Sauron-S commented Aug 30, 2022

Steps to Repro:

  1. Add rule to hide device
  2. Plugin device matching to the rule.
  3. Using usb device tree viewer from link https://www.uwe-sieber.de/usbtreeview_e.html
  4. Hidden device will show up with name "RedHat Usbdk device". 'Restart device' through right click menu option.
    Hidden device will be fully accessible
@Sauron-S
Copy link
Author

Sauron-S commented Sep 2, 2022

Issue can be reproduced using devcon tool with following steps:

  1. First you can use: devcon Find USB* mostly the hidden device ID will be suffixed with USbdk
  2. use enable/disable option or restart option of devcon . Hidden device will become fully accessible

For me Setting rawDeviceOk = 0 in device capabilities resolved the issue

irpStack->Parameters.DeviceCapabilities.Capabilities->RawDeviceOK = 1;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants