Questions tagged [minicom]
34 questions
8
votes
2 answers
minicom throwing an error minicom: cannot open /dev/modem: No such file or directory
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
3
votes
1 answer
linux + minicom + FT232RL USB-to-UART adaptor send Carriage Return (CR) instead of Linefeed (LF)
Hello to this wonderful community.
I use a computer with MX Linux as OS. I want to access a device with a serial/UART console (Specifically, the device is a minimal computer made from 74-series ICs. See…

Roman Haller
- 33
- 4
3
votes
4 answers
Copying text into minicom doesn't get pasted completely
I am trying to paste a line; which is:
setenv -p STARTUP "ifconfig eth0 -auto;boot -z -elf 136.170.195.87:vmlinuz-nfs-7231b0-D183-NFS-DEBUG 'root=/dev/nfs nfsroot=136.170.195.87:/export/home/joshis1/vmlinuz-nfs-7231b0-D183/rootfs/nfs rw…

SHREYAS JOSHI
- 81
- 4
- 11
2
votes
2 answers
Raspberry pi pico usb debbuging on Windows
I recently bought raspberry pi pico and I follow the How to get started with raspberry pico in C/C++ tutorial, but I have only windows computer. I want to debug my pico with usb. I compiled the example hello world project with cmake usb…

Šimon Vyhnis
- 408
- 3
- 9
2
votes
1 answer
Using minicom to retrieve modem information stops after x seconds
I am using minicom in order to connect with my modem (quectelEC25). The goal is to send differente AT commands in order to retrieve ceratain information about the modem and save it in a outpu file. I wrote the following script in…

Nfernandez
- 646
- 1
- 5
- 16
1
vote
1 answer
AT command Send Expect via Minicom does not recognize quotations
Currently I have the following script running via minicom.
minicom -b 115200 -D $MODEM_DEVNODE -t vt100 -S csq.txt -C csq_results.txt < escape.txt
csq.txt
send AT+QENG="servingcell"
expect "OK"
sleep 5
send AT+COPS?
expect "+COPS:
When I enter…

VLSI_EE_01
- 29
- 3
1
vote
0 answers
Can't seem to write VT220 commands through pyserial
So I have this script that connects to a linux machine while it's booting through serial to change bios settings. It's a messy bash script that connects through minicom. Thought I'd clean things up and remake the script with pyserial.
So far the…

Dave Baker
- 11
- 2
1
vote
1 answer
Automate the opening recording and closing a text file for serial data with minicom (and arduino)
I am using an arduino and save the output with minicom but want to automate the process for opening recording and closing the text file.
I am currently using the following: first I give the following command in the terminal:
$ minicom -D…

ecjb
- 5,169
- 12
- 43
- 79
1
vote
0 answers
Raspberry Pi Pico doesn't create tty file
I've been using Raspberry Pi Pico for some time already and I'm using minicom for serial communication. But one day Pico stopped generating tty/ATCM0 when connected to USB port. Before this everything worked perfectly fine.
I can still upload…

Omicron
- 365
- 4
- 9
1
vote
0 answers
Incomplete data or weird characters during serial communication
I am struggling with reading data from the device.
I've searched for this issue with many different keywords, but couldn't find my case.
I am a beginner at serial communication. Thanks in advance for the help and advice from the experts.
The first…

Kwonil
- 69
- 8
1
vote
1 answer
Send and read serial commands from terminal
I have a very limited list of software that I can install on an (IOT edge) device. I have minicom and chat commands (in addition to standard commands like echo and cat), and need to write to a serial device a command and read the response.
The…

Nyxeria
- 363
- 1
- 4
- 12
1
vote
1 answer
Status line in C Terminal program
I am running a terminal program written in c/c++ over shell.
It is same like minicom for UART.
I am looking for the way how I can create “Status Line on the bottom” same like attached picture (bottom line of minicom: CTRL-A Z line which is always…

Newbie_SW
- 51
- 1
- 6
1
vote
1 answer
minicom script exiting immediately
I have written the following minicom script:
sleep 20
send "\n"
expect {
"#" break
}
send "\n"
send "uname -a"
expect {
"Linux:" break
}
The command used to run the script is:
sudo minicom -S v.runscript -C minicom.log
But when I run this…

vaichidrewar
- 9,251
- 18
- 72
- 86
0
votes
1 answer
minicom is openning port but pyserial is saying 'Device or resource busy''
I want to send a sms message via Quectel EG25-G, I've already connected to LTE with ModemManager
I've managed to connect to the device via minicom and I can send AT commands
I wanted to use PySerial to send the message, so I created a basic script…

L1RG0
- 1
- 1
0
votes
0 answers
How to use Minicom programmatically without console input?
is there a way to use the Minicom functions in a python script? I need to transfer files via serial port on a raspberry pi 4 to another raspberry pi 4. Minicom offers this functionality and it works indeed when using the console interface.
But I…

Michael
- 13
- 3