From nobody Mon Nov 29 00:36:57 2021 X-Original-To: hackers@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 6831C189BCFD for ; Mon, 29 Nov 2021 00:37:46 +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 4J2RJn305pz3M8N for ; Mon, 29 Nov 2021 00:37:44 +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.16.1/8.16.1) with ESMTPS id 1AT0bRst092176 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Mon, 29 Nov 2021 11:07:27 +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=1638146251; bh=LcZljnnueZImvrlwq+dXR/p1iJCbbevdQ6V1d2fU67E=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=OaiTfxiUV72aCTDBEowyP1IkwQ9IrcOgviCEiL34jC/t5ysr9KezLf0cpom7qI5wa uniZfqfVemwZmJyFOmCzlqMz9B6Vmrp/0Syyj2Y8SPBVKnGOFTIlJzAxuQCa9NjpGb CCZQSLF/B11mkiIn5EPRFHY2k6OndpsRT4A7QLuA= Received: (from mailnull@localhost) by midget.dons.net.au (8.16.1/8.16.1/Submit) id 1AT0awq4092168 for ; Mon, 29 Nov 2021 11:06:58 +1030 (ACDT) (envelope-from darius@dons.net.au) X-MIMEDefang-Relay-f0f0b4ff001831caa5b8ac39868c4c7e9b4d12fc: 2001:44b8:1d2:8900:a9cb:700e:9980:3d76 Received: from smtpclient.apple ([IPv6:2001:44b8:1d2:8900:a9cb:700e:9980:3d76] [2001:44b8:1d2:8900:a9cb:700e:9980:3d76]) by 2403-5800-5200-4700-225-90ff-fe47-39b4.ip6.aussiebb.net (envelope-sender ) (MIMEDefang) with ESMTP id 1AT0avY0092163; Mon, 29 Nov 2021 11:06:58 +1030 Content-Type: text/plain; charset=utf-8 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: usb serial - need quirk? In-Reply-To: <11EBCD70-3259-4E4D-8B9C-9F25364BC73C@cs.huji.ac.il> Date: Mon, 29 Nov 2021 11:06:57 +1030 Cc: freebsd- Content-Transfer-Encoding: quoted-printable Message-Id: <20F9C20E-BB89-4FC1-A339-171447368AD2@dons.net.au> References: <11EBCD70-3259-4E4D-8B9C-9F25364BC73C@cs.huji.ac.il> To: Daniel Braniss X-Mailer: Apple Mail (2.3654.120.0.1.13) 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.4 X-Scanned-By: MIMEDefang 2.83 on 10.0.2.1 X-Rspamd-Queue-Id: 4J2RJn305pz3M8N X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] Reply-To: darius@dons.net.au From: Daniel O'Connor via hackers X-Original-From: Daniel O'Connor X-ThisMailContainsUnwantedMimeParts: N > On 29 Nov 2021, at 03:39, Daniel Braniss wrote: >=20 > hi, > this usb device (actually the micro usb on a esp32c3) is reported by = FreeBSD 12.1 as: > ugen0.10: at usbus0, cfg=3D0 md=3DHOST= spd=3DFULL (12Mbps) pwr=3DON (134mA) >=20 > and dimes shows: >=20 > Nov 28 19:02:19 pampa kernel: ugen0.10: at usbus0 > Nov 28 19:02:19 pampa kernel: umodem0 on uhub3 > Nov 28 19:02:19 pampa kernel: umodem0: on usbus0 > Nov 28 19:02:19 pampa kernel: umodem0: data interface 1, has no CM = over data, has no break >=20 > it=E2=80=99s the last line that I think is causing failure to flash = the device (probably needs the break to set the speed?) Why would it need break to set the speed? > any ways, is there some fix for this? You didn't actually post the problem you are having so it's impossible = to say :) I assume esptool fails but it would be helpful if you posted the output. I haven't used an ESP32-C3 but all of the other ESP's don't have USB = built in so it depends what USB UART you have on your board - any idea = which one it it? -- Daniel O'Connor "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum