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

Request for clarification #3

Open
TangoOversway opened this issue Jul 4, 2024 · 3 comments
Open

Request for clarification #3

TangoOversway opened this issue Jul 4, 2024 · 3 comments

Comments

@TangoOversway
Copy link

Not a bug or issue, but I'd like to get a better understanding of this. Do search terms in this work at al like udev rules? Or do I just search for a string and then it returns a device path? And if I use search, can I have it create a device path for the first device it finds that matches the search?

I know this is being picky, but an actual example or two would help a lot!

@mcarans
Copy link
Owner

mcarans commented Jul 4, 2024

If you use the listpci or list command line parameter, under "search string" you will see the string that will be searched for whatever substring you give.

@TangoOversway
Copy link
Author

Thank you.

So it provides a list of what matches the search string? I take it we also can't add a path for it to reset the device to, or can we?

@mcarans
Copy link
Owner

mcarans commented Jul 5, 2024

If you want to use path, you can use the path or pathpci command line parameters. You can see all the possible command line parameters using python reset_usb.py help

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