Re: USB key is 2.0 or 3.0

From: Matthias Apitz <guru_at_unixarea.de>
Date: Thu, 18 Jan 2024 17:30:34 UTC
I've two new USB keys, both claiming on its wrapping USB 3.0:

usbconfig -v reads from them:

ugen0.4: <Generic Mass Storage> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (200mA)
ugen0.4.0: umass0: <Generic Mass Storage, class 0/0, rev 2.10/0.02, addr 5>

  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0210
  bDeviceClass = 0x0000  <Probed by interface class>
  bDeviceSubClass = 0x0000
  bDeviceProtocol = 0x0000
  bMaxPacketSize0 = 0x0040
  idVendor = 0x058f
  idProduct = 0x6387
  bcdDevice = 0x0002
  iManufacturer = 0x0001  <Generic>
  iProduct = 0x0002  <Mass Storage>
  iSerialNumber = 0x0003  <A430786F>
  bNumConfigurations = 0x0001


ugen0.4: <USB SanDisk 3.2Gen1> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (224mA)
ugen0.4.0: umass0: <USB SanDisk 3.2Gen1, class 0/0, rev 2.10/1.00, addr 4>

  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0210
  bDeviceClass = 0x0000  <Probed by interface class>
  bDeviceSubClass = 0x0000
  bDeviceProtocol = 0x0000
  bMaxPacketSize0 = 0x0040
  idVendor = 0x0781
  idProduct = 0x55ab
  bcdDevice = 0x0100

Both say on plugin "da0: 40.000MB/s transfers"; the USB port itself says
on plugin of an external disks "da0: 400.000MB/s transfers", what is
expected for USB 3.0;

Why both USB keys only reach da0: 40.000MB/s?

Thanks

	matthias

-- 
Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub

I am not at war with Russia.
Я не воюю с Россией.
Ich bin nicht im Krieg mit Russland.