Giter VIP home page Giter VIP logo

Comments (11)

dmitryfleytman avatar dmitryfleytman commented on August 17, 2024

@xuyongjian, for some reason, I cannot parse your log. My pdb just does not fit.
What is your UsbDk version and Windows version?

UsbDkTrace-unhide.etl.zip

from usbdk.

xuyongjian avatar xuyongjian commented on August 17, 2024

New log (win7-32bit, usbdk-1.0.16) sent. Check you email.
Thanks!

from usbdk.

dmitryfleytman avatar dmitryfleytman commented on August 17, 2024

Parsed log is here.

From the log I see that device was reset for a few times. Could you provide exact steps to reproduce the problem?

Could you also collect UsbView dumps for cases when device is hidden as expected and when UsbDK has failed to hide the device?

from usbdk.

xuyongjian avatar xuyongjian commented on August 17, 2024

Steps to reproduce:

  1. Find a new PC that has never installed usbdk before
  2. UsbDkController.exe -i
  3. UsbDkController.exe -P 781 -1 -1 -1 1
  4. Insert device(vid=0x0781) and it is loaded successfully(unhide).
  5. Reboot the system and device still un-hidden.
  6. Uninstall and reinstall the UsbDk, then add the rule, and re-plug the device. The device hides successfully.
    Usbdk/usbview log has been sent to you mail.

from usbdk.

dmitryfleytman avatar dmitryfleytman commented on August 17, 2024

Parsed logs:

UsbDkTrace-hide.txt
UsbDkTrace-unhide.txt

from usbdk.

dmitryfleytman avatar dmitryfleytman commented on August 17, 2024

So far the log looks totally fine, not sure what is the problem. Trying to reproduce the issue locally...

Are you installing UsbDk from the official MSI?
Why do you need to run "UsbDkController.exe -i"?

from usbdk.

dmitryfleytman avatar dmitryfleytman commented on August 17, 2024

It looks like I found a simple scenario that reproduces the problem on WIn7 x64:

  • Install UsbDk
  • Set hide rule for a device
  • Disable and re-enable root hub corresponding to that device
  • == Device becomes hidden at this stage ==
  • Repeat root hub disable-enable cycle for a few times
  • == Device becomes visible after 3-4 iterations ==

from usbdk.

xuyongjian avatar xuyongjian commented on August 17, 2024

I once installed UsbDk from the official MSI. Then I saved the "UsbDk Runtime Library" folder so that I could install it from command line the next time, which I thought faster than MSI.

from usbdk.

dmitryfleytman avatar dmitryfleytman commented on August 17, 2024

Hi, @xuyongjian ,

I think I fixed the problem you observe, could you please get this build and see if it works for you?

You'll need to enable test signing on your machine and uninstall any other UsbDk MSI packages before installing this one.

Thanks,
Dmitry

from usbdk.

xuyongjian avatar xuyongjian commented on August 17, 2024

Hi @dmitryfleytman
I tested the build on win7-32bit and win10-32bit for a few times, and glad to see that the problem solved!
Thanks very much!

from usbdk.

dmitryfleytman avatar dmitryfleytman commented on August 17, 2024

Fixed by 6f383cb

from usbdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.