Created attachment 234641 [details] a patch to detect CH340K uchcom(4) does not detect CH340K, which is often used in cheap ESP32 development boards. Bug #260783 added the USB ID, but does not attach the device on my CURRENT (dc484aed0a014de0fdf33d972c36413da6903a2e, May 9). the patch fixes it. ugen0.7: <vendor 0x1a86 USB Serial> at usbus0 uchcom0 on uhub1 uchcom0: <vendor 0x1a86 USB Serial, rev 1.10/2.64, addr 6> on usbus0 uchcom0: CH341 detected
Looks like a chunk was missing from the initial PR #260783 .
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=f25a0a0f21183a52eeb4a860a88114aebec5f249 commit f25a0a0f21183a52eeb4a860a88114aebec5f249 Author: Hans Petter Selasky <hselasky@FreeBSD.org> AuthorDate: 2022-06-12 14:40:36 +0000 Commit: Hans Petter Selasky <hselasky@FreeBSD.org> CommitDate: 2022-06-12 14:42:03 +0000 uchcom(4): Add new USB ID. PR: 260783 PR: 264634 MFC after: 1 week Sponsored by: NVIDIA Networking sys/dev/usb/serial/uchcom.c | 1 + 1 file changed, 1 insertion(+)
A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=0b5f08439d27ecbfa4b4c20acef64fbad66e978a commit 0b5f08439d27ecbfa4b4c20acef64fbad66e978a Author: Hans Petter Selasky <hselasky@FreeBSD.org> AuthorDate: 2022-06-12 14:40:36 +0000 Commit: Hans Petter Selasky <hselasky@FreeBSD.org> CommitDate: 2022-06-20 11:08:39 +0000 uchcom(4): Add new USB ID. PR: 260783 PR: 264634 Sponsored by: NVIDIA Networking (cherry picked from commit f25a0a0f21183a52eeb4a860a88114aebec5f249) sys/dev/usb/serial/uchcom.c | 1 + 1 file changed, 1 insertion(+)