Linux USB HID Device


Posted by Jerome on 2021-11-30

USB Descriptor

  1. Device Descriptor
  2. Configuration Descriptor
  3. Interface Descriptor -> HID Descriptor -> Report and Physical Descriptor
  4. Endpoint Descriptor

Report Descriptor

  1. Data format

    Usage Page
    Usage
    Collection
    ...
    End Collection
    
  2. Report type
    Input report: For standard defined data.
    Output report: Not suggest to use, some old OS systems do not support this report type.
    Feature report: For self-defined data.


#linux #usb #hid #Report Descriptor







Related Posts

做一個影片背景的網頁吧

做一個影片背景的網頁吧

接收來自 ROS Topic 的影像並偵測畫面中的動作

接收來自 ROS Topic 的影像並偵測畫面中的動作

瀏覽器渲染流程

瀏覽器渲染流程


Comments