乔拓云网站建设,app开发公司成员,青岛网站推广怎么选,网站建设公司策划在实验室配置一台设备要用到串口#xff0c;但串口线只连到了linux服务器上#xff0c;又不想跑一趟实验室#xff0c;就直接用linux串口连吧#xff0c;以前都在windows上用putty#xff0c; securecrt软件#xff0c;还真没直接在linux上使用#xff0c;查一下命令记录…在实验室配置一台设备要用到串口但串口线只连到了linux服务器上又不想跑一趟实验室就直接用linux串口连吧以前都在windows上用putty securecrt软件还真没直接在linux上使用查一下命令记录一下。1、lsmod | grep usbserialrootcfl-lab01:~# lsmod | grep usbusbserial 45056 3 pl2303看到支持usb-串口设备2、找到这个USB设备rootcfl-lab01:~# lsusbBus 002 Device 003: ID 0424:2660 Standard Microsystems Corp. HubBus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching HubBus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubBus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubBus 001 Device 004: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial PortBus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching HubBus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub其中Bus 001 Device 004: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port就是usb转串口设备。3、查看系统是否已识别rootcfl-lab01:~# dmesg | grep tty[11500024.905422] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0[11500042.302008] usb 1-1.4: pl2303 converter now attached to ttyUSB0一切ok可以使用putty或minicom作为串口通信软件。