Coder Social home page Coder Social logo

ch340g-ch34g-ch34x-mac-os-x-driver's Introduction

ch340g-ch34g-ch34x-mac-os-x-driver

Latest macOS Sierra/High Sierra-compatible driver for devices using the CH340G, CH34G or CH34X chipset. This chipset is used in several Arduino-compatible clones and serial-to-USB cables.

Introduction

Version 1.4 (2017-01-11) of the OEM driver for the CH34x chipset.

Version 1.3 (2016-09-27) of the OEM driver causes a kernel panic (a.k.a. crash) when installed on macOS Sierra.

Installation

  • Unplug any CH34* devices.
  • Unload the old drivers if running:
  • sudo kext unload /Library/Extensions/usbserial.kext
  • sudo kext unload /System/Library/Extensions/usb.kext
  • Remove the old driver by issuing one of the following commands (depending on your installation):
  • sudo rm -rf /System/Library/Extensions/usb.kext
  • sudo rm -rf /Library/Extensions/usbserial.kext
  • Double-click on the CH34x_Install_V1.3.pkg file and install (no need to reboot)
  • Instead of rebooting, you can force quit Installer after it completes.
  • Load the new driver:
  • sudo kextload /Library/Extensions/usbserial.kext
  • Plug in your device. It should now be listed under the /dev directory. Examples:
  • /dev/cu.wchusbserial1410
  • /dev/cu.wchusbserial1420

Installation with Homebrew-Cask

  • Install the driver by the following commands:
    • brew tap mengbo/ch340g-ch34g-ch34x-mac-os-x-driver https://github.com/mengbo/ch340g-ch34g-ch34x-mac-os-x-driver
    • brew cask install wch-ch34x-usb-serial-driver

Troubleshooting

If the device doesn't show up under /dev, check the section "Security and Privacy" in System Preferences for any notices about blocked software.

Note: disabling System Integrity Protection is no longer necessary, as the current drivers are properly signed by the OEM. If you're having problems, they're almost certainly not related to SIP. The instructions below are left only for reference purposes. If you had previously disabled it (especially if you did so completely), you are strongly encouraged to fully re-enable SIP.

If, and only if, the device is not recognized after the installation (or you cannot install the driver), please disable System Integrity Protection:

  • Reboot your Mac into Recovery Mode by restarting your computer and holding down Command+R until the Apple logo appears on screen.
  • Open the Terminal (Applications > Utilities > Terminal).
  • In the Terminal window, type in csrutil enable --without kext (or to fully disable: csrutil disable) and press Enter.
  • Restart your Mac.

Please share this page!

Regards,
Adrian Mihalko
www.mihalko.eu

p.s: I LOVE coffee! Buy me a coffee at:
Donate

ch340g-ch34g-ch34x-mac-os-x-driver's People

Contributors

adrianmihalko avatar brettdikeman avatar cotejp avatar jondavidschober avatar mastercarl avatar mengbo avatar samyk avatar

Watchers

 avatar  avatar  avatar

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.