Linux loaded minicom in VMware reads serial data:
Software Environment: Install Vmwave in Win7, Ubuntu installed in VMware, the serial tool installed in Ubuntu minicom.
Hardware: Z-tek USB to serial port (internal ic:pl2303)
1, the computer plug in the USB to the serial port hardware, open WMware, if VMware detects the hardware, the opening of VMware will appear the corresponding prompt:
After you turn on Ubuntu, you'll also have a small icon for the device in the lower right corner of the VMware software, and right-click Connect:
Also connect Realtek USB2.0-CRW this device:
If the prolific usb-serial controller is not detected, please reload VMware. as a result of my previous diagram, using a non-installed version of VMware led to the fact that VMware could not detect PL2303 This hardware and wasted me for several hours.
2, see if there is a ttyUSB0 in the/dev directory, if not at this point in the terminal input
Mknod/dev/ttyusb0 C 188 0
3, then open the Minico tool, set the corresponding parameters, generally, bps/par/bits is set to 115200 8N1, hardware flow control and software flow control are selected No, as follows:
After Setup, save as Def, then quit without reset. Then reopen minicom.
4, if the ttyUSB0 device already appears in/dev, but the minicom tool does not open, prompting "minicom: Cannot open/dev/ttyusb0: There is no file or directory", this time can put prolific usb-serial in the VM Controller disconnects (disconnect), reinsert the USB to serial cable, reconnect to connect, and then minicom to connect.
5, if the Minico open the ttyUSB0 device, then normally, minicom will be able to display the received data.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Linux in VMware reads serial data with minicom