From nobody Sat Jan 20 09:39:40 2024 X-Original-To: freebsd-usb@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4THBKC33d9z56hR1 for ; Sat, 20 Jan 2024 09:39:43 +0000 (UTC) (envelope-from garyj@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "Telekom Security ServerID OV Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4THBKB6Z0nz4MjT for ; Sat, 20 Jan 2024 09:39:42 +0000 (UTC) (envelope-from garyj@gmx.de) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1705743581; x=1706348381; i=garyj@gmx.de; bh=U5I4tyqg3yHECn++mKgk+rAch82uz/o53mydgjuLFUE=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:In-Reply-To:References: Reply-To; b=Xslg/dj02sSRLdRxufIbCNtteXqs49z/Drqc09JwSCXSrvd2CsykIchGHbqErMDe NN3nQUpoyAo4bvELUi7R/CJ8na9fBdxN6JRXTyxLXrGhWG9nVzdQRwuvcgyS65+yS MYYIdyktI0OCuHwcHQTKmyd7nMyx4H1fYY1+ry6jXLuiec5PxKEIEm98DLERzLyzc KUpEVtKieuHILnlKo4vyLPNfg5rD6AhKaKyXzdYBxCstKHTA+RiKcW1vhEW0+9Pbt 2LXGvasU+IK2RD2MfyIlsRPCu9UA2eSzMxupWIQ1Ccfjnin7KtoZQsIAYN4u5frZU OnvQhprEROVHsLXl3w== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from ernst.home ([91.59.224.160]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N7zBR-1r4Fix3dMR-0154G1; Sat, 20 Jan 2024 10:39:40 +0100 Date: Sat, 20 Jan 2024 09:39:40 +0000 From: Gary Jennejohn To: Matthias Apitz Cc: freebsd-usb@freebsd.org Subject: Re: USB key is 2.0 or 3.0 Message-ID: <20240120103940.329ecff8@ernst.home> In-Reply-To: References: <20240118142634.69f7d675@ernst.home> <20240119152419.03ddec41@ernst.home> Reply-To: garyj@gmx.de X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-usb List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:YsZRKjX8Gs9T7FsTmNzm2CgcVRG5Ohoj0N0+prm/CfWbHT+0f7a HVXpXLoF0neAaDu4AQp5YD9fqIP5eqRwoLLw0iDEfutQ2gu0nibNSMCZE4D0SpmZXYJjlKE RnK/o2ZFfIPmhRyiw1ce8rj6d/JdvUbhSmG+sJ2pVgaHaEQ3vPmhR4RYUVLp7/dH8xtQzvR fvmLzFhS62w58j5AK9MyQ== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:riCLjhceBTs=;gikaHJkfMc3b4D515qGq80F47Nl QFHGtTGdOTiQxh2EJqwd2dWK3cKzR3IGIvtD5x72Vcs/6+3KJuvSJk10Y79srOnXhp2f/zYnL L0aqkyebrk7Fodsci97F6R6VLllhbJoFfr1Tx43hPFdCajEvWP+UXD6HYixR2agjOOBFWvO/D 3eyDO4/q2VYsvQyAH3KznDXSc71rdVyynO2Vq9J3ANOzlkrv+x8SvpCBiFTL1hFSMbzPskh5H dkkkcpSYme6E3Q94lFedDBHWY1KbMoCz+WGhSp8+vtpsOWND5EAHEPh8V5TIv5Yn0sBdvxQ8l LOzfGA4K3AiJPAFWLivRxuX+ElbvgmxBQ7JuvVv6lH9cdrxZ4iAQdQNt7favmL3QVqzWIffVJ P39EQR9gTjT6RYWAuFWCWInNborwLj8jRgu6m3Czw7ewywBzTx4oLT4/3SvxheXFTyXM62kS7 e7fKirboL97rGGu90r2o2BQzZspdOEguBlEecabN9gt838UyNgkZafc/LBa8vXaKdZpq2yAim CPRbsmITc3inas7iuIG2HgwjprGoxhI9eth4X07dH5NtiXcB4a1YtWDA3d5eCORl7mgMQ8XN4 MfzH4s4gO3ZyJASCfBeM5eXyfK+5ikDGaasOq1MmZa/yXVH1b21vw+2QEwlEDRkzJrD9+d6eH 5AuIp/MSzexYeCqBBolj5JT1RoPsu5TCsCQyfMjHnxnH4roa+RjUT87MuL/XcwfyzB792A3+U jyxM/xbu7fJQipuRghHiBtl/jU2PVa+aHFTQuPG66fM7JsVTjPBmCuLRGT3UxfkbDIr/cFkfw S+d8nnEI04neTWi1YhQsjAL4ROyyHunXNpTrSqgCnO2DQwlPlYxqkweaGCELUh49Y2F59tzT/ q7dYFypPXltiSS5qimn6qjLhwIgQnsWcwAzrHXCSf3vviwTs4ngrVtUJ08WlzV04UiqxZ4AyX YgFQdQ== X-Rspamd-Queue-Id: 4THBKB6Z0nz4MjT X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE] On Sat, 20 Jan 2024 08:53:58 +0100 Matthias Apitz 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: at usbus0 > Jan 20 08:36:09 c720-1400094 kernel: umass0 on uhub0 > Jan 20 08:36:09 c720-1400094 kernel: umass0: 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: 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 > Jan 20 08:36:17 c720-1400094 kernel: ugen0.4: 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