Re: [PATCH v8 1/2] usb: serial: add support for CH348

From: David Heidelberg
Date: Sun Mar 30 2025 - 18:12:02 EST


If another Tested-by is needed to get this in, I can build kernel w/ driver and give it shot too.

Thanks for your work & testing!

On 30/03/2025 03:24, Nicolas Frattaroli wrote:
On Tue, 4 Feb 2025 13:58:40 +0000 Corentin Labbe wrote:
The CH348 is an USB octo port serial adapter.
The device multiplexes all 8 ports in the same pair of Bulk endpoints.
Since there is no public datasheet, unfortunately it remains some magic
values

Signed-off-by: Corentin Labbe <clabbe@xxxxxxxxxxxx>
---
drivers/usb/serial/Kconfig | 9 +
drivers/usb/serial/Makefile | 1 +
drivers/usb/serial/ch348.c | 736 ++++++++++++++++++++++++++++++++++++
3 files changed, 746 insertions(+)
create mode 100644 drivers/usb/serial/ch348.c


Tested-by: Nicolas Frattaroli <frattaroli.nicolas@xxxxxxxxx>

Quickly gave this another test by just connecting two ports of a CH348 device
together and making sure data arrives unchowdered at the other end when sending
at full speed with various baud rates. Seems to work about as well as I
expected my jumper wires to hold up at higher baudrates.

I'll likely use this to lessen the pile of active USB-to-serial devices on my
desk while working, so many thanks for keeping up the good work on the driver.
That way it'll also get some more in-depth real world testing in th e coming
weeks, but I doubt it needs more testing at this stage.

Regards,
Nicolas Frattaroli

--
David Heidelberg