Opened 5 years ago
Closed 2 years ago
#15872 closed bug (fixed)
Our usb_serial lacks support for CH340 chips
Reported by: | hitech | Owned by: | 3dEyes |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Drivers/USB | Version: | R1/Development |
Keywords: | USB, serial | Cc: | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
We can program the original Arduino dev boards from Haiku via Arduino IDE, but not the cheap Arduino clone boards, because they use the CH340 chip. WCH is not supported in current Haiku release.
Opening the bug per PulkoMandy's request here.
Change History (4)
comment:1 by , 5 years ago
comment:2 by , 5 years ago
The FreeBSD/NetBSD sources are here: http://fxr.watson.org/fxr/source/dev/usb/serial/uchcom.c
The comment in line 64 is telling...
The linux sources are here: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/usb/serial/ch341.c
It should fit reasonably well with our device abstraction in the current driver.
comment:3 by , 2 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Manufacturer homepage: http://www.wch.cn/products/CH340.html
Datasheet doesn't appear to give much info about programming details, but maybe the Chinese version has a little more (it is the case for other WCH chips I work with). I'll see if the drivers they provide come with some example sources and try to write up some documentation about the chip.