日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

usbserialch340驱动安装失败_【已解决】Mac中安装USB转串口的CH340G驱动

發布時間:2023/12/10 编程问答 29 豆豆
生活随笔 收集整理的這篇文章主要介紹了 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驱动的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。