From nobody Thu Oct 20 13:09:22 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 4MtScG0Q02z4gmZ1 for ; Thu, 20 Oct 2022 13:09:34 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4MtScF1fdVz3rJq for ; Thu, 20 Oct 2022 13:09:33 +0000 (UTC) (envelope-from hps@selasky.org) Received: from [10.36.2.68] (unknown [178.232.223.95]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 116382601C4; Thu, 20 Oct 2022 15:09:28 +0200 (CEST) Message-ID: <35becb82-2731-af5c-810e-312b91cc14c4@selasky.org> Date: Thu, 20 Oct 2022 15:09:22 +0200 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 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 Subject: Re: Failed control transfer Content-Language: en-US To: Daniel O'Connor Cc: freebsd-usb@freebsd.org 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> From: Hans Petter Selasky In-Reply-To: <8F91F636-2536-4405-90B0-8F1DA3C417CE@dons.net.au> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4MtScF1fdVz3rJq X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 2a01:4f8:c17:6c4b::2 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-3.30 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.999]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-usb@freebsd.org]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE]; MIME_TRACE(0.00)[0:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[selasky.org]; TO_DN_SOME(0.00)[]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N 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? >> >> 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) > Cool! --HPS