resetusb icon indicating copy to clipboard operation
resetusb copied to clipboard

Request for clarification

Open TangoOversway opened this issue 1 year ago • 3 comments

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!

TangoOversway avatar Jul 04 '24 16:07 TangoOversway

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.

mcarans avatar Jul 04 '24 22:07 mcarans

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?

TangoOversway avatar Jul 05 '24 04:07 TangoOversway

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

mcarans avatar Jul 05 '24 04:07 mcarans