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

Can you tell me the implementation mechanism of USB pop-up U disk? #1080

Open
wdfk-prog opened this issue Aug 20, 2024 · 0 comments
Open

Can you tell me the implementation mechanism of USB pop-up U disk? #1080

wdfk-prog opened this issue Aug 20, 2024 · 0 comments

Comments

@wdfk-prog
Copy link

Can you tell me the implementation mechanism of USB pop-up U disk?

  • I have achieved the U disk pop-up function;But I am a composite device, with a virtual serial port +U disk function
  • The USB flash drive eject scheme I implemented is to uninstall and enumerate a new CDC descriptor after detecting the eject event sent by the PC.Doing so the virtual serial port will change and no longer be the same
  • I think another way is to eject the USB flash drive, do not uninstall the device, but re-enumerate the original descriptor, but the end point of the USB flash drive is not registered

I found that DAP-LINK also implemented CDC+MSC device implementation, and the virtual serial port was not affected when the execution U disk popped up;Can you tell me how you did it?No corresponding logic found in the code

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

1 participant