Code Monkey home page Code Monkey logo

ch34x_driver_v1.11's Introduction

CH34x_driver_v1.11

WCH公司的CH34x系列芯片的驱动程序,版本号V1.11

原厂驱动包README.md

  1. BUILDING $ sudo make

  2. LOAD $ sudo make load or you can use $ sudo insmod ch34x.ko

  3. UNLOAD $ sudo make unload or you can use $ sudo rmmod ch34x.ko

  4. AUTOLOAD SINCE BOOT $ sudo make install

  5. CANCEL AUTOLOAD SINCE BOOT $ sudo make uninstall

Note If you wanna look up more details, please open debug switch(DEBUG && VERBOSE_DEBUG) in ch34x.c Any question, you can send feedback to mail: [email protected]

编译安装方法:

测试环境: Ubuntu18.04.3 Desktop root权限

  1. 安装环境:
# apt install git make gcc dkms libelf-dev
  1. 移除旧驱动文件:

这里用备份的方式代替删除,备份好习惯。

# cd /lib/modules/${uname -r}/kernel/drivers/usb/serial/
# mv ch341.ko ch341.ko.backup
  1. 进入到驱动代码仓库以及编译

请选择合适的仓库存放位置

# git clone https://github.com/yelvlab/CH34x_driver_v1.11.git
# cd CH34x_driver_v1.11
# make

正常ch340x.c文件编译不会报错,但是不排除其他异常情况,如有错误可以尝试从提示入手解决,或者在issue提出共同学习。

编译成功: 编译OK

  1. 安装驱动:

可以参考官方README内的操作:

# make load

安装成功: 安装OK

ch34x_driver_v1.11's People

Contributors

yelvlab avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

cuda-convnet

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.