Hi,
I have configurated a usb device, it is two interfaces,one is audio
streaming(iso), the other is HID(interrupt).how can access every endpoint.
The configure is following:
Find USB Controller:Intel(R) 82801FB/FBM USB Universal Host Controller -
265A
RootHub
Connect to Hub device name[{36FC9E60-C465-11CF-8056-444553540000}\0002]
Node connect Device name [Port1] DeviceConnected : USB Composite Device
============================Connect infor===================
ConnectionIndex[0x1]
CurrentConfigurationValue[0x1]
LowSpeed[Full]
DeviceAddress[0x1]
NumberOfOpenPipes[0x1]
============================Device descriptor===============
bDescriptorType:[USB_DEVICE_DESCRIPTOR_TYPE]
Device bcdUSB:[0x200]
Device SubClass:[0x0]
Device class:[0x0]
idVendor:[0xA12]
idProduct:[0x1004]
Device protocol:[0x0]
Device bMaxPacketSize0:[0x40]
Device bcdDevice:[0x2617]
iManufacturer:[0x0]
iSerialNumber:[0x0]
Device iProduct:[0x2]
Device bNumConfigurations:[0x1]
===============================Pipe[0]=====================
Pipe ScheduleOffset:[0x0]
EndPoint bDescriptorType:[USB_ENDPOINT_DESCRIPTOR_TYPE]
EndPoint bEndpointAddress:[0x81]
EndPoint bmAttributes:[USB_ENDPOINT_TYPE_INTERRUPT]
EndPoint wMaxPacketSize:[0x10]
EndPoint bInterval:[0x1]
============================Config descriptor===============
bDescriptorType[USB_CONFIGURATION_DESCRIPTOR_TYPE]
wTotalLength[0xC7]
bNumInterfaces[0x4]
bConfigurationValue[0x1]
iConfiguration[0x0]
bmAttributes[USB_ENDPOINT_TYPE_CONTROL]
MaxPower[0x0]
===========================================================
=========================Interface descriptor===============
bDescriptorType[USB_INTERFACE_DESCRIPTOR_TYPE]
bInterfaceNumber[0x0]
bAlternateSetting[0x0]
bNumEndpoints[0x0]
bInterfaceClass[0x1]
bInterfaceSubClass[0x1]
bInterfaceProtocol[0x0]
iInterface[0x0]
===========================================================
=========================Interface descriptor===============
bDescriptorType[USB_INTERFACE_DESCRIPTOR_TYPE]
bInterfaceNumber[0x1]
bAlternateSetting[0x0]
bNumEndpoints[0x0]
bInterfaceClass[0x1]
bInterfaceSubClass[0x2]
bInterfaceProtocol[0x0]
iInterface[0x0]
===========================================================
=========================Interface descriptor===============
bDescriptorType[USB_INTERFACE_DESCRIPTOR_TYPE]
bInterfaceNumber[0x1]
bAlternateSetting[0x1]
bNumEndpoints[0x1]
bInterfaceClass[0x1]
bInterfaceSubClass[0x2]
bInterfaceProtocol[0x0]
iInterface[0x0]
===========================================================
=======================EndPoint descriptor2================
bDescriptorType[USB_ENDPOINT_DESCRIPTOR_TYPE]
bEndpointAddress[0x3][OUT][NO.3]
bmAttributes[USB_ENDPOINT_TYPE_ISOCHRONOUS]
wMaxPacketSize[0x10]
wInterval[0x1]
bSyncAddress[0x0]
===========================================================
=========================Interface descriptor===============
bDescriptorType[USB_INTERFACE_DESCRIPTOR_TYPE]
bInterfaceNumber[0x2]
bAlternateSetting[0x0]
bNumEndpoints[0x0]
bInterfaceClass[0x1]
bInterfaceSubClass[0x2]
bInterfaceProtocol[0x0]
iInterface[0x0]
===========================================================
=========================Interface descriptor===============
bDescriptorType[USB_INTERFACE_DESCRIPTOR_TYPE]
bInterfaceNumber[0x2]
bAlternateSetting[0x1]
bNumEndpoints[0x1]
bInterfaceClass[0x1]
bInterfaceSubClass[0x2]
bInterfaceProtocol[0x0]
iInterface[0x0]
===========================================================
=======================EndPoint descriptor2================
bDescriptorType[USB_ENDPOINT_DESCRIPTOR_TYPE]
bEndpointAddress[0x83][IN][NO.3]
bmAttributes[USB_ENDPOINT_TYPE_ISOCHRONOUS]
wMaxPacketSize[0x10]
wInterval[0x1]
bSyncAddress[0x0]
===========================================================
=========================Interface descriptor===============
bDescriptorType[USB_INTERFACE_DESCRIPTOR_TYPE]
bInterfaceNumber[0x3]
bAlternateSetting[0x0]
bNumEndpoints[0x1]
bInterfaceClass[0x3]
bInterfaceSubClass[0x0]
bInterfaceProtocol[0x0]
iInterface[0x0]
===========================================================
========================EndPoint descriptor================
bDescriptorType[USB_ENDPOINT_DESCRIPTOR_TYPE]
bEndpointAddress[0x81][IN][NO.1]
bmAttributes[USB_ENDPOINT_TYPE_INTERRUPT]
wMaxPacketSize[0x10]
bInterval[0x1]
===========================================================
Node connect Device name [Port2] NoDeviceConnected
>> Stay informed about: Composite usb device application