Setting up Minicom in Ubuntu

From Texas Instruments Embedded Processors Wiki

Jump to: navigation, search
Translate this page to   

Minicom in Ubuntu

This explains how to configure Minicom, as an alternative to Minicom you may want to consider installing the 'Serial Port Terminal' program instead for a more GUI based terminal application.

host $ sudo apt-get install minicom
host $ sudo minicom -s

having -s will prevent minicom from exiting abruptly if it encounter error upon invocation

   +-----------------------------------------------------------------------+
   | A -    Serial Device      : /dev/ttyS0                                |
   | B - Lockfile Location     : /var/lock                                 |
   | C -   Callin Program      :                                           |
   | D -  Callout Program      :                                           |
   | E -    Bps/Par/Bits       : 115200 8N1                                |
   | F - Hardware Flow Control : No                                        |
   | G - Software Flow Control : No                                        |
   |                                                                       |
   |    Change which setting?                                              |
   +-----------------------------------------------------------------------+


In the configuration screen, there are two items that likely must be configured. The first one is the ‘Serial port setup’ and the second one is the ‘Modem and dialing’.

Therefore, we have to clear all modem specific settings. To do so, from the serial port setup, press ‘Esc’ to go back to main Minicom setup screen and then choose ‘Modem and dialing’

host $ minicom

Q&A for Minicom

There are some situations you may met in using minicom:

A: It usually occurred by last abnormal colse of minicom. You can fix it by:

#rm /var/lock/LOCK..ttyUSB0

A: Maybe you need to restart mincom program, even reboot the system to avoid those strange situations.

A: Yes, picocom is the alternative tool.

# apt-get install picocom
# picocom /dev/ttyUSB0 -b 115200 -l
(Exit picocom: Ctrl+a, then Ctrl+x)
Leave a Comment

Comments

Comments on Setting up Minicom in Ubuntu


Israel DaVinci said ...

picocom is much better than minicom

--Israel DaVinci 18:21, 21 December 2009 (CST)

Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox