设备管理 USB class

发现一个USB class网站,对设备管理的小伙伴非常有用

http://www.usb.org/developers/defined_class

USB Class Codes

August 11, 2014

USB defines class code information that is used to identify a device’s functionality and to nominally load a device driver based on that functionality. The information is contained in three bytes with the names Base Class, SubClass, and Protocol. (Note that
‘Base Class’ is used in this description to identify the first byte of the Class Code triple. That terminology is not used in the USB Specification). There are two places on a device where class code information can be placed.One place is in the Device Descriptor,
and the other is in Interface Descriptors. Some defined class codes are allowed to be used only in a Device Descriptor, others can be used in both Device and Interface Descriptors, and some can only be used in Interface Descriptors. The table below shows the
currently defined set of  Base Class values, what the generic usage is, and where that Base Class can be used (either Device or Interface Descriptors or both).


Base Class


Descriptor Usage


Description


00h


Device


Use class information in the Interface Descriptors


01h


Interface


Audio


02h


Both


Communications and CDC Control


03h


Interface


HID (Human Interface Device)


05h


Interface


Physical


06h


Interface


Image


07h


Interface


Printer


08h


Interface


Mass Storage


09h


Device


Hub


0Ah


Interface


CDC-Data


0Bh


Interface


Smart Card


0Dh


Interface


Content Security


0Eh


Interface


Video


0Fh


Interface


Personal Healthcare


10h


Interface


Audio/Video Devices


11h


Device


Billboard Device Class


DCh


Both


Diagnostic Device


E0h


Interface


Wireless Controller


EFh


Both


Miscellaneous


FEh


Interface


Application Specific


FFh


Both


Vendor Specific

Base Class 00h(Device)

This base class is defined to be used in Device Descriptors to indicate that class information should be determined from the Interface Descriptors in the device. There is one class code definition
in this base class. All other values are reserved.

This value is also used in Interface Descriptors to indicate a null class code triple.


Base Class


SubClass


Protocol


Meaning


00h


00h


00h


Use class code info from Interface Descriptors

Base Class 01h (Audio)

This base class is defined for Audio capable devices that conform to the Audio Device Class Specification found on the USB-IF website. That specification defines the usable set of SubClass and Protocol
values.Values outside of that defined spec are reserved. These class codes may only be used in Interface Descriptors.


Base Class


SubClass


Protocol


Meaning


01h


xxh


xxh


Audio device

Base Class 02h (Communications and CDC Control)

This base class is defined for devices that conform to the Communications Device Class Specification found on the USB-IF website. That specification defines the usable set of SubClass and Protocol values. Values outside of that defined spec are reserved.  Note
that the Communication Device Class spec requires some class code values (triples) to be used in Device Descriptors and some to be used in Interface Descriptors.


Base Class


SubClass


Protocol


Meaning


02h


xxh


xxh


Communication device class

Base Class 03h (HID – Human Interface Device)

This base class is defined for devices that conform to the HID Device Class Specification found on the USB-IF website. That specification defines the usable set of SubClass and Protocol values.   Values outside of that defined spec are reserved. These class
codes can only be used in Interface Descriptors.


Base Class


SubClass


Protocol


Meaning


03h


xxh


xxh


HID device class

Base Class 05h (Physical)

This base class is defined for devices that conform to the Physical Device Class Specification found on the USB-IF website. That specification defines the usable set of SubClass and Protocol values.  Values outside of that defined spec are reserved. These
class codes can only be used in Interface Descriptors.


Base Class


SubClass


Protocol


Meaning


05h


xxh


xxh


Physical device class

Base Class 06h (Still Imaging)

This base class is defined for devices that conform to the Imaging Device Class Specification found on the USB-IF website. That specification defines the usable set of SubClass and Protocol values.   Values outside of that defined spec are reserved.


Base Class


SubClass


Protocol


Meaning


06h


01h


01h


Still Imaging device

Base Class 07h (Printer)

This base class is defined for devices that conform to the Printer Device Class Specification found on the USB-IF website.  That specification defines the usable set of SubClass and Protocol values.  Values outside of that defined spec are reserved.  These
class codes can only be used in Interface Descriptors.


Base Class


SubClass


Protocol


Meaning


07h


xxh


xxh


Printer device

Base Class 08h (Mass Storage)

This base class is defined for devices that conform to the Mass Storage Device Class Specification found on the USB-IF website. That specification defines the usable set of SubClass and Protocol values. Values outside of that defined spec are reserved. These
class codes can only be used in Interface Descriptors.


Base Class


SubClass


Protocol


Meaning


08h


xxh


xxh


Mass Storage device

Base Class 09h (Hub)

This base class is defined for devices that are USB hubs and conform to the definition in the USB specification.  That specification defines the complete triples as shown below.  All other values are reserved.  These class codes can only be used in Device
Descriptors.


Base Class


SubClass


Protocol


Meaning


09h


00h


00h


Full speed Hub


01h


Hi-speed hub with single TT


02h


Hi-speed hub with multiple TTs

Base Class 0Ah (CDC-Data)

This base class is defined for devices that conform to the Communications Device Class Specification found on the USB-IF website. That specification defines the usable set of SubClass and Protocol values.Values outside of that defined spec are reserved. These
class codes can only be used in Interface Descriptors.


Base Class


SubClass


Protocol


Meaning


0Ah


xxh


xxh


CDC data device

Base Class 0Bh (Smart Card)

This base class is defined for devices that conform to the Smart Card Device Class Specification found on the USB-IF website. That specification defines the usable set of SubClass and Protocol values.Values outside of that defined spec are reserved. These
class codes can only be used in Interface Descriptors.


Base Class


SubClass


Protocol


Meaning


0Bh


xxh


xxh


Smart Card device

Base Class 0Dh (Content Security)

This base class is defined for devices that conform to the Content Security Device Class Specification found on the USB-IF website. That specification defines the usable set of SubClass and Protocol values. Values outside of that defined spec are reserved. These
class codes can only be used in Interface Descriptors.


Base Class


SubClass


Protocol


Meaning


0Dh


00h


00h


Content Security device

Base Class 0Eh (Video)

This base class is defined for devices that conform to the Video Device Class Specification found on the USB-IF website. That specification defines the usable set of SubClass and Protocol values. Values outside of that defined spec are reserved. These class
codes can only be used in Interface Descriptors.


Base Class


SubClass


Protocol


Meaning


0Eh


xxh


xxh


Video device

Base Class 0Fh (Personal Healthcare)

This base class is defined for devices that conform to the Personal Healthcare Device Class Specification found on the USB-IF website. That specification defines the usable set of SubClass and Protocol values. Values outside of that defined spec are reserved. These
class codes should only be used in Interface Descriptors.


Base Class


SubClass


Protocol


Meaning


0Fh


xxh


xxh


Personal Healthcare device

Base Class 10h (Audio/Video Devices)

The USB Audio/Video (AV) Device Class Definition describes the methods used to communicate with devices or functions embedded in composite devices that are used to manipulate audio, video, voice, and all image- and sound-related functionality. That specification
defines the usable set of SubClass and Protocol values. Values outside of that defined spec are reserved. These class codes can only be used in Interface Descriptors.


Base Class


SubClass


Protocol


Meaning


10h


01h

02h

03h


00h


Audio/Video Device – AVControl Interface


00h


Audio/Video Device – AVData Video Streaming Interface


00h


Audio/Video Device – AVData Audio Streaming Interface

Base Class 11h (Billboard Device)

This base class is defined for devices that conform to the Billboard Device Class Specification found on the USB-IF website. That specification defines the usable set of SubClass and Protocol values. Values outside of that defined spec are reserved. These
class codes can only be used in Device Descriptors.


Base Class


SubClass


Protocol


Meaning


11h


00h


00h


Billboard Device

Base Class DCh (Diagnostic Device)

This base class is defined for devices that diagnostic devices. There is currently only one value defined. All other values are reserved. This class code can be used in Device or Interface Descriptors.


Base Class


SubClass


Protocol


Meaning


DCh


01h


01h


USB2 Compliance Device.  Definition for this device can be found athttp://www.intel.com/technology/usb/spec.htm

Base Class E0h (Wireless Controller)

This base class is defined for devices that are Wireless controllers. Values not shown in the table below are reserved. These class codes are to be used in Interface Descriptors, with the exception of the Bluetooth class code which can also be used in a
Device Descriptor.

Base Class

SubClass

Protocol

Meaning


E0h


01h


01h


Bluetooth Programming Interface.  Get specific information fromwww.bluetooth.com.


02h


UWB Radio Control Interface.  Definition for this is found in the Wireless USB Specification in Chapter 8.


03h


Remote NDIS.  Information can be found at:http://www.microsoft.com/windowsmobile/mobileoperators/default.mspx


04h


Bluetooth AMP Controller. Get specific information fromwww.bluetooth.com.


2h


01h


Host Wire Adapter Control/Data interface.  Definition can be found in the Wireless USB Specification in Chapter 8.


02h


Device Wire Adapter Control/Data interface.  Definition can be found in the Wireless USB Specification in Chapter 8.


03h


Device Wire Adapter Isochronous interface.  Definition can be found in the Wireless USB Specification in Chapter 8.

Base Class EFh (Miscellaneous)

This base class is defined for miscellaneous device definitions. Values not shown in the table below are reserved. The use of these class codes (Device or Interface descriptor) are specifically annotated in each entry
below.


Base Class


SubClass


Protocol


Meaning


EFh


01h


01h


Active Sync device. This class code can be used in either Device or Interface Descriptors. Contact Microsoft for more information on this class.


02h


Palm Sync. This class code can be used in either Device or Interface Descriptors.


02h


01h


Interface Association Descriptor. The usage of this class code triple is defined in the Interface Association Descriptor ECN that is provided on www.usb.org.
This class code may only be used in Device Descriptors.


02h


Wire Adapter Multifunction Peripheral programming interface. Definition can be found in the Wireless USB Specification in Chapter 8. This class code may only be used in Device Descriptors


03h


01h


Cable Based Association Framework. This is defined in the Association Model addendum to the Wireless USB specification. This class code may only be used in Interface Descriptors.


04h


01h


RNDIS over Ethernet.

Connecting a host to the Internet via Ethernet mobile device. The device appears to the host as an Ethernet gateway device.

This class code may only be used in Interface Descriptors.


02h


RNDIS over WiFi.

Connecting a host to the Internet via WiFi enabled mobile device.  The device represents itself to the host as an 802.11 compliant network device.

This class code may only be used in Interface Descriptors.


03h


RNDIS over WiMAX

Connecting a host to the Internet via WiMAX enabled mobile device.  The device is represented to the host as an 802.16 network device.

This class code may only be used in Interface Descriptors.


04h


RNDIS over WWAN

Connecting a host to the Internet via a device using mobile broadband, i.e. WWAN (GSM/CDMA).

This class code may only be used in Interface Descriptors.


05h


RNDIS for Raw IPv4

Connecting a host to the Internet using raw IPv4 via non-Ethernet mobile device.  Devices that provide raw IPv4, not in an Ethernet packet, may use this form to in lieu of other stock types.

This class code may only be used in Interface Descriptors.


06h


RNDIS for Raw IPv6

Connecting a host to the Internet using raw IPv6 via non-Ethernet mobile device.  Devices that provide raw IPv6, not in an Ethernet packet, may use this form to in lieu of other stock types.

This class code may only be used in Interface Descriptors.


07h


RNDIS for GPRS

Connecting a host to the Internet over GPRS mobile device using the device’s cellular radio


05h


00h


USB3 Vision Control Interface


Machine Vision Device conforming to the USB3 Vision specification. This standard covers cameras and other related devices that are typically used in machine vision, industrial, and embedded applications.

Reference:http://visiononline.org/

This class code may only be used in Interface Descriptors.


01h


USB3 Vision Event Interface


02h


USB3 Vision Streaming Interface

Base Class FEh (Application Specific)

This base class is defined for devices that conform to several class specifications found on the USB-IF website.  That specification defines the usable set of SubClass and Protocol values. Values outside of that defined spec are reserved.  These class codes
can only be used in Interface Descriptors.


Base Class


SubClass


Protocol


Meaning


FEh


01h


01h


Device Firmware Upgrade.  Device class definition provided on www.usb.org.


02h


00h


IRDA Bridge device.  Device class definition provided on www.usb.org.


03h


00h


USB Test and Measurement Device. Definition provided in the USB Test and Measurement Class spec found onwww.usb.org.


01h


USB Test and Measurement Device conforming to the USBTMC USB488 Subclass Specification found on www.usb.org.

Base Class FFh (Vendor Specific)

This base class is defined for vendors to use as they please.  These class codes can be used in both Device and Interface Descriptors.


Base Class


SubClass


Protocol


Meaning


FFh


xxh


xxh


Vendor specific

时间: 2024-10-16 16:16:43

设备管理 USB class的相关文章

[BLE--HID]USB HID设备类定义

简述 HID设备,即人机交互设备,常见的有鼠标,键盘,游戏手柄,等等.一般有线方式都是通过USB连线连接到机器设备,作为用户输入设备.在蓝牙技术中,HID设备的接入就是无线的了.不过HID的相关定义当然还是一样的,不然设备驱动,兼容等问题都会有很多麻烦了.蓝牙中有HID, HOGP profile,但是只是在蓝牙数据通信上做的规范,HID具体含义相关,还是需要看USB相关的HID文档. USB设备类? USB设备可以在启动时,或者是在之后的连接状态下,都能够被主机进行配置.USB设备种类是非常多

win10升级后蓝牙不见了,设备管理器里没有,多了个串行控制器里的未知USB设备?

win10更新后,蓝牙功能不见了,也没有打开的选项,设备管理器里也没有,多了个未知USB设备,重启无效,重装蓝牙驱动无效,BIOS中的Bluetooth是开的. 试了网上能找到的所有方法,包括更新win10更新. 更新Bluetooth驱动 等都没有解决 ,  解决方案 是: 1.打开设备管理器,卸载掉未知USB设备,重新识别硬件. 问题解决了. 有时能识别到蓝牙,有时也不能识别,一般多试几次,或者隔一段时间再识别,就能识别了. 原文地址:https://www.cnblogs.com/webf

电脑usb驱动卸载了怎么办?

如果删除了 USB ROOT HUB (USB总线集线器)的驱动 ,其实只要用PS/2的键盘选中"我的电脑"再按键盘右下角的右键菜单打开设备管理器. 再按 ALT 打开菜单上的 操作 ->扫描检测硬件改动.就可以自动安装上了,不用其他软件.

树莓派-USB存储设备自动挂载

简单介绍实现命令行下USB存储设备自动挂载的方法,Linux gnome/kde窗口环境下有移动存储的管理程序,可以实现自动挂载移动存储设备,但是在命令行下 通常需要用mount命令手动挂载USB存储设备. 通过给linux下的设备管理服务udev添加规则配置文件,可以实现命令行下USB存储设备自动挂载. 输入命令: sudo vim /etc/udev/rules.d/10-usbstorage.rules 写入如下脚本到编辑窗口 KERNEL!="sd*", GOTO="

Delphi 调试连接 任意Android手机/平板/盒子(要安装Google USB Driver,并且还有USB的相关许多文章)

Delphi有时候无法连接调试一些手机,解决方案: 1.安装Google USB Driver 2.通过设备管理器查看手机或平板USB的VID,PID 3.修改你的电脑上的android_winusb.inf,将第2步找到的VID,PID加到inf中. 例如: ;Samsung Galaxy S3 %SingleAdbInterface% = USB_Install, USB\VID_04E8&PID_6860 %CompositeAdbInterface% = USB_Install, USB

<转>USB Blaster下载器驱动程序安装教程

对于FPGA的开发而言,除了需要安装Quartus II软件外,还需要安装USB Blaster下载器.USB Blaster下载器为Altera的FPGA/CPLD程序下载电缆,通过计算机的USB接口可对Altera的FPGA/CPLD以及配置芯片进行编程.调试等操作.USB-Blaster下载器的驱动来自Quartus II软件,Altera在每一个新版本的软件中,均提供驱动的安装包.USB Blaster下载器通过PC USB端口的连接,完成对Altera器件进行配置或者编程,以及其他的一

usb设备运行不正常的解决方法(转)

add by zhj:上午鼠标还用的好好的,下午就不能用了,插上之后提示“跟这台计算机连接的一个usb设备运行不正常”,尼玛,什么情况?我今天没安装软件啊,换了个USB接口也不行,在另一台电脑上试还是不行,在我想把这个鼠标扔了的时候,发现了下面的帖子,用第一种方法试了试.把插头拔下来,用钥匙连接了一下正负线,然后把鼠标拔出重新插上,OK,果然牛逼,好了,不用重启电脑. 原文:http://itbbs.pconline.com.cn/diy/16197514.html 很多朋友碰到无法识别的USB

PIC32MZ 通过USB在线升级 -- USB CDC bootloader

了解更多关于bootloader 的C语言实现,请加我QQ: 1273623966 (验证信息请填 bootloader),欢迎咨询或定制bootloader(在线升级程序). 最近给我的开发板PIC32MZ EC starter kit写了个USB 在线升级程序--USB CDC bootloader.有了它,我可以很方便的升级我的应用程序.我大概是一个星期前开始决定写这个USB在线升级程序的,USB 有很两种类型,USB host和USB device. 由于USB host接触不多,所以我

树莓派无线网在串口下配置,不需要显示器,RTL8192CU的USB网卡芯片

[本文谢绝转载] [===================先展示一下最后的效果=======================] 树莓派插入网卡,有供电,有TF卡.就可以了 打开终端:直接登录上去,可以看到,当有数据传输时,小灯闪爆你的钛合金眼 [=======================效果展示完毕===============] 开始干活!============================ 为什么用300M带宽的无线网卡? 怎么为树莓派安装新的系统? 为什么是串口,而不是双绞线 怎么