cmac4603

Serial Console in the Terminal

Instructions on how to connect to a device over serial USB port in the terminal on Arch with either minicom or tio.

  • Beforehand, ensure your user is in these groups (if adding, reboot machine).

    bash
    # adding your user to these groups
    sudo usermod -aG dialout tty uucp

With minicom

  • Install the minicom serial communication program.

    bash
    sudo pacman -Sy minicom
  • Connect to device over serial comms (here it is at /dev/ttyUSB0).

    bash
    minicom -D /dev/ttyUSB0

With tio

  • Install tio .

    bash
    yay -S tio
  • Connect to device over serial comms (here it is at /dev/ttyUSB0 again).

    bash
    tio /dev/ttyUSB0