dlkj/usbd-human-interface-device

Investigate missing LPM bit

Opened this issue · 1 comments

dlkj commented

See warning from lsusb -v device descriptor:

  Binary Object Store Descriptor:
  bLength                 5
  bDescriptorType        15
  wTotalLength       0x000c
  bNumDeviceCaps          1
  USB 2.0 Extension Device Capability:
    bLength                 7
    bDescriptorType        16
    bDevCapabilityType      2
    bmAttributes   0x00000000
      (Missing must-be-set LPM bit!)
  USB 2.0 Extension Device Capability:
    bLength                 7
    bDescriptorType        16
    bDevCapabilityType      2
    bmAttributes   0x00000000
      (Missing must-be-set LPM bit!)

May need fixing in https://github.com/mvirkkunen/usb-device

dlkj commented

May be related to https://www.beyondlogic.org/usbnutshell/usb5.shtml#ConfigurationDescriptors - indicates that bit 7 should always be set