CH340 Drama on OSX 10.12 Sierra 16A313a

After a recent update to my OS X Sierra, plugging in an Arduino clone suddenly caused a kernel dump on my macBook. I’m running the beta program and it didn’t give me a problem until this week. Something must have changed.

UPDATE: Yu Wang point me to a website that contains an updated CH340 driver that works with MacOS Sierra http://www.mblock.cc/posts/run-makeblock-ch340-ch341-on-mac-os-sierra

I traced the issue back to the CH340 driver, and it needs to be uninstalled.

  1. Open a terminal and type: cd /Library/Extensions/
  2. Verify that the .kext file is present: ls | grep usbserial.kext
  3. Output should be: usbserial.kext
  4. Then type: sudo rm -R usbserial.kext
  5. Verify that the .kext file has been removed: ls | grep usbserial.kext
  6. Output should be empty.
  7. After youshould remove the files stored in receipts folder: cd /private/var/db/receipts/
  8. Find the enties: ls | grep usbserial*
  9. Output should be: codebender.cc.ch34xinstaller.usbserial.pkg.bom codebender.cc.ch34xinstaller.usbserial.pkg.plist
  10. Remove each one of the files of the above list: sudo rm -r filename`

To verify that the driver has been successfully removed, go to System Information Panel, select ‘Extensions’, and sort by provider to quickly see what 3rd party drivers you have installed. After uninstall/restart I took the following screenshot.

macbook_pro

The wch usb driver has been removed and I can now safely plugin the device. It won’t be recognized by the OS but as long as it doesn’t crash my machine that’s fine.

source

Categorised in: , ,

6 Comments