# ch343 linux serial driver
## Description
USB to UART(s) chip ch342/ch343/ch344/ch347/ch9101/ch9102/ch9103/ch9143 are fully compliant to the Communications Device Class (CDC) standard, they will work with a standard CDC-ACM driver (CDC - Abstract Control Model). Linux operating systems supply a default CDC-ACM driver that can be used with these USB UART devices. In Linux, this driver file name is cdc-acm.
The CDC-ACM driver has limited capabilities to control specific devices. This generic driver does not have any knowledge about specific device protocols. Because of this, device manufacturers can create an alternate, or custom driver that is capable of accessing the device specific function sets, such as hardware flow control or GPIO functions.
If you use this VCP driver, please check that the CDC-ACM driver was not installed for the USB UART devices mentioned above. You can use command "ls /dev/ttyACM*" to confirm that, to remove the CDC-ACM driver, use command "rmmod cdc-acm".
This driver supports USB to single serial port chip ch343/ch9101/ch9102/ch9143, USB to dual serial ports chip ch342/ch347/ch9103, USB to quad serial ports chip ch344, etc.
1. Open "Terminal"
2. Switch to "driver" directory
3. Compile the driver using "make", you will see the module "ch343.ko" if successful
4. Type "sudo make load" or "sudo insmod ch343.ko" to load the driver dynamically
5. Type "sudo make unload" or "sudo rmmod ch343.ko" to unload the driver
6. Type "sudo make install" to make the driver work permanently
7. Type "sudo make uninstall" to remove the driver
8. You can refer to the link below to acquire uart application, you can use gcc or Cross-compile with cross-gcc
https://github.com/WCHSoftGroup/tty_uart
Before the driver works, you should make sure that the usb device has been plugged in and is working properly, you can use shell command "lsusb" or "dmesg" to confirm that, USB VID of these devices are [1A86], you can view all IDs from the id table which defined in "ch343.c".
If the device works well, the driver will created tty devices named "ttyCH343USBx" in /dev directory.
## Note
Any question, you can send feedback to mail: tech@wch.cn
没有合适的资源?快使用搜索试试~ 我知道了~
USB串口 CH343-linux驱动
共24个文件
cmd:6个
c:4个
ko:2个
5星 · 超过95%的资源 需积分: 5 5 下载量 183 浏览量
2022-11-10
10:07:41
上传
评论
收藏 345KB ZIP 举报
温馨提示
查看内核命令uname -r, 包含两个版本 5.15前和5.15版编译出的文件
资源推荐
资源详情
资源评论
收起资源包目录
ch343ser_linux-main.zip (24个子文件)
内核5.15
.ch343.o.cmd 43KB
ch343.mod.o 55KB
Module.symvers 0B
.modules.order.cmd 249B
ch343.o 421KB
ch343.c 42KB
ch343.mod.c 4KB
.ch343.mod.o.cmd 30KB
.ch343.mod.cmd 223B
.ch343.ko.cmd 338B
ch343.mod 65B
Makefile 681B
ch343.h 5KB
modules.order 65B
.Module.symvers.cmd 299B
ch343.ko 474KB
README.md 2KB
内核小于5.15
driver
Module.symvers 0B
ch343.c 42KB
ch343.mod.c 1KB
Makefile 681B
ch343.h 5KB
modules.order 76B
ch343.ko 47KB
共 24 条
- 1
资源评论
- 一道恒常2023-03-22亲测可以用,如果不行就看里面的readme文件,删除一个冲突的驱动 #完美解决问题
西早矢日
- 粉丝: 0
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功