枚举USB设备的小例子
- usb_host_controler root_hub ext_hub port device
<conputer>
<controller>
<root_hub>
<port>
<ext_hub>
<port />
<port />
<port />
<port />
<port />
<port />
<port />
<port />
</ext_hub>
</port>
<port />
</root_hub>
</controller>
<controller>
<root_hub>
<port>
<ext_hub>
<port>
<device instance_id="USB\VID_046A&PID_0011\6&20D5D7D2&0&1">
<interface_descriptor bInterfaceClass="3" bInterfaceSubClass="1" bInterfaceProtocol="1" />
</device>
</port>
<port />
<port>
<device instance_id="USB\VID_046A&PID_0011\6&20D5D7D2&0&1">
<interface_descriptor bInterfaceClass="3" bInterfaceSubClass="1" bInterfaceProtocol="1" />
<interface_descriptor bInterfaceClass="3" bInterfaceSubClass="1" bInterfaceProtocol="2" />
<interface_descriptor bInterfaceClass="3" bInterfaceSubClass="0" bInterfaceProtocol="0" />
</device>
</port>
<port />
<port />
<port />
</ext_hub>
</port>
<port />
</root_hub>
</controller>
<controller>
<root_hub>
<port />
<port />
<port />
<port />
<port />
<port />
<port />
<port />
</root_hub>
</controller>
</conputer>