usbserialch340驱动安装失败_【已解决】Mac中安装USB转串口的CH340G驱动
折騰:
期間,先找到此處Mac的驅動
然后再去USB口接到Mac電腦上
先去下載賣家給的:
看看里面是否有mac驅動
-》發現沒有,只有windows的exe
CH340G mac 驅動
RS232 USB轉TTL 驅動
-》
然后參考readme:CH34X USB-SERIAL DRIVER INSTALLATION INSTRUCTIONS Version: V1.0
Support System:
OS X 10.9 and above
Installation Process:
Copyright (C) Jiangsu Qinheng Co., Ltd.
unzip the file to a local installation directory Double-click CH34x_Install.pkg
Install according to the installation instructions Restart after finishing installing
After the installation is completed, you will find serial device in the device list(/dev/tty.wchusbserial*), and you can access it with serial tools.
If you can’t find the serial port , you can follow the steps below:
1. Open terminal and type ‘ls /dev/tty*’ and then you will see devices like tty.wchusbserial;
2. Open ‘System Report’->Hardware->USB, the right side is “USB Device Tree” there will
be device named “Vendor-Specific Device” and check if the Current is normal.
If the steps below don’t work at all, please follow the installation steps and try again.
Note:
1. Please enter “System Preferences”->”Security & Privacy”->”General” page, below the title ”Allow apps downloaded from:” you should choose the choice 2->”Mac App Store and identified developers” so that our driver will work normally.
2. If old version of unsigned driver is now existing in your PC, please uninstall it first. Open Application “Terminal” and type commands below step by step:
<1> “sudo su” and input your password;
<2> “rm -rf /System/Library/Extensions/usbserial.kext”; <3> If you cannot find the kext in step2, please try to type:
“rm -rf /Library/Extensions/usbserial.kext”;
去安裝:
????Welcome to CH341 and CH340 usb to serial device driver installation program.
This program instal the driver to the default directory of the system , do not change it.
Also this installation only support CH341 and CH340 .
說,如果驅動加載正常,應該能看到類似于:
(對于Arduino)/dev/cu.wchusbserial1441140
而對于舊驅動,才要:csrutil enable --without kext
重啟后,先去終端中看看是否有對應串口設備???~ ll /dev/tty*
crw-rw-rw-??1 root????wheel????2,???0??9 23 17:11 /dev/tty
crw-rw-rw-??1 root????wheel???21,???0??9 23 17:11 /dev/tty.Bluetooth-Incoming-Port
crw-rw-rw-??1 root????wheel????4,???0??9 23 17:11 /dev/ttyp0
...
crw-rw-rw-??1 root????wheel????4,??48??9 23 17:11 /dev/ttys0
crw--w----??1 crifan??tty?????16,???0??9 23 17:24 /dev/ttys000
...
crw--w----??1 crifan??tty?????16,???6??9 23 17:25 /dev/ttys006
crw-rw-rw-??1 root????wheel????4,??49??9 23 17:11 /dev/ttys1
crw-rw-rw-??1 root????wheel????4,??50??9 23 17:11 /dev/ttys2
crw-rw-rw-??1 root????wheel????4,??51??9 23 17:11 /dev/ttys3
...
crw-rw-rw-??1 root????wheel????4, 127??9 23 17:11 /dev/ttywf
沒有看到:
/dev/tty.wchusbserial
之類的。
難道是因為沒有插入USB設備?
說了,先要插入USB設備。
所以去:
給Netgear R6220上電,且連接了USB轉串口的芯片,USB口插入Mac
不過此時注意到了:
R6220的各個燈,都不亮了
然后再去看看能否看到tty設備:
果然看到了:???~ ll /dev/tty.wc*
crw-rw-rw-??1 root??wheel???21,???2??9 23 17:34 /dev/tty.wchusbserial1410
總結
以上是生活随笔為你收集整理的usbserialch340驱动安装失败_【已解决】Mac中安装USB转串口的CH340G驱动的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 如何从零开始,成为element-plu
- 下一篇: html页面怎么加入qq群,qq群申请