Urstypes.h Usb.h Usbbusif.h Usbctypes.h Usbdlib.h Usbfnattach.h Usbfnbase.h Usbfnioctl.h Usbioctl.h Usbpmapi.h Usbspec.h 概述 USB_30_HUB_DESCRIPTOR 结构 USB_COMMON_DESCRIPTOR 结构 USB_CONFIGURATION_DESCRIPTOR结构 USB_DEVICE_CAPABILITY_FIRMWARE_STATUS_DESCRIPTOR 结构 ...
Frame information ETW event header information ETW eventdescriptor(Constant information about the event ID such as error level)Eventpayload(Data logged at the time of the event)Name of a USB-specific structure Structure membersandtheirvalues(Types: numbers, strings,orarrays)...
直接在https://www.usb.org/documents下搜索”USB Interface Association Descriptor Device Class Code”下载 参考《InterfaceAssociationDescriptor_ecn.pdf》 下载地址https://www.usb.org/sites/default/files/iadclasscode_r10.pdf 三.概述 从(USB规范的)第一天起,关于是否应允许多功能设备每个逻辑功能使用一个以上...
All types of endpoints (except the default endpoint) must provide endpoint descriptors so that the host can get information about endpoint. An endpoint descriptor includes information, such as its address, type, direction, and the amount of data the endpoint can handle. The data transfers to the...
such as providing the device descriptor, which is a data structure describing the characteristics of the device (such as device type, manufacturer ID and product ID). When the device is disconnected from the host, the device controller driver needs to identify this event and stop all communicatio...
处理host端发来的request,如:处理host端发来的get_descriptor请求。 在这实现了前面提到的必须要实现的第一个功能。 .bind (zero_bind) 绑定dev与driver,在gadget driver,注册驱动时被usb_gadget_register_driver调用,绑定之后driver才能处理setup请求 另外,通过usb_ep_autoconfig函数,可以分配到名为EP_IN_NAME、EP...
l其中bDescriptorSubtype的定义参考规格书的P172 A.4. Video Class-Specific Descriptor Types l其中bUnitID 处理单元由处理单元描述符(PUD)的bUnitID字段的值唯一标识。非零常数,用于唯一标识本功能接口中的单元。类相关请求时Index的高位即该值。 这里为什么要是非零常数呢?为什么从0开始编号呢,因为在请求中wInde...
typedefstruct_USB_NODE_CONNECTION_INFORMATION_EX{ULONG ConnectionIndex; USB_DEVICE_DESCRIPTOR DeviceDescriptor; UCHAR CurrentConfigurationValue; UCHAR Speed; BOOLEAN DeviceIsHub; USHORT DeviceAddress; ULONG NumberOfOpenPipes; USB_CONNECTION_STATUS ConnectionStatus; USB_PIPE_INFO PipeList[0]; } USB_NODE_...
The three types of data this tool can handle are "USB Standard Descriptors", "USB Standard Requests", and "USB HID Report Descriptors". The "parse USB HID report descriptor" function is the reverse of the (horrible) "HID Descriptor Tool" provided by USB.org, and the display format is ...
Urstypes.h Usb.h Usbbusif.h Usbctypes.h Usbdlib.h Usbfnattach.h Usbfnbase.h Usbfnioctl.h Usbioctl.h Usbpmapi.h Usbspec.h Overview USB_30_HUB_DESCRIPTOR structure USB_COMMON_DESCRIPTOR structure USB_CONFIGURATION_DESCRIPTOR structure ...