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

rusty-probe enumerates two USB devices #20

Open
igiona opened this issue Sep 9, 2024 · 6 comments
Open

rusty-probe enumerates two USB devices #20

igiona opened this issue Sep 9, 2024 · 6 comments

Comments

@igiona
Copy link

igiona commented Sep 9, 2024

At least on windows (I did not test other OSs yet), the rusty-probe enumerates as two devices with the same serial number.
For this reason, probe-rs requires additional parameters --probe 1209:4853 even though I actually have only one probe connected.
When developing and working via command-line it's quite annoying.

Is there a way to avoid this double-enumeration?
Why it's there in the first place? I don't see for me a way to select "the other" probe, since PID and VID are the same...

@Yatekii
Copy link
Member

Yatekii commented Sep 9, 2024

cc @korken89

@igiona
Copy link
Author

igiona commented Sep 9, 2024

Additional information, this is the output of probe-rs list :

$ probe-rs list
The following debug probes were found:
[0]: Rusty Probe with CMSIS-DAP v1/v2 Support (VID: 1209, PID: 4853, Serial: DC645020138A1122EF4014, CmsisDap)
[1]: HS-Probe CMSIS-DAP v1 Interface (VID: 1209, PID: 4853, Serial: dc645020138a1122ef4014, CmsisDap)

@jannic
Copy link

jannic commented Oct 1, 2024

A similar thing has been mentioned on matrix a while ago: https://matrix.to/#/!vhKMWjizPZBgKeknOo:matrix.org/$9MlglhlFheOzD1NGEnnf1jRZrPQokowR8M-SNUTeMJY?via=matrix.org&via=chat.berline.rs&via=tchncs.de

Dirbaio diagnosed it as probably caused by kevinmehall/nusb#22

@korken89
Copy link
Collaborator

korken89 commented Oct 4, 2024

That's odd, how do you get this to happen? I was not able to reproduce on any of my computers, but it seems like two interfaces have different descriptions.
I'll look into it during my update of the HAL.

@igiona
Copy link
Author

igiona commented Oct 6, 2024

That's odd, how do you get this to happen? I was not able to reproduce on any of my computers, but it seems like two interfaces have different descriptions.
I'll look into it during my update of the HAL.

Nothing special to be honest.
I'm using a USB HUB, hard to believe but maybe it's because of that?
My PC has WSL enabled, maybe the USB drivers get messed up?
I'll try on other machines as well and let you know.

@korken89
Copy link
Collaborator

korken89 commented Oct 6, 2024

Ah sorry, I did not know you ran on Windows.
I'll dig up a Windows computer to test on :)

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

4 participants