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

changing manufacturer in the UsbDeviceBuilder #700

Closed
charleselie opened this issue Oct 16, 2023 · 3 comments
Closed

changing manufacturer in the UsbDeviceBuilder #700

charleselie opened this issue Oct 16, 2023 · 3 comments

Comments

@charleselie
Copy link

Hello,

I am building an app based on rust with a GUI in slint.
This app create dialog with a feather board (or equivalent).

I can't see the change of manufacturer with feather M4 and itsy bitsy on my app on my computer.

I've used serialPort for my app on my computer, and the UsbDeviceBuilder on my feather.
The manufacturer info is still showing "Microsoft", but the serial number is changing depending on the value I use on the feather.

is this normal ?

@sajattack
Copy link
Member

It sounds like maybe it's using the microsoft usb-serial driver and showing that? But I'm only speculating

@charleselie
Copy link
Author

It seems to be a problem based on the Serialport library, that doesn't get the correct information.

@ianrrees
Copy link
Contributor

If there's an issue with the way the manufacturer information is supplied over USB, it will probably be in either usbd-serial or usb-device which are used by our example code. However, then it's up to the host computer to use the manufacturer info appropriately, and it sounds like in this case the Microsoft driver or the higher-level application might not be doing what is desired.

@charleselie - have you figured out the problem? If not, I'm happy to help diagnose as I'm a bit involved in usb-device, but you'll probably need to help with a minimal reproduction and doing some testing since I don't have a real Windows computer.

@ianrrees ianrrees closed this as not planned Won't fix, can't repro, duplicate, stale Nov 23, 2023
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

3 participants