1 更新源 进入 /etc/apt/sources.list sudo vim进入, 更改为如下源 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to# newer versions of the distribution.deb http://cn.archive.ubuntu.com/ubuntu/ xenial main restricted# deb-src http://cn.archiv
串口测试时,用到串口,把打印机的拔下来,换上测试的,程序一打开就提示错误:the given port name does not start with COM/com or does not resolve to a valid serial port.(给定的端口名称未以 COM/com 开头或未解析为有效的串行端口) 最开始,只能在电脑的设备管理器中找到com口,然后先把com口停用,然后启用才行.这样治标不治本,在网上找了半天,在网上找了半天,终于解决了. 原来是COM1的端口被打印机驱