![]() ![]() ![]() The device class code, subclass code, and protocol code are determined by the bDeviceClass, bDeviceSubClass, and bDeviceProtocol fields of the device descriptor, respectively. These are 4-digit hexadecimal numbers.Īn INF model section can also specify the following hardware ID:Ĭ(2) is the device class code taken from the device descriptor. The hub driver extracts the vendor and product codes from the idVendor, idProduct, and bcdDevice fields of the device descriptor, respectively. ![]() V(4) is the vendor code that the USB committee assigns to the vendor.ĭ(4) is the product code that the vendor assigns to the device. When a new USB device is plugged in, the system-supplied USB hub driver composes the following device ID by using information extracted from the device's device descriptor: The set of identifiers generated for USB devices depends on whether the device is a single-interface device or a multiple-interface device. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |