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

Vendor names displayed by operating systems #47

Open
sol opened this issue Aug 28, 2022 · 3 comments
Open

Vendor names displayed by operating systems #47

sol opened this issue Aug 28, 2022 · 3 comments

Comments

@sol
Copy link
Contributor

sol commented Aug 28, 2022

Hey there 👋

I noticed that lsusb under Linux will indiscriminately show OpenMoko, Inc. (instead of say the manufacturer reported by the USB device) if you use 0x1d50 as VID .

Alternatives:

  • If you use the VID from pid.codes then lsusb will show Generic.
  • If you use an unassigned VID then lsusb will show the manufacturer as reported by the USB device.

Behavior of other systems:

  • Other places on Linux seem to show the manufacturer as reported by the USB device.
  • Windows (tested via a VM) seems to only show the product name as reported by the device and omit vendor/manufacture entirely.

Questions:

@pabs3
Copy link
Member

pabs3 commented Aug 29, 2022 via email

@laf0rge
Copy link
Contributor

laf0rge commented Aug 29, 2022

It never occurred to me that this could be considered an "issue" or a "bug". This has been how lsusb / usb-utils has always operated... use usb.ids for non-verbose and use the string descriptor for verbose output.

Keep in mind that sharing a USB Vendor ID for a variety of projects (OSHW or otherwise) is not how USB vendor IDs were originally anticipated to be used. I'm not sure if such a niche, non-standard use case would warrant a change in the related tools.

After all, this is just a minor cosmetic inconsistency. The Kernel log prints the string descriptor of the firmware/device, as do the libusb APIs to query the device itself.

@laf0rge
Copy link
Contributor

laf0rge commented Oct 11, 2022 via email

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