Minicom notes

From Noah.org
Revision as of 02:28, 31 October 2009 by Root (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


I think the `screen` command is better for serial communications. See Screen_notes for more information on using `screen` talking to for RS-232 devices. Start minicom with "setup" option to setup a config file:

sudo minicom -s
            +-----[configuration]------+                                     
            | Filenames and paths      |                                     
            | File transfer protocols  |                                     
            | Serial port setup        |                                     
            | Modem and dialing        |                                     
            | Screen and keyboard      |
            | Save setup as dfl        |
            | Save setup as..          |
            | Exit                     |
            | Exit from Minicom        |
            +--------------------------+


Select "Serial port setup":

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

Select a serial device such as "/dev/ttyACM0". Then go to option "E" and set Comm parameters. Entering "E" then "Q" will quickly get you to 9500/8N1 which works for a lot of low speed serial stuff.

After you save as "dfl" the config file will be in /etc/minicom/minirc.dfl where you can edit it manually if you want.