Hardware ID

Hi,

Can anyone tell me how Hardware ID is created for USB devices.I have come
across the harware id in the form USB/VIDXXX_PIDXXX_MI00.
I have understood VID and PID is sent by the device.I would like to know
how MI is created?Does windows assign MI?On What criteria MI is assigned.
Also I would like to know about REV as well.

Thanks,
Shruthi

> Hi,

Can anyone tell me how Hardware ID is created for USB devices.I have come
across the harware id in the form USB/VIDXXX_PIDXXX_MI00.
I have understood VID and PID is sent by the device.I would like to know
how MI is created?Does windows assign MI?On What criteria MI is assigned.
Also I would like to know about REV as well.

Thanks,
Shruthi


Did you try www.usb.org?
joe

NTDEV is sponsored by OSR

Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev

OSR is HIRING!! See http://www.osr.com/careers

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Take a look at
http://msdn.microsoft.com/en-us/library/windows/hardware/ff553356(v=vs.85).a
spx

Don Burn
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of shruthi kl
Sent: Friday, January 31, 2014 4:23 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Hardware ID

Hi,

Can anyone tell me how Hardware ID is created for USB devices.I have come
across the harware id in the form USB/VIDXXX_PIDXXX_MI00.

I have understood VID and PID is sent by the device.I would like to know how
MI is created?Does windows assign MI?On What criteria MI is assigned.

Also I would like to know about REV as well.

Thanks,

Shruthi

— NTDEV is sponsored by OSR Visit the list at:
http://www.osronline.com/showlists.cfm?list=ntdev OSR is HIRING!! See
http://www.osr.com/careers For our schedule of WDF, WDM, debugging and other
seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List
Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

A multiinterface usb device is enumerated by the usb generic parent driver,
providing the MIXX ids, one for each interface active in the configuration.
See
http://msdn.microsoft.com/en-us/library/windows/hardware/ff539234(v=vs.85).aspx

Mark Roddy

On Fri, Jan 31, 2014 at 4:23 AM, shruthi kl wrote:

>
>
> Hi,
>
> Can anyone tell me how Hardware ID is created for USB devices.I have come
> across the harware id in the form USB/VIDXXX_PIDXXX_MI00.
> I have understood VID and PID is sent by the device.I would like to know
> how MI is created?Does windows assign MI?On What criteria MI is assigned.
> Also I would like to know about REV as well.
>
> Thanks,
> Shruthi
> — NTDEV is sponsored by OSR Visit the list at:
> http://www.osronline.com/showlists.cfm?list=ntdev OSR is HIRING!! See
> http://www.osr.com/careers For our schedule of WDF, WDM, debugging and
> other seminars visit: http://www.osr.com/seminars To unsubscribe, visit
> the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer

shruthi kl wrote:

Can anyone tell me how Hardware ID is created for USB devices.I have
come across the harware id in the form USB/VIDXXX_PIDXXX_MI00.
I have understood VID and PID is sent by the device.I would like to
know how MI is created?Does windows assign MI?On What criteria MI is
assigned.
Also I would like to know about REV as well.

I’m really surprised you couldn’t figure this out on your own after a
few minutes of examination.

USB\VID_xxxx&PID_yyyy&REV_zzzz&MI_pp

xxxx is the idVendor field of the device descriptor.
yyyy is the idProduct field of the device descriptor
zzzz is the bcdDevice field of the device descriptor.

The MI_pp portion is only present if you have a composite device,
meaning it exposes multiple interfaces. pp in that case is the
interface number.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

YOu can open Device Manager, and in the Details tab it will show its Hardware ID and all compatible IDs generated for it.