Search code examples
usbuefi

Looking up model name based on either VID/PID or device ID


I am using a database of monitors that contains either of the following pieces of information for each monitor, either (a) 4-character vendor ID and product ID, or (b) a 7-character device/hardware ID. I would like to use this info to obtain the monitor model name. I already know how to find the monitor manufacturer name (this list for (a) and this list for (b)), but I haven't found a lookup table or method that will give me the model name, such as E2318H for a Dell E2318H monitor, from the product ID or hardware ID. I do not have access to the actual monitors so can't connect them to a machine and query the model name. Is there another way to look up the human-readable model name from the vendor ID or hardware ID?


Solution

  • I don't know if I understood your question right. But if you are implementing from an UEFI application/driver point of view and is trying to get this information from a specific device on your target platform, you can retrieve a human-readable Product string and Manufacturer string using the EFI_USB_IO_PROTOCOL (defined by the UEFI spec) to get an USB_DEVICE_DESCRIPTOR struct from the device. You would need to parse this struct as defined by the USB standard specification. Hope this can be helpful.