![]() ![]() ![]() Minicom will skip the initialization code. For most systems, a more appropriate default value has been defined. This parameter is useful if minicom cannot be started because your system has been changed, or when minicom is running for the first time. After using this parameter, minicom will not initialize, but will go directly to the configuration menu. Root Use this option to edit system-wide defaults in /etc/minirc.dfl. Minicom use The command line starts the minicom parameters.įor more parameters, see the output of "man minicom". ![]() D - Select the script: default runscript, you can also choose bashScript format.C - Script file storage location: gThe path when running the script.| D - Script program : runscript or /bin/bash | Configuration options directoryĬtrl + A -> O +-+ (5) X key: Exit minicom, you will be prompted to confirm the exit. (4) B key: browse the history display of minicom (3) C key: clear the display content of the screen This feature is useful when looking at the kernel's startup information. When the displayed content exceeds one line, the following content is automatically wrapped. (1) O key: open the configuration options The basic operation of minicom is as follows: If the above settings are successful, open minicom # minicomĪfter powering up the device again, at this point, information is printed in the window. Note: If you are not using a USB to serial port, but use the serial port directly, then the Serial Device should be configured as /dev/ttyS0. After exiting and re-opening minicom, the software will initialize with the above parameters. After returning to the main menu, select “Save setup as df1”, save it as the default setting, and select Exit to exit. Finish and press Enter to return to the main menu. After the setting is completed, press Enter and the cursor will return to the “change which setting” and repeat. We just need to enter the corresponding letter above, you can enter the corresponding menu to set. At this point the cursor stays behind the "change which setting", which has the following menu above it: Serial port setup Run sudo minicom -sGo into the minicom configuration interface, use the up and down keys to select Serial port setup, enter. Usb 004 is the usb to serial cable that we hang up, the chip used is PL2303.īut as shown above, the ttyUSB0 device is root-owned, so we can't access the file by opening minicom as a normal user. Optical Mouse M90īus 007 Device 002: ID 046d:c31d Logitech, Inc.īus 004 Device 009: ID 067b:2303 Prolific Technology, Inc. Then use lsusb to view: lsusbīus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubīus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubīus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubīus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubīus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hubīus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubīus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubīus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubīus 009 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubīus 005 Device 002: ID 046d:c05a Logitech, Inc. We are here: crw-rw- 1 root dialout 188, 0 Apr 10 17:10 /dev/ttyUSB0 Run the above command and you can see that several devices are mounted. The usb serial port under linux is named ttyUSB*. Before operating the serial port, we should first confirm whether we have read and write access to the file. Specific steps are as follows: View serial device and file permissionsĪll operations under linux are file operations for users. Minicom configuration:Īfter the installation is complete, please do not worry about opening the software. Currently known, the PL2303 driver is available, the name under dev is ttyUSB*。 Minicom is a widely used serial port software under Linux. Because the computer is basically not equipped with a serial interface, the USB to serial port becomes an inevitable choice for hardware debugging. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |