Re: USB key is 2.0 or 3.0

From: Gary Jennejohn <garyj_at_gmx.de>
Date: Thu, 18 Jan 2024 13:26:34 UTC
On Thu, 18 Jan 2024 14:08:09 +0100
Matthias Apitz <guru@unixarea.de> wrote:

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

I plugged a Intenso USB3 stick into a USB3 port and got this: bcdUSB = 0x0320

I then plugged it into a USB2 port and got this: bcdUSB = 0x0210

Note that I executed usbconfig -v -d ugenX.Y in both cases.

So, I suspect that your Linux phone might only support USB2.

--
Gary Jennejohn