raspberry pi zero and SLOW USB HID

Wojciech Puchar wojtek at puchar.net
Mon Jan 13 14:39:36 UTC 2020


>
> Hi,
>
> Can you check the USB speed used between PC and RPI-zero ? Is one perhaps 
> High-Speed, while the other is, Full-Speed?

below:

ugen0.1: <DWCOTG OTG Root HUB> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) 
pwr=SAVE (0mA)

^^^^^^ this is RPI

ugen0.2: <Digital USB HID Progr> at usbus0, cfg=0 md=HOST spd=FULL 
(12Mbps) pwr=ON (100mA)
^^^^^^^^^^ this is our device. and it is normally full speed.




ugen0.2: <Digital USB HID Progr> at usbus0, cfg=0 md=HOST spd=FULL 
(12Mbps) pwr=ON (100mA)

   bLength = 0x0012
   bDescriptorType = 0x0001
   bcdUSB = 0x0200
   bDeviceClass = 0x0000  <Probed by interface class>
   bDeviceSubClass = 0x0000
   bDeviceProtocol = 0x0000
   bMaxPacketSize0 = 0x0008
   idVendor = 0x12aa
   idProduct = 0xf1f7
   bcdDevice = 0x0002
   iManufacturer = 0x0001  <Digital>
   iProduct = 0x0002  <USB HID Progr>
   iSerialNumber = 0x0003  <22000051381>
   bNumConfigurations = 0x0001

  Configuration index 0

     bLength = 0x0009
     bDescriptorType = 0x0002
     wTotalLength = 0x0029
     bNumInterfaces = 0x0001
     bConfigurationValue = 0x0001
     iConfiguration = 0x0000  <no string>
     bmAttributes = 0x00c0
     bMaxPower = 0x0032

     Interface 0
       bLength = 0x0009
       bDescriptorType = 0x0004
       bInterfaceNumber = 0x0000
       bAlternateSetting = 0x0000
       bNumEndpoints = 0x0002
       bInterfaceClass = 0x0003  <HID device>
       bInterfaceSubClass = 0x0000
       bInterfaceProtocol = 0x0000
       iInterface = 0x0000  <no string>

       Additional Descriptor

       bLength = 0x09
       bDescriptorType = 0x21
       bDescriptorSubType = 0x11
        RAW dump:
        0x00 | 0x09, 0x21, 0x11, 0x01, 0x00, 0x01, 0x22, 0x1c,
        0x08 | 0x00

      Endpoint 0
         bLength = 0x0007
         bDescriptorType = 0x0005
         bEndpointAddress = 0x0081  <IN>
         bmAttributes = 0x0003  <INTERRUPT>
         wMaxPacketSize = 0x0008
         bInterval = 0x0001
         bRefresh = 0x0000
         bSynchAddress = 0x0000

      Endpoint 1
         bLength = 0x0007
         bDescriptorType = 0x0005
         bEndpointAddress = 0x0001  <OUT>
         bmAttributes = 0x0003  <INTERRUPT>
         wMaxPacketSize = 0x0008
         bInterval = 0x0001
         bRefresh = 0x0000
         bSynchAddress = 0x0000







More information about the freebsd-hackers mailing list