Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jan 2024 09:39:40 +0000
From:      Gary Jennejohn <garyj@gmx.de>
To:        Matthias Apitz <guru@unixarea.de>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: USB key is 2.0 or 3.0
Message-ID:  <20240120103940.329ecff8@ernst.home>
In-Reply-To: <Zat8Ft8kml-6R96_@c720-1400094>
References:  <ZakiueSm0dPskpSr@pureos> <20240118142634.69f7d675@ernst.home> <ZalgOl6WJZ7vyXyL@c720-1400094> <20240119152419.03ddec41@ernst.home> <Zat8Ft8kml-6R96_@c720-1400094>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 20 Jan 2024 08:53:58 +0100
Matthias Apitz <guru@unixarea.de> wrote:

> El d=EDa viernes, enero 19, 2024 a las 02:24:19p. m. +0000, Gary Jennejo=
hn escribi=F3:
>
> > You could try running usbdump(8).  Be aware that you need device bpf a=
nd
> > perhaps options DEV_BPF in your kernel config file if you aren't runni=
ng a
> > GENERIC kernel.
> >
[SNIP]
> > So, if your disk shows SPD=3DSUPER and the thumb drives show SPD=3DHIG=
H
> > then the thumb drives are NOT USB3.
>
> I did the above tests with the 'hama' USB key; it shows:
>
> $ tail -5 hama.dmp.txt
> 08:15:12.873247 usbus0.4 DONE-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D1,SLEN=
=3D0,IVAL=3D0,ERR=3D0
> 08:15:12.873254 usbus0.4 SUBM-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEN=
=3D0,IVAL=3D0
> 08:15:12.874636 usbus0.4 DONE-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEN=
=3D36,IVAL=3D0,ERR=3D0
> 08:15:12.874642 usbus0.4 SUBM-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEN=
=3D0,IVAL=3D0
> 08:15:12.874884 usbus0.4 DONE-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEN=
=3D16,IVAL=3D0,ERR=3D0
>
> Then I used an extrernal Western Digital USB disk, which presents itself
> in /var/log/messages as:
>
> Jan 20 08:36:07 c720-1400094 kernel: usb_msc_auto_quirk: UQ_MSC_NO_GETMA=
XLUN set for USB mass storage device Western Digital Elements 2621 (0x1058=
:0x2621)
> Jan 20 08:36:07 c720-1400094 kernel: usb_msc_auto_quirk: UQ_MSC_NO_TEST_=
UNIT_READY set for USB mass storage device Western Digital Elements 2621 (=
0x1058:0x2621)
> Jan 20 08:36:09 c720-1400094 kernel: usb_msc_auto_quirk: UQ_MSC_NO_SYNC_=
CACHE set for USB mass storage device Western Digital Elements 2621 (0x105=
8:0x2621)
> Jan 20 08:36:09 c720-1400094 kernel: usb_msc_auto_quirk: UQ_MSC_NO_PREVE=
NT_ALLOW set for USB mass storage device Western Digital Elements 2621 (0x=
1058:0x2621)
> Jan 20 08:36:09 c720-1400094 kernel: usb_msc_auto_quirk: UQ_MSC_NO_TEST_=
UNIT_READY set for USB mass storage device Western Digital Elements 2621 (=
0x1058:0x2621)
> Jan 20 08:36:09 c720-1400094 kernel: usb_msc_auto_quirk: UQ_MSC_NO_START=
_STOP set for USB mass storage device Western Digital Elements 2621 (0x105=
8:0x2621)
> Jan 20 08:36:09 c720-1400094 kernel: ugen0.4: <Western Digital Elements =
2621> at usbus0
> Jan 20 08:36:09 c720-1400094 kernel: umass0 on uhub0
> Jan 20 08:36:09 c720-1400094 kernel: umass0: <Western Digital Elements 2=
621, class 0/0, rev 3.10/10.26, addr 4> on usbus0
> Jan 20 08:36:09 c720-1400094 kernel: umass0:  SCSI over Bulk-Only; quirk=
s =3D 0xc105
> Jan 20 08:36:09 c720-1400094 kernel: umass0:1:0: Attached to scbus1
> Jan 20 08:36:10 c720-1400094 kernel: da0 at umass-sim0 bus 0 scbus1 targ=
et 0 lun 0
> Jan 20 08:36:10 c720-1400094 kernel: da0: <WD Elements 2621 1026> Fixed =
Direct Access SPC-4 SCSI device
> Jan 20 08:36:10 c720-1400094 kernel: da0: Serial Number 57584B3141323941=
52334B33
> Jan 20 08:36:10 c720-1400094 kernel: da0: 400.000MB/s transfers
> Jan 20 08:36:10 c720-1400094 kernel: da0: 1907697MB (3906963456 512 byte=
 sectors)
> Jan 20 08:36:10 c720-1400094 kernel: da0: quirks=3D0x2<NO_6_BYTE>
> Jan 20 08:36:17 c720-1400094 kernel: ugen0.4: <Western Digital Elements =
2621> at usbus0 (disconnected)
>
> and the usbdump shows:
>
> $ tail -5 WD.dmp.txt
> 08:36:10.663903 usbus0.4 DONE-BULK-EP=3D00000002,SPD=3DSUPER,NFR=3D1,SLE=
N=3D0,IVAL=3D0,ERR=3D0
> 08:36:10.663906 usbus0.4 SUBM-BULK-EP=3D00000081,SPD=3DSUPER,NFR=3D1,SLE=
N=3D0,IVAL=3D0
> 08:36:10.664158 usbus0.4 DONE-BULK-EP=3D00000081,SPD=3DSUPER,NFR=3D1,SLE=
N=3D512,IVAL=3D0,ERR=3D0
> 08:36:10.664161 usbus0.4 SUBM-BULK-EP=3D00000081,SPD=3DSUPER,NFR=3D1,SLE=
N=3D0,IVAL=3D0
> 08:36:10.664411 usbus0.4 DONE-BULK-EP=3D00000081,SPD=3DSUPER,NFR=3D1,SLE=
N=3D16,IVAL=3D0,ERR=3D0
>
> Thanks in advance for further comments
>

It shouldn't be a power problem since the HDD needs more power than
a thumb drive and from what I can find in a search the Western Digital
Elements 2621 doesn't have a separate power supply.

Can you send them back to wherever you bought them and demand replacements=
?
A reputable seller shouldn't have a problem with that.

I have a number of Intenso 128GB USB3.2 thumb drives and I've never had a
problem with them.

Unfortunately, there are lots of counterfeit thumb drives in the wild and
you might be a victim.

=2D-
Gary Jennejohn



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