You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,all:
My usb device has three ports on PC:
USB\VID_2C91&PID_0002&MI_06\6&3911747D&1&0006
USB\VID_2C91&PID_0002&MI_02\6&3911747D&1&0002
USB\VID_2C91&PID_0002&MI_04\6&3911747D&1&0004
also, it has three ports on my phone,but i can only get port num (0,1,2) in the port list, which comes from these codes:
" text1.setText(item.driver.getClass().getSimpleName().replace("SerialDriver","")+", Port "+item.port);"
I know how to get VID&PID, but i don't kown how to get MI ?
I need to obtain MI information and distinguish these ports
The text was updated successfully, but these errors were encountered:
There is some information about multiple interfaces on this website:
Multiple-Interface USB Devices
Devices with multiple interfaces are called composite devices. Starting with Windows 2000, when a new USB composite device is plugged into a computer, the USB hub driver creates a physical device object (PDO) and notifies the operating system that its set of child devices has changed. After querying the hub driver for the hardware identifiers associated with the new PDO, the operating system searches the appropriate INF files to find a match for the identifiers. If it finds a match other than USB\COMPOSITE, it loads the driver indicated in the INF file. However, if no other match is found, the operating system uses the compatible ID USB\COMPOSITE, for which it loads the USB Generic Parent driver. The Generic Parent driver then creates a separate PDO and generates a separate set of hardware identifiers for each interface of the composite device.
Each interface has a device ID of the following form:
Hi,all:
My usb device has three ports on PC:
USB\VID_2C91&PID_0002&MI_06\6&3911747D&1&0006
USB\VID_2C91&PID_0002&MI_02\6&3911747D&1&0002
USB\VID_2C91&PID_0002&MI_04\6&3911747D&1&0004
also, it has three ports on my phone,but i can only get port num (0,1,2) in the port list, which comes from these codes:
" text1.setText(item.driver.getClass().getSimpleName().replace("SerialDriver","")+", Port "+item.port);"
I know how to get VID&PID, but i don't kown how to get MI ?
I need to obtain MI information and distinguish these ports
The text was updated successfully, but these errors were encountered: