Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jan 2020 15:39:29 +0100 (CET)
From:      Wojciech Puchar <wojtek@puchar.net>
To:        Hans Petter Selasky <hps@selasky.org>
Cc:        Wojciech Puchar <wojtek@puchar.net>, freebsd-hackers@freebsd.org
Subject:   Re: raspberry pi zero and SLOW USB HID
Message-ID:  <alpine.BSF.2.20.2001131532570.36878@puchar.net>
In-Reply-To: <9f8ae63f-abe5-27d9-e6bf-3d0cc1d3d4f3@selasky.org>
References:  <alpine.BSF.2.20.2001131439440.2189@puchar.net> <9f8ae63f-abe5-27d9-e6bf-3d0cc1d3d4f3@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>
> 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








Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.2001131532570.36878>