USB key is 2.0 or 3.0

From: Matthias Apitz <guru_at_unixarea.de>
Date: Thu, 18 Jan 2024 13:08:09 UTC
Hello,

I will move this topic to freebsd-usb@

I bought a new USB 3.0 key with very poor write performan and the
question is if the key is really USB 3.0:
 
----- Forwarded message from Matthias Apitz <guru@unixarea.de> -----

El día jueves, enero 18, 2024 a las 02:43:23 +1100, Ian Smith escribió:

> From your first post:
> 
>  > Jan 16 17:50:52 c720-1400094 kernel: da0: 40.000MB/s transfers
>  > Jan 16 17:50:52 c720-1400094 kernel: da0: 120000MB (245760000 512 byte sectors)

I checked older /var/log/messages and other external USB disks have
400.000MB/s. So it is not the port of the laptop.

I run on my Linux phone a lsusb command which shows:

$ lsusb -v -d 058f:6387
Bus 003 Device 002: ID 058f:6387 Alcor Micro Corp. Flash Drive
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.10
  bDeviceClass            0
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x058f Alcor Micro Corp.
  idProduct          0x6387 Flash Drive
  bcdDevice            0.02
  iManufacturer           1 Generic
  iProduct                2 Mass Storage
  iSerial                 3 A430786F
  ...

I interpret 'bcdUSB  2.10' as an indicator of USB 2.10. The key is new
and its wrapping says USB 3.0.

	matthias

----- End forwarded message -----

-- 
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.