1. 程式人生 > >minicom: cannot open /dev/ttyUSB0:No such file or directory 或no such device的情況。

minicom: cannot open /dev/ttyUSB0:No such file or directory 或no such device的情況。

網路上有很多Linux下USB轉串列埠的使用方式,但在我這邊好像總是出現 minicom: cannot open /dev/ttyUSB0:No such file or directory 或no such device的情況。

以下是我自己的解決方法,在這裡記錄一下。

大部分是從網路上摘的,我自己除錯過程中被卡住的關鍵步驟,我都用粗體大字標出來


1. 關閉虛擬機器,為虛擬機器新增串列埠。

關閉後,點選編輯虛擬機器---新增硬體-----選擇串列埠:



再新彈出的視窗中選擇,用物理串列埠,注意紅色部分。



然後點選下一步,直至完成。

重啟虛擬機器。

這時,我們會在虛擬機器的最下面的工具欄上發現,多了一個按鈕,如下圖紅色部分標出的,即為我們新新增的按鈕。



現在,我們雙擊該按鈕,以確定其配置是否正確。如下圖:



這裡,請大家注意一下,紅色部分,首先,上面的連線一定要複選上;其次,下面的串列埠,一定要選擇自己的PC機上的物理串列埠。

可以通過裝置管理器檢視USB轉串列埠連在哪個COM上了,我的本本的右側的USB為COM18,記下。

配置串列埠

現在我們終於可以用到TQ2440了,接好串列埠線、網線、電源線,(USB就可以不用接了)。
在Windows下我們的超級終端,在Linux下我們也有類似超級終端的軟體,我們安裝好了fedora作業系統後,作業系統本身自帶一個minicom的軟體,只需簡單配置,即能工作。具體的配置方法如下:


A.   輸入命令 minicom –s
B. 選擇第三項,串列埠配置
C. 利用鍵盤A、B、C、D、E、F、G鍵,選擇要修改的項,然後,修改成我的配置。
注意:這裡,有串列埠的桌上型電腦配置成/dev/ttyS0。

如果是USB轉串列埠,Serial Device同樣設定成/dev/ttyS0,但要注意在虛擬機器的右下角,把USB-Serial Controller 改為Disconect,把Serial改為Conect。


最後,選擇Save setup as dfl。下次進入直接輸入minicom即可。

相關推薦

minicom: cannot open /dev/ttyUSB0:No such file or directory no such device情況

網路上有很多Linux下USB轉串列埠的使用方式,但在我這邊好像總是出現 minicom: cannot open /dev/ttyUSB0:No such file or directory 或no such device的情況。 以下是我自己的解決方法,在這裡記錄一下。

minicom: cannot open /dev/ttyUSB0: 沒有那個檔案目錄”問題的解決

按照網上方法用minicom -s命令在Ubuntu下配置minicom,將Serial Device設定成了/dev/ttyUSB0,然後連線上開發板並上電以後在終端下輸入minicom,但終端沒有正常啟動minicom介面,而且打印出了:“minicom: cannot

v虛擬機器Linux(Fedora10)下USB轉串列埠的使用, minicom: cannot open /dev/ttyUSB0的解決

轉自:http://blog.csdn.net/boygrass/article/details/6878167 網路上有很多Linux下USB轉串列埠的使用方式,但在我這邊好像總是出現 minicom: cannot open /dev/ttyUSB0:No such

虛擬機器Linux(Fedora10)下USB轉串列埠的使用, minicom: cannot open /dev/ttyUSB0的解決

網路上有很多Linux下USB轉串列埠的使用方式,但在我這邊好像總是出現 minicom: cannot open /dev/ttyUSB0:No such file or directory 或no such device的情況。 以下是我自己的解決方法,在這裡記錄一下。

Ubuntu16.04安裝vmware出現"Cannot open /dev/vmmon: No such file or directory" 的解決方法(不disable secure boot)

今天同事在ubuntu16.04下安裝vmware後,想安裝win10的系統,結果報錯:Cannot open /dev/vmmon: No such file or directory,Please make sure that the kernel module `vmmon' is loade

Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory

com add err erro lin .com aso tps color Try this : sudo modprobe vboxnetadp ref: https://github.com/gasolin/foxbox/issues/32Erro

ImportError: libmysqlclient.so.20: cannot open shared object file: No such file or directory 解決辦法

object init ror 文件 module libmysql 找到 str 軟連接 >>> import MySQLdbTraceback (most recent call last): File "<stdin>", line

java 罕見的依賴報錯 jstat: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory

玩意兒 rpm 文件 .com pen jdk1 obj not found linu java 都用了N長時間了,突然,意外地發現有一個依賴的so文件從來沒找見過 # ldd /usr/bin/java linux-vdso.so.1 => (0x00007ff

iptables報錯:Couldn't load target `accept':/lib64/iptables/libipt_accept.so: cannot open shared object file: No such file or directory

大寫 obj direct 規則 lib not blog acc get 語句:iptables -A INPUT -s 134.192.204.235 -p TCP --dport 11211 -j accept 報錯:Couldn‘t load target `acc

vmware:Could not open /dev/vmmon: No such file or directory.

virt erro ons vmware blog ould con rect sudo Q: Could not open /dev/vmmon: No such file or directory. Please make sure that the kernel mo

TensorFlow安裝之後導入報錯:libcudnn.so.6:cannot open sharedobject file: No such file or directory

-a ring share 環境 .net str ubunt dir 附件 轉載自:http://blog.csdn.net/silent56_th/article/details/77587792 系統環境:Ubuntu16.04 + GTX1060 目的:配置一下py

PyCharm ImportError: libcusolver.so.8.0: cannot open shared object file: No such file or directory 解決辦法

圖片 object shared 8.0 body har error err cto PyCharm ImportError: libcusolver.so.8.0: cannot open shared object file: No such file or d

ubuntu下tensorflow 報錯 libcusolver.so.8.0: cannot open shared object file: No such file or directory

export direct config sudo 8.0 ring 終端 運行 ber 解決方法1. 在終端執行: export LD_LIBRARY_PATH=”$LD_LIBRARY_PATH:/usr/local/cuda/lib64” export CUDA_H

error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory解決

make scp AR object normal memcache window 2.0 HA 我是從其他服務器scp來的memcached(~~~整個文件夾的那種,windows用多了的後遺癥) 在準備運行 ./memcached -d -u root -l loca

error:while loading shared libraries: libevent-2.1.so.6: cannot open shared object file: No such file or directory

div usr dir deb 缺失 依賴庫 cal bug 模塊 執行 memcached 啟動命令時,報錯,提示:error while loading shared libraries: libevent-2.1.so.6: cannot open shared ob

缺少動態連接庫.so--cannot open shared object file: No such file or directory

編譯 -- bject bsp so庫文件 rec sse style path 編譯號所需的so庫文件,以下幾種方式將其連接上即可1. 用ln將需要的so文件鏈接到/usr/lib或者/lib這兩個默認的目錄下邊 ln -s /where/you/install/l

ubuntu14.04, libtinyxml.so.2.6.2: cannot open shared object file: No such file or directory

pack directory cname while 14. class home name rac 打包/opt/ros 打包項目文件install 到一臺沒有安裝ros環境的機器上啟動項目 source ros/indigo/setup.bash source

Ubuntu14.04 ,libboost_filesystem.so.1.54.0: cannot open shared object file: No such file or directory

mage erro ror file pack ack inf des span macname@ubuntu:/opt$ roslaunch blarospack : error while loading shared libraries: libboost_f

nginx 在檢查是否可啟動出現問題(cannot open shared objectfile: No such file or directory)的解決

ngnix在檢查是否可啟動的時候,出現下面問題: (venv) [email protected]:/data/server/nginx#./sbin/nginx -t ./sbin/nginx:error while loading shared librarie

arm-none-linux-gnueabi/4.4.3/cc1: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

鬱悶了,安裝好了arm-linux-gcc的4.4.3版本,就是能能執行!!! 而且,在執行arm-linux-gcc -v的時候一切正常,醉了! 顯示說: /opt/Friendlyarm/arm-linux-gcc-4.4.3/bin/../libexec/gcc/arm-none-linux-