8

I have tried to connect my Jetson Nano with TTL UART cable using minicom. When I typed

sudo minicom

It showed an error

minicom throwing an error minicom: cannot open /dev/modem: No such file or directory
Shaik Ahmad
  • 449
  • 1
  • 3
  • 11

2 Answers2

7

sudo is always a way...

What minicom tells you with this message that it has tried to open a interface called /dev/modem. It is telling you, that it can't be opened due to insufficient permissions.

On my system /dev/modem does not even exist! Anyhow, minicom expects in it's settings the /dev/modem as default. That's why it's trying to connect to that.

So, the solution is minicom -s, where you actually enter the settings of minicom. Her you'll find the the settings to properly configure your board. If you run this with sudo, you are able to also save your settings, if you want to. You might want to change those settings to e.g. /dev/ttyUSB0 or something.

Cutton Eye
  • 3,207
  • 3
  • 20
  • 39
  • 4
    Thanks, just would like to mention the option to configure the port straight away `minicom -D /dev/ttyUSB0` – UserK Aug 24 '22 at 21:22
6

Later I tried with

sudo minicom -s

It worked

Shaik Ahmad
  • 449
  • 1
  • 3
  • 11
  • 1
    Ty, @ShaikAhmad. For completeness - the next step for me was to go to Serial port setup and change the Serial Device from `/dev/modem` to something else, like `/dev/ttyS0` for the serial port, for example. – Nathaniel Jones Jun 15 '22 at 23:56