Author Topic: USB 3.0 device descriptor on a USB 2.0 hub and USB 3.x hub  (Read 9589 times)

erdmann

  • Member
  • ***
  • Posts: 43
USB 3.0 device descriptor on a USB 2.0 hub and USB 3.x hub
« on: September 29, 2016, 09:49:45 am »
Hallo,

as far as I understand the USB 3.x spec, a USB 3.x device reports a different bcdUSB if attached to a 2.0 hub (bcdUSB = 0x210) then when attached to a 3.x hub (bcdUSB = 0x300 or 0x310). What's more the bMaxPacketSize0 field is encoded DIFFERENTLY for these two cases (= number in bytes for 2.0 hub and = power of 2 in bytes for 3.x hub).
How does this magic happen ? I mean if I plug this device into a USB 2.0 port, will it return a DIFFERENT device descriptor than when I plug it into a USB 3.0 port ?

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: USB 3.0 device descriptor on a USB 2.0 hub and USB 3.x hub
« Reply #1 on: September 30, 2016, 08:28:54 pm »
Yes, the device must detect the attachment speed and respond accordingly.