Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Nov 2021 11:06:57 +1030
From:      Daniel O'Connor via hackers <hackers@freebsd.org>
To:        Daniel Braniss <danny@cs.huji.ac.il>
Cc:        freebsd- <hackers@freebsd.org>
Subject:   Re: usb serial - need quirk?
Message-ID:  <20F9C20E-BB89-4FC1-A339-171447368AD2@dons.net.au>
In-Reply-To: <11EBCD70-3259-4E4D-8B9C-9F25364BC73C@cs.huji.ac.il>
References:  <11EBCD70-3259-4E4D-8B9C-9F25364BC73C@cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help


> On 29 Nov 2021, at 03:39, Daniel Braniss <danny@cs.huji.ac.il> wrote:
>=20
> hi,
> this usb device (actually the micro usb on a esp32c3) is reported by =
FreeBSD 12.1 as:
> ugen0.10: <vendor 0x1a86 USB Single Serial> 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: <vendor 0x1a86 USB Single =
Serial> at usbus0
> Nov 28 19:02:19 pampa kernel: umodem0 on uhub3
> Nov 28 19:02:19 pampa kernel: umodem0: <vendor 0x1a86 USB Single =
Serial, class 2/0, rev 1.10/4.43, addr 16> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20F9C20E-BB89-4FC1-A339-171447368AD2>