0
点赞
收藏
分享

微信扫一扫

深入学习USB(12)实战观察平板电脑USB描述符

晚安大世界 2022-03-16 阅读 67

我将一个华为平板通过usb接入我的ubuntu虚拟机,研究其USB描述符。
导出如下:

vic@ubuntu:~/Desktop$ lsusb -v

Bus 001 Device 002: ID 12d1:107e Huawei Technologies Co., Ltd. HDN-L09
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x12d1 Huawei Technologies Co., Ltd.
  idProduct          0x107e 
  bcdDevice            2.99
  iManufacturer           1 HUAWEI
  iProduct                2 HDN-L09
  iSerial                 3 PXC6R19528000318
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x006c
    bNumInterfaces          4
    bConfigurationValue     1
    iConfiguration          4 hisuite_mtp_mass_storage_adb_hdb
    bmAttributes         0xc0
      Self Powered
    MaxPower  
举报

相关推荐

0 条评论