Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Feb 2022 11:20:34 +0200
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        Daniel O'Connor <darius@dons.net.au>
Cc:        freebsd- <hackers@freebsd.org>, "usb@freebsd.org" <usb@FreeBSD.org>
Subject:   Re: usb CH9102 serial chip
Message-ID:  <C07DE6BE-65AB-43FA-8C52-2A7D0197767E@cs.huji.ac.il>
In-Reply-To: <7DD6E1FA-3EA4-44D9-A272-9E51FB9F2BFC@dons.net.au>
References:  <C8258774-B183-48DD-905F-260F5999152C@cs.huji.ac.il> <7DD6E1FA-3EA4-44D9-A272-9E51FB9F2BFC@dons.net.au>

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


> On 17 Feb 2022, at 11:09, Daniel O'Connor <darius@dons.net.au> wrote:
>=20
>=20
>=20
>> On 17 Feb 2022, at 17:47, Daniel Braniss <danny@cs.huji.ac.il> wrote:
>> is there some quirk to enable this chip?
>> it=E2=80=99s an new riskv esp32 board but I can only use the usb to =
download software, no console output from it.
>=20

> Are you saying that you can flash the board with it?
>=20
> If that is the case then the chip/driver are working fine since that =
requires bidirectional communication etc..
>=20

but that works only if I power up the board while pressing a button, =
then it also appears as /dev/ttyU0, and
so then I can flash, after reset, the device is gone and there are =
errors ( BTW, the flashed image workes):

Feb 17 09:46:59 pampero kernel: usbd_setup_device_desc: getting device =
descriptor at addr 4 failed, USB_ERR_IOERROR
Feb 17 09:47:00 pampero kernel: usbd_req_re_enumerate: addr=3D4, set =
address failed! (USB_ERR_IOERROR, ignored)
Feb 17 09:47:01 pampero kernel: usbd_setup_device_desc: getting device =
descriptor at addr 4 failed, USB_ERR_IOERROR
Feb 17 09:47:01 pampero kernel: usbd_req_re_enumerate: addr=3D4, set =
address failed! (USB_ERR_IOERROR, ignored)
Feb 17 09:47:03 pampero kernel: usbd_setup_device_desc: getting device =
descriptor at addr 4 failed, USB_ERR_IOERROR
Feb 17 09:47:03 pampero kernel: usbd_req_re_enumerate: addr=3D4, set =
address failed! (USB_ERR_IOERROR, ignored)
Feb 17 09:47:05 pampero kernel: usbd_setup_device_desc: getting device =
descriptor at addr 4 failed, USB_ERR_IOERROR
Feb 17 09:47:06 pampero kernel: usbd_req_re_enumerate: addr=3D4, set =
address failed! (USB_ERR_IOERROR, ignored)
Feb 17 09:47:08 pampero kernel: usbd_setup_device_desc: getting device =
descriptor at addr 4 failed, USB_ERR_IOERROR
Feb 17 09:47:08 pampero kernel: ugen0.4: <Unknown > at usbus0 =
(disconnected)
Feb 17 09:47:08 pampero kernel: uhub_reattach_port: could not allocate =
new device


> --
> Daniel O'Connor
> "The nice thing about standards is that there
> are so many of them to choose from."
> -- Andrew Tanenbaum
>=20

cheers,
	danny





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C07DE6BE-65AB-43FA-8C52-2A7D0197767E>