USB: serial: ch341: Add product ID for CH9102
Subsystems (2)
PATCH 1/1 USB: serial: ch341: Add product ID for CH9102
Adds a PID for the CH9102 chipset that can be found in some cheap ESP development boards.
Example: LILYGO T-Display (and its S3 variant)
https://lilygo.cc/products/lilygo%C2%AE-ttgo-t-display-1-14-inch-lcd-esp32-control-board
After patching the driver to include idProduct=0x55d4 the devices work as expected.
--- drivers/usb/serial/ch341.c | 1 + 1 file changed, 1 insertion(+)
drivers/usb/serial/ch341.c +1 -0
@@ -81,6 +81,7 @@#define CH341_QUIRK_SIMULATE_BREAK BIT(1)static const struct usb_device_id id_table[] = { + {USB_DEVICE (0x1a86 ,0x55d4 ) }, {USB_DEVICE (0x1a86 ,0x5523 ) }, {USB_DEVICE (0x1a86 ,0x7522 ) }, {USB_DEVICE (0x1a86 ,0x7523 ) },
Signature · 1 line
2.45.2
Johan Hovold
maintainerQuoted 8 lines · Blake LaFleur
Adds a PID for the CH9102 chipset that can be found in some cheap ESP development boards.
Example: LILYGO T-Display (and its S3 variant)
https://lilygo.cc/products/lilygo%C2%AE-ttgo-t-display-1-14-inch-lcd-esp32-control-boardAfter patching the driver to include idProduct=0x55d4 the devices work as expected.
Thanks for the patch. This is the first time I hear of CH9102.
Are there any errors or messages at all in the logs when you use this device or does it appear to be perfectly compatible with the older models?
Could you post the output of lsusb -v (with masked serial numbers if you prefer) so we have a record of any type identifying information should it ever be needed?
Quoted 10 lines
Signed-off-by Blake LaFleur <[email protected]>--- drivers/usb/serial/ch341.c | 1 + 1 file changed, 1 insertion(+)drivers/usb/serial/ch341.c +0
-0
drivers/usb/serial/ch341.c line 84
Quoted 4 lines
drivers/usb/serial/ch341.c +1
-0@@ -81,6 +81,7 @@#define CH341_QUIRK_SIMULATE_BREAK BIT(1)static const struct usb_device_id id_table[] = { + {USB_DEVICE (0x1a86 ,0x55d4 ) },
nit: please try to keep the entries sorted by pid.
drivers/usb/serial/ch341.c line 87
Quoted 3 lines
drivers/usb/serial/ch341.c +0
-0{ USB_DEVICE(0x1a86, 0x5523) }, { USB_DEVICE(0x1a86, 0x7522) }, { USB_DEVICE(0x1a86, 0x7523) },
Johan
Johan Hovold
maintainerQuoted 7 lines · Johan Hovold
Quoted 6 lines · Blake LaFleur
Adds a PID for the CH9102 chipset that can be found in some cheap ESP development boards.
Example: LILYGO T-Display (and its S3 variant)
https://lilygo.cc/products/lilygo%C2%AE-ttgo-t-display-1-14-inch-lcd-esp32-control-board
Quoted 8 lines
Quoted 2 lines
After patching the driver to include idProduct=0x55d4 the devices work as expected.
Thanks for the patch. This is the first time I hear of CH9102.
Are there any errors or messages at all in the logs when you use this device or does it appear to be perfectly compatible with the older models?
For the record, Blake reported off list that this device is in fact a CDC-ACM device.
There is a vendor driver here:
https://github.com/WCHSoftGroup/ch343ser_linux
Johan