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

use auto-attach without check the device existence #1077

Open
BrokenClient opened this issue Nov 30, 2024 · 2 comments
Open

use auto-attach without check the device existence #1077

BrokenClient opened this issue Nov 30, 2024 · 2 comments
Labels
enhancement New feature or request WSL Applies to WSL only

Comments

@BrokenClient
Copy link

Hi, I am developing an embedded system with MCU. Thank you for the excellent project that I can use the debug probe conveniently.

Is there any way to use auto-attach without checking the device existence? When I plug in a probe and run usbipd attach -wsl -a -b 1-1, it works, and I can unplug it and use another probe. However, it causes an error when the command is executed without a device plugged in. I am going to add this command to Windows Startup so that I can use the PC USB port as a "Linux USB port" if the command would not report error and exit. So is there any way to do that?

@rfk-magventure
Copy link

I have the same question/issue!

@dorssel
Copy link
Owner

dorssel commented Dec 27, 2024

So is there any way to do that?

Not yet, with the current script. But this sounds like a nice generic feature. I will include it somewhere in the Near Future(tm).

@dorssel dorssel added enhancement New feature or request WSL Applies to WSL only labels Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request WSL Applies to WSL only
Projects
None yet
Development

No branches or pull requests

3 participants