Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jul 2023 00:58:09 +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@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272803

            Bug ID: 272803
           Summary: uchcom(4) does not support ch343, or ch34[2347]
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: usb
          Assignee: usb@FreeBSD.org
          Reporter: trombik1973@gmail.com

the ch343 chip is relatively new, but recent unofficial ESP32 dev boards, s=
uch
as WeAct Studio ESP32-C6 and ESP32-S3 Core, use the chip. according to the
linux source, there are other models, ch910[1234] as well. the kernel detec=
ts
it as a CDC device, but flashing does not work. reading serial output works.

ch341 linux driver: https://www.wch-ic.com/downloads/CH341SER_LINUX_ZIP.html
ch343 linux driver: https://github.com/WCHSoftGroup/ch343ser_linux/

dmesg and dump_device_desc:

Jul 30 07:44:09 t480s kernel: ugen0.6: <vendor 0x1a86 USB Single Serial> at
usbus0
Jul 30 07:44:09 t480s kernel: umodem0 on uhub1
Jul 30 07:44:09 t480s kernel: umodem0: <vendor 0x1a86 USB Single Serial, cl=
ass
2/0, rev 1.10/4.45, addr 5> on usbus0
Jul 30 07:44:09 t480s kernel: umodem0: data interface 1, has no CM over dat=
a,
has no break

ugen0.6: <vendor 0x1a86 USB Single Serial> at usbus0, cfg=3D0 md=3DHOST spd=
=3DFULL
(12Mbps) pwr=3DON (138mA)

  bLength =3D 0x0012=20
  bDescriptorType =3D 0x0001=20
  bcdUSB =3D 0x0110=20
  bDeviceClass =3D 0x0002  <Communication device>
  bDeviceSubClass =3D 0x0000=20
  bDeviceProtocol =3D 0x0000=20
  bMaxPacketSize0 =3D 0x0008=20
  idVendor =3D 0x1a86=20
  idProduct =3D 0x55d3=20
  bcdDevice =3D 0x0445=20
  iManufacturer =3D 0x0000  <no string>
  iProduct =3D 0x0002  <USB Single Serial>
  iSerialNumber =3D 0x0003  <5577032363>
  bNumConfigurations =3D 0x0001

--=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>