ugen example
Andrew
andrew at ugh.net.au
Thu Jun 12 06:47:58 PDT 2003
On Thu, 12 Jun 2003, Bernd Walter wrote:
> Not all endpoints have to be available in the current configuration.
> If you show me the output for your device I can tell you what is
> available under which condition.
Thanks, output below.
Andrew
--
DEVICE addr 2
DEVICE descriptor:
bLength=18 bDescriptorType=device(1) bcdUSB=1.00 bDeviceClass=255
bDeviceSubClass=255
bDeviceProtocol=255 bMaxPacketSize=64 idVendor=0x0743 idProduct=0x0002
bcdDevice=1
iManufacturer=0() iProduct=0() iSerialNumber=0() bNumConfigurations=1
CONFIGURATION descriptor 0:
bLength=9 bDescriptorType=config(2) wTotalLength=218 bNumInterface=1
bConfigurationValue=1 iConfiguration=0() bmAttributes=80 bMaxPower=100 mA
INTERFACE descriptor 0:
bLength=9 bDescriptorType=interface(4) bInterfaceNumber=0
bAlternateSetting=0
bNumEndpoints=0 bInterfaceClass=255 bInterfaceSubClass=255
bInterfaceProtocol=255 iInterface=0()
INTERFACE descriptor 1:
bLength=9 bDescriptorType=interface(4) bInterfaceNumber=0
bAlternateSetting=1
bNumEndpoints=13 bInterfaceClass=255 bInterfaceSubClass=255
bInterfaceProtocol=255 iInterface=0()
ENDPOINT descriptor:
bLength=7 bDescriptorType=endpoint(5) bEndpointAddress=1-in
bmAttributes=interrupt wMaxPacketSize=16 bInterval=10
ENDPOINT descriptor:
bLength=7 bDescriptorType=endpoint(5) bEndpointAddress=2-in
bmAttributes=bulk wMaxPacketSize=64 bInterval=0
ENDPOINT descriptor:
bLength=7 bDescriptorType=endpoint(5) bEndpointAddress=2-out
bmAttributes=bulk wMaxPacketSize=64 bInterval=0
ENDPOINT descriptor:
bLength=7 bDescriptorType=endpoint(5) bEndpointAddress=4-in
bmAttributes=bulk wMaxPacketSize=64 bInterval=0
ENDPOINT descriptor:
bLength=7 bDescriptorType=endpoint(5) bEndpointAddress=4-out
bmAttributes=bulk wMaxPacketSize=64 bInterval=0
ENDPOINT descriptor:
bLength=7 bDescriptorType=endpoint(5) bEndpointAddress=6-in
bmAttributes=bulk wMaxPacketSize=64 bInterval=0
ENDPOINT descriptor:
bLength=7 bDescriptorType=endpoint(5) bEndpointAddress=6-out
bmAttributes=bulk wMaxPacketSize=64 bInterval=0
ENDPOINT descriptor:
bLength=7 bDescriptorType=endpoint(5) bEndpointAddress=8-in
bmAttributes=isochronous wMaxPacketSize=16 bInterval=1
ENDPOINT descriptor:
bLength=7 bDescriptorType=endpoint(5) bEndpointAddress=8-out
bmAttributes=isochronous wMaxPacketSize=16 bInterval=1
ENDPOINT descriptor:
bLength=7 bDescriptorType=endpoint(5) bEndpointAddress=9-in
bmAttributes=isochronous wMaxPacketSize=16 bInterval=1
ENDPOINT descriptor:
bLength=7 bDescriptorType=endpoint(5) bEndpointAddress=9-out
bmAttributes=isochronous wMaxPacketSize=16 bInterval=1
ENDPOINT descriptor:
bLength=7 bDescriptorType=endpoint(5) bEndpointAddress=10-in
bmAttributes=isochronous wMaxPacketSize=16 bInterval=1
ENDPOINT descriptor:
bLength=7 bDescriptorType=endpoint(5) bEndpointAddress=10-out
bmAttributes=isochronous wMaxPacketSize=16 bInterval=1
INTERFACE descriptor 2:
bLength=9 bDescriptorType=interface(4) bInterfaceNumber=0
bAlternateSetting=2
bNumEndpoints=13 bInterfaceClass=255 bInterfaceSubClass=255
bInterfaceProtocol=255 iInterface=0()
ENDPOINT descriptor:
bLength=7 bDescriptorType=endpoint(5) bEndpointAddress=1-in
bmAttributes=interrupt wMaxPacketSize=64 bInterval=10
ENDPOINT descriptor:
bLength=7 bDescriptorType=endpoint(5) bEndpointAddress=2-in
bmAttributes=bulk wMaxPacketSize=64 bInterval=0
ENDPOINT descriptor:
bLength=7 bDescriptorType=endpoint(5) bEndpointAddress=2-out
bmAttributes=bulk wMaxPacketSize=64 bInterval=0
ENDPOINT descriptor:
bLength=7 bDescriptorType=endpoint(5) bEndpointAddress=4-in
bmAttributes=bulk wMaxPacketSize=64 bInterval=0
ENDPOINT descriptor:
bLength=7 bDescriptorType=endpoint(5) bEndpointAddress=4-out
bmAttributes=bulk wMaxPacketSize=64 bInterval=0
ENDPOINT descriptor:
bLength=7 bDescriptorType=endpoint(5) bEndpointAddress=6-in
bmAttributes=bulk wMaxPacketSize=64 bInterval=0
ENDPOINT descriptor:
bLength=7 bDescriptorType=endpoint(5) bEndpointAddress=6-out
bmAttributes=bulk wMaxPacketSize=64 bInterval=0
ENDPOINT descriptor:
bLength=7 bDescriptorType=endpoint(5) bEndpointAddress=8-in
bmAttributes=isochronous wMaxPacketSize=256 bInterval=1
ENDPOINT descriptor:
bLength=7 bDescriptorType=endpoint(5) bEndpointAddress=8-out
bmAttributes=isochronous wMaxPacketSize=256 bInterval=1
ENDPOINT descriptor:
bLength=7 bDescriptorType=endpoint(5) bEndpointAddress=9-in
bmAttributes=isochronous wMaxPacketSize=16 bInterval=1
ENDPOINT descriptor:
bLength=7 bDescriptorType=endpoint(5) bEndpointAddress=9-out
bmAttributes=isochronous wMaxPacketSize=16 bInterval=1
ENDPOINT descriptor:
bLength=7 bDescriptorType=endpoint(5) bEndpointAddress=10-in
bmAttributes=isochronous wMaxPacketSize=16 bInterval=1
ENDPOINT descriptor:
bLength=7 bDescriptorType=endpoint(5) bEndpointAddress=10-out
bmAttributes=isochronous wMaxPacketSize=16 bInterval=1
current configuration 1
More information about the freebsd-hackers
mailing list