From nobody Thu Oct 20 22:08:18 2022 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 4Mthbh561Sz4fV24 for ; Thu, 20 Oct 2022 22:09:52 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from midget.dons.net.au (2403-5800-5200-4700-225-90ff-fe47-39b4.ip6.aussiebb.net [IPv6:2403:5800:5200:4700:225:90ff:fe47:39b4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "dons.net.au", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Mthbd5yvcz3Tr1 for ; Thu, 20 Oct 2022 22:09:49 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from midget.dons.net.au (localhost [127.0.0.1]) by midget.dons.net.au (8.17.1/8.16.1) with ESMTPS id 29KM8ubD002448 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Fri, 21 Oct 2022 08:38:57 +1030 (ACDT) (envelope-from darius@dons.net.au) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dons.net.au; s=default; t=1666303749; bh=s8iMLTv+++xW8BOvY0Zx7BU3lXtLJ8QFR0EiLv0g76w=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=WK4BIIsyEiKFMDivRtGtAaPgTLZB7F3+I+GDxW1pGgKVTYDyGgN0rzvCDCaXSuaWg fr5P1ajVtA1IdH4BG5DT+TS/SIGG1dlE+Gnq4XtlxONZo9NfQeQo/N24nuZInfjsxz HKXYkD6nAtslbBeCHS+gHzMGlsds1hAUdfUSXli0= Received: (from mailnull@localhost) by midget.dons.net.au (8.17.1/8.16.1/Submit) id 29KM8QY1002435 for ; Fri, 21 Oct 2022 08:38:26 +1030 (ACDT) (envelope-from darius@dons.net.au) X-MIMEDefang-Relay-a1a524833438212bf543e143edafb27bc4d2c346: 2403:5800:5200:4700:fdf3:3060:da8f:85e8 Received: from smtpclient.apple ([IPv6:2403:5800:5200:4700:fdf3:3060:da8f:85e8] [2403:5800:5200:4700:fdf3:3060:da8f:85e8]) by 2403-5800-5200-4700-225-90ff-fe47-39b4.ip6.aussiebb.net (envelope-sender ) (MIMEDefang) with ESMTP id 29KM8Qf6002425; Fri, 21 Oct 2022 08:38:26 +1030 Content-Type: text/plain; charset=us-ascii 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 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Subject: Re: Failed control transfer From: "Daniel O'Connor" In-Reply-To: <35becb82-2731-af5c-810e-312b91cc14c4@selasky.org> Date: Fri, 21 Oct 2022 08:38:18 +1030 Cc: freebsd-usb@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <7FF9CB5C-26B0-4DBA-B7E4-80DBF50A80BB@dons.net.au> <7e1de023-094f-4247-146d-9e8f498ae0e7@selasky.org> <577bcb8a-b2ab-8d38-b657-0d085a8a2df6@selasky.org> <75c25972-e998-c7f2-578f-31a364554fd7@selasky.org> <8F91F636-2536-4405-90B0-8F1DA3C417CE@dons.net.au> <35becb82-2731-af5c-810e-312b91cc14c4@selasky.org> To: Hans Petter Selasky X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Spam-Score: 1.3 (*) No, score=1.3 required=5.0 tests=RDNS_NONE,SPF_HELO_NONE, T_SPF_PERMERROR autolearn=no autolearn_force=no version=3.4.5 X-Scanned-By: MIMEDefang 2.84 on 10.0.2.1 X-Rspamd-Queue-Id: 4Mthbd5yvcz3Tr1 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=dons.net.au header.s=default header.b=WK4BIIsy; dmarc=pass (policy=quarantine) header.from=dons.net.au; spf=pass (mx1.freebsd.org: domain of darius@dons.net.au designates 2403:5800:5200:4700:225:90ff:fe47:39b4 as permitted sender) smtp.mailfrom=darius@dons.net.au X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[dons.net.au,quarantine]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[dons.net.au:s=default]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-usb@freebsd.org]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[dons.net.au:+]; TO_DN_SOME(0.00)[]; ASN(0.00)[asn:4764, ipnet:2403:5800::/32, country:AU]; PREVIOUSLY_DELIVERED(0.00)[freebsd-usb@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N > On 20 Oct 2022, at 23:39, Hans Petter Selasky wrote: >=20 > On 10/12/22 05:56, Daniel O'Connor wrote: >>> On 11 Oct 2022, at 22:12, Hans Petter Selasky = wrote: >>>> What does "usbdump -i usbusX -f Y -s 65536 -vvv" say? >>>=20 >>> Maybe you should trace using usbdump from the start of attachment. >> Sorry to waste your time I just realised my mistake.. >> When it was connected to Linux/MacOS a tool automatically ran which = silently patched(!) the Cypress FX2 code (it reset the CPU but didn't = cause a reconnection so I didn't notice). >> After the code is patched the serial number command works (but = xc3sprog blows up because it changes the protocol) >=20 > Cool! Well I'm glad it wasn't FreeBSD but it was a pretty sneaky trick by = Xilinx! -- Daniel O'Connor "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum