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

USB devices serial numbers in the 'list' option. #896

Open
namki007 opened this issue Mar 18, 2024 · 1 comment
Open

USB devices serial numbers in the 'list' option. #896

namki007 opened this issue Mar 18, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@namki007
Copy link

I have several FTDI cables that I am working on and I need to connect and disconnect them on a regular basis. The way I distinguish them is by assigning every one a different Serial number [You can do that using FTDI utility]. I would like the usbipd utility to list the serial numbers of the devices [can be an additional command line option] so that I can easily see which of the devices I have to connect or disconnect.

@dorssel dorssel added the enhancement New feature or request label Mar 18, 2024
@dorssel
Copy link
Owner

dorssel commented Mar 23, 2024

Turns out this is not as trivial as I thought...

Devices in low power state (i.e., most devices that are currently unused) do not expose their serial number until powered.

There may be a workaround. It looks like Windows assigns the device Instance ID based on the serial number.
Can you post the output of usbipd state? For example, I have a device that has serial number "A50285BI", and it has InstanceID USB\\VID_0403&PID_6001\\A50285BI. That last part is the same as the serial number and it is available even in low power mode (and even when the device is currently not connected).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants