Go Down

Topic: In case you are having problems with MacOS Mojave and CH340 USB Drivers (Read 3679 times) previous topic - next topic

EasyGoing1

When I upgraded to Mojave, allofasudden I could not see the serial port of my Nano ... it wasn't showing up in /dev at all. So I did the usual ... downloaded the latest CH340 drivers, then removed the .kext files from /Library etc. and re-installed the drivers and still it would not work.

This is what fixed it:

Open Terminal

type in:

sudo su <enter> (enter your password)
rm -rf /Library/Extensions/usbserial.kext


Then reboot

DO NOT INSTALL ANY DRIVERS .... it should work fine after the reboot.

Mike

pert

Thanks for sharing your findings!

Does this mean that the official CH340 driver supplied by the manufacturer at:
http://www.wch.cn/download/CH341SER_MAC_ZIP.html
is not compatible with macOS Mojave but that macOS version comes with a functional CH340 driver pre-installed?

sterretje

Are you sure -rf is needed? If a user issues rm -rf with the wrong directory, it might break the complete OS.

I'm not a Mac user and only have rusty knowledge of Linux.
If you understand an example, use it.
If you don't understand an example, don't use it.

Electronics engineer by trade, software engineer by profession. Trying to get back into electronics after 15 years absence.

EasyGoing1

Thanks for sharing your findings!

Does this mean that the official CH340 driver supplied by the manufacturer at:
http://www.wch.cn/download/CH341SER_MAC_ZIP.html
is not compatible with macOS Mojave but that macOS version comes with a functional CH340 driver pre-installed?
I cant attest to that ... and whats worse, is after a couple of hours, the device was no longer recognized and I was only to get it back after re-installing then re-deleting the driver ... until it got to a point where I cant get it back at all ... this is entirely frustrating to say the least.

I havent tried the driver directly from the manufacturer yet ... imma give it a go right now and report back.

EasyGoing1

Thanks for sharing your findings!

Does this mean that the official CH340 driver supplied by the manufacturer at:
http://www.wch.cn/download/CH341SER_MAC_ZIP.html
is not compatible with macOS Mojave but that macOS version comes with a functional CH340 driver pre-installed?
So I tried the driver from that link and it didn't work ... im less than impressed with this whole CH340 in MacOS fiasco ... imma keep digging and see what I can figure out.

EasyGoing1

Are you sure -rf is needed? If a user issues rm -rf with the wrong directory, it might break the complete OS.

I'm not a Mac user and only have rusty knowledge of Linux.
Are you sure -rf is needed? If a user issues rm -rf with the wrong directory, it might break the complete OS.

I'm not a Mac user and only have rusty knowledge of Linux.
kext files are packaged files just like an .app file is ... so the -rf flag would be necessary to traverse the sub folders within the file... and you are 100% correct, issuing this command against the wrong path could destroy your OS install so proceed with caution and triple check your path before hitting enter.  

;-)

EasyGoing1

Well, it appears that ultimately, I'm an idiot... I obviously failed to perform a thorough analysis of my situation because the moment I took my USB hub out of the equation, everything works properly ... and that is WITH the drivers installed ... so it looks like this post was pre-mature...

DOH!

JorgeSans

Hello, I have had the same error explained in this thread. After upgrading Mac Os Sierra High to Mac Os Mujave, the communication between my computer and Arduino has stopped working.

Combining the information shown in this thread with some searches, I have found how to solve the problem:

1.- Obtain the file CH34x_Install_V1.4.pkg using the link:     Download CH34x_Install_V1.4.pkg

2.- 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

3.- Restart your Mac.

4.- Open the ZIP file and double click on the file CH34x_Install_V1.4.pkg.

5.- Restart your Mac. (Maybe you have to restart it more than once)

In my case, I use an Arduino Mega 2560, the new work port is:  /dev/cu.usbmodem141101

PS: In this link you can find very useful information.

CH340G CH34G CH34X Mac OS X driver

I hope it helps if someone has the same problem when upgrading to Mac Os Mujave


mischak

I agree with EasyGoing1: removing the old drivers and not installing any drivers works for Mojave. Apparently Mojave comes with CH340 support built in. Like it should be ;-)

stefku

Neither is working for me. Not the given driver in Version 1.3 or 1.4 nor the default driver of Mojave. I also tried the new driver from mac-usb-serial.com. Also not working.

My workaround: i use an external programmer USBtinyISP. That works like a charm.

Go Up