Date: Sun, 20 Apr 2025 05:30:57 +0000 From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 272803] uchcom(4) does not support ch343, or ch34[2347] Message-ID: <bug-272803-19105-J62vh1kYzx@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-272803-19105@https.bugs.freebsd.org/bugzilla/> References: <bug-272803-19105@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272803 --- Comment #15 from Tomasz "CeDeROM" CEDRO <tomek@cedro.info> --- Hello world :-) Thank you kevlo for the patch! I have tried https://reviews.freebsd.org/D46= 290 but it does not solve the problem :-( * patch is applied and built correctly on top of 14.2-RELEASE(-p3). * new driver reports found CH343 chip so the patch is used. * esptool now cannot detect target with control lines reset. * when setting chip by hand to download mode (boot+reset keys) stub still d= oes not upload (timeout as before), additionally esptool complains that TX seem= s to be stuck. FreeBSD 14.2-RELEASE(-p3), esptool 4.8.1, ESP32-S3 on WaveShare's ESP32-S3-Touch-LCD-1.28: % usbconfig -d0.7 dump_device_desc ugen0.7: <vendor 0x1a86 USB Single Serial> at usbus0, cfg=3D0 md=3DHOST spd= =3DFULL (12Mbps) pwr=3DON (138mA) bLength =3D 0x0012 bDescriptorType =3D 0x0001 bcdUSB =3D 0x0110 bDeviceClass =3D 0x0002 <Communication device> bDeviceSubClass =3D 0x0000 bDeviceProtocol =3D 0x0000 bMaxPacketSize0 =3D 0x0008 idVendor =3D 0x1a86 idProduct =3D 0x55d3 bcdDevice =3D 0x0445 iManufacturer =3D 0x0000 <no string> iProduct =3D 0x0002 <USB Single Serial> iSerialNumber =3D 0x0003 <585A009243> bNumConfigurations =3D 0x0001 The same esptool works fine on other ESP32* boards with usb-uart chips other than ECH i.e. CP or FT. Looking at the various forums threads this problem is clearly related to CH= 343 chip driver, on macOS it is solved by installing proprietary driver that so= lves the problem. I have some USB sniffer and an oscilloscope and many different boards with = that WCH chip and/or ESP32 chips.. how can I help? :-) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272803-19105-J62vh1kYzx>