Questions tagged [minicom]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
479 views

minicom on /dev/tty# - Ctl-A Z doesn't appear to work?

I have an old laptop (Dell Latitude D610) that I want to use as a serial terminal for some systems that require that, since this machine has a built-in RS-232 port. I have installed Debian 12 and ...
j4nd3r53n's user avatar
  • 715
0 votes
1 answer
159 views

ttyUSB ordering

I am working on a project involving the development of a device that interfaces with multiple ttyUSB ports, specifically 16 of them. It's important to note that Linux handles ttyUSB ports differently ...
Saman.K's user avatar
0 votes
0 answers
65 views

Why is the serial communication with this device failing?

I have two serial to USB adapters connected to my computer, each one is connected to a microcontroller. What I want to do is send commands to each microcontroller through UART (I'm using minicom), but ...
EmTor's user avatar
  • 1
0 votes
1 answer
508 views

Running minicom from a bash script for X amount of time (and getting the output)

I'm trying to write a script that involves repeatedly calling minicom, letting it run for 60 seconds, getting the output, then killing the job nad moving on to the next directory it runs minicom. So ...
Ahmed's user avatar
  • 1
1 vote
2 answers
2k views

Why I can open serial via screen but cannot open via minicom?

I have an arduino communication via Serial port at /dev/ttyACM0 and I can open it via screen: $ screen /dev/ttyACM0 115200 But for some reason I have no privileges to open it via minicom: $ minicom /...
Dimitrios Desyllas's user avatar
2 votes
2 answers
6k views

Intercept communications on physical serial port using socat

I'm no Linux expert so please go easy ;). Ok, the situation is that I have a single board computer running Debian Wheezy. I know its old/risky etc etc but its not actually "my" equipment and ...
RobF's user avatar
  • 21
0 votes
1 answer
3k views

Sending serial data to a USB port from the terminal?

I have an Arduino connected to my USB port (on my Linux based OS) at /dev/ttyACM0 which is listening for serial data to be read and processes them when received. All I need to do is send data to this ...
First User's user avatar
0 votes
0 answers
810 views

Minicom: send string when newline is detected

I have 3 different USB-to-UART FTDI cables and use minicom to debug some device. My problem is only one of these cables can buffer characters until I send a newline. Eg when I type the string "...
user1397215's user avatar
3 votes
1 answer
4k views

Minicom: transfer CRLF when hit enter?

I have a custom HW which can understand commands received over UART. For this purpose I'm using minicom on Linux. However the HW needs to get CRLF after the command to properly recognize it. How can I ...
Daniel's user avatar
  • 339
3 votes
1 answer
3k views

Can't open serial port via minicom, but fine via Python and shell

I have been having issues with connecting to serial ports via minicom the last two weeks. For some reason, /dev/ttyACM0 maps to tty8 when I try to connect to it. My user is member of the dialout group,...
Erik's user avatar
  • 33
3 votes
1 answer
2k views

Some characters get lost when pasting large amounts of text into serial console

When pasting large amounts of text into a serial console like screen or minicom, some characters get lost and are not being transmitted.
finefoot's user avatar
  • 3,070
0 votes
2 answers
1k views

How to set "character tx delay" in GNU screen? (Like in minicom)

Minicom has this useful setting called "character tx delay": Is there a setting like this for GNU screen, too?
finefoot's user avatar
  • 3,070
1 vote
0 answers
479 views

Minicom - How do I store the newline delay setting?

In Minicom, I prefer to change my Newline tx delay (ms) setting via CTRL-A T to incorporate some delay between newlines, usually 100ms. That way there is a delay when I am pasting something into a ...
joeshmo's user avatar
  • 15
1 vote
1 answer
898 views

How do I host a shell for a serial terminal?

I am building a dumb terminal with an arduino and I can now see the output of serial connections. How do I get a login/shell? I have tried screen /dev/ttyACM0 and that lets me type on the host ...
Gregory's user avatar
  • 53
0 votes
0 answers
518 views

Two minicom instances talk to each other on same machine

Is it possible to have two instances of minicom on the same machine talking to each other? If so, what device/port should be used, and how should it be set up? I tried opening minicom in two different ...
Aaron Thomas's user avatar
1 vote
0 answers
108 views

AT modem command, how to detect frequency sent from a call

I am trying to use AT modem commands to call a phone number, receive a kissoff tone (at 1400 hz frequency), send 12 dtmf ones, and receive a handshake tone (different pure tone frequency) I know how ...
Jaz's user avatar
  • 11
0 votes
1 answer
866 views

Serial connection to radio using WINE

I can run the software for my CRT SS 9900 radio using the mfrs serial-to-USB cable under WINE on Zorin/Ubuntu. However, I cannot connect on any of the COM ports. I have set /ttyUSB0 using minicom but ...
Phil Chandler's user avatar
0 votes
1 answer
680 views

No password prompt for serial connection

I want to setup a password prompt (root user) when login through minicom (serial connection). After running passwd command (connected through ssh), i can setup a password for the root user. After that ...
andro_yamamoto's user avatar
3 votes
2 answers
7k views

Loop minicom scripts

I need send AT commands to my modem (Huawei e171) in a loop. I try this script (file script.txt): start: send AT+CSQ sleep 2 goto start and run it via minicom -S script.txt but got nothing: ...
igor_rb's user avatar
  • 141
1 vote
2 answers
6k views

Running a script with minicom: unknown command "echo"

I want to run a script on a machine accessible only via minicom. I tried this: echo 'echo test' >> s.sh sudo minicom -S s.sh -D /dev/ttyUSB0 A shell does open, but starts with this error: ...
Hey's user avatar
  • 681
2 votes
3 answers
7k views

Serial port program to write file/read to file from tty?

i'm looking for some commandline program which I can use to send and receive data to/from serial port. I would like to automate my testing process - start test script which will send file to ttyPC, ...
s.paszko's user avatar
  • 265
0 votes
1 answer
835 views

How can I halt a boot over serial when a prompt is displayed?

I have a computer that I'm connected to via serial. I want to stop it as it boots up as part of a bash script. The computer issues a prompt along with a short time window to push a key to halt the ...
DeepDeadpool's user avatar
  • 1,263
0 votes
0 answers
170 views

Turning USB into a terminal

I have a hardware device that connects via USB without creating a specific /dev/something. It does change the time on /dev/ptmx and /dev/char but that's about it. All I know are the VID:PID of the ...
dargaud's user avatar
  • 565
1 vote
1 answer
6k views

Something is wrong with my serial communication [closed]

I'm not an expert in serial communication, and it was a long time ago I tried it. My immediate goal was to connect to the service processor on a SUN Sparc T5140, but since this I have tried to connect ...
Jokra's user avatar
  • 21
2 votes
1 answer
2k views

Troubleshooting an RS-485 communication

I have an ND-6021 Analog Input Module. It is an RS-485 device that can set a variable output voltage based on the command it receives. I am trying to make it works under a Linux Debian Stretch. I have ...
Giorgio R's user avatar
9 votes
2 answers
14k views

Retrieve file over serial without kermit and lrzsz

I have an embedded Linux on a custom board and I would like to send and receive file over its serial port. The only way to communicate with this device is over serial and the device offers a console ...
Arkaik's user avatar
  • 1,156
0 votes
1 answer
318 views

How does one determine how to configure minicom to connect serially to a system on a chip?

I have this other question in which I am trying to connect to a router using a serial connection from my Raspberry PI. I am able to see the input from the boot loading messages using minicom but it'...
leeand00's user avatar
  • 4,625
2 votes
0 answers
1k views

Problems connecting via serial to usb port to PCengines APU board using HL-340

To connect to my APU board via serial line, I bought a QinHeng Electronics HL-340. My operating system is Debian Linux 9.4 What ever I try, I only see junk displayed on screen or the cursor jumping ...
user6329530's user avatar
0 votes
1 answer
1k views

Cellular Modem not Responding

I am trying to connect to my cellular modem on Linux. I connect it through USB and the device appears as /dev/ttyUSB0. Using minicom, I set the port and baud rate then connect to the device. ...
Nick Yameen's user avatar
6 votes
1 answer
13k views

socat - UART logging and redirecting

I am currently trying to log all communication from and to /dev/ttyUSB0 and simultaneously be able to connect minicom/screen to the same device for interaction. I tried a couple of tools and ...
Chris's user avatar
  • 63
1 vote
0 answers
448 views

Terminal freeze encountered when trying to avoid password prompt for serial port access using minicom

I am trying to open the device /dev/ttyUSB5 using minicom: user4@user-pc-4:~$ sudo minicom -D /dev/ttyUSB5 -b 115200 The above throws the password prompt at the terminal when I run it. Before doing ...
skrowten_hermit's user avatar
2 votes
0 answers
884 views

Connecting to embed yocto using minicom text garbage

I am trying to connect over serial cable from ubuntu 12.04 to an embedded linux device for which uname -a returns: Linux demosystem 3.10.17-1.0.0_ga+yocto+ga29b925 #1 SMP Mon Jul 6 21:50:27 PDT 2015 ...
kujosHeist's user avatar
5 votes
2 answers
3k views

Screen/Minicom multiline problem [duplicate]

I'm managing with some boards like Arduino/UDOO etc. but I always face an annoying problem with minicom or screen. If i type a long command, for example: sudo /sbin/wpa_supplicant -s -B -P /run/...
Gorgo's user avatar
  • 153
11 votes
2 answers
7k views

Command wraps around same line after 80 characters

I have an annoying problem with minicom connected to a serial console to a Yocto Linux machine. The command that I enter wraps around on the same line after 80th character. This becomes very ...
Oliver G.'s user avatar
  • 263
1 vote
2 answers
2k views

serial port via minicom: can minicom use line-editing (i.e. readline functionality)?

I am successfully talking to a board connected over a serial port interface to my PC. I can both send and receive bytes - but for interactive applications executing on the board, that try to read ...
ttsiodras's user avatar
  • 2,371
1 vote
1 answer
9k views

Telnet equivalent for USB connected devices?

I'm starting to play with Internet of Things type development boards (originally Arduino, now ESP8266, RaspPi and CHIP). And one thing I'm struggling with is connecting to them from a Linux machine. ...
interstar's user avatar
  • 1,077
2 votes
1 answer
3k views

Garbage characters when using serial connection over SSH connection with minicom/screen

I have a serial connection made with /dev/ttyUSB0 locally from my laptop to a cisco lab router and using minicom/putty/screen all work fine locally (hardware control: on, software control: off, 9600 ...
Nate's user avatar
  • 29
15 votes
2 answers
35k views

How can minicom "permanently" translate incoming newline (\n) to CR+LF?

I have a micro-controller device that is sending newline-terminated strings through the USB-attached serial port and (so far) I'm using minicom version 2.6 to read from /dev/ttyACM0. I've setup the ...
user avatar
4 votes
0 answers
2k views

How to send AT commands to serial interface in Yocto Linux?

I have a XBee device attached to the ttyMDF1 interface on an Intel Edison board running Yocto linux. I need to configure the XBee by sending AT commands to it. I have tried to open a getty /dev/...
Jesus Garcia's user avatar
1 vote
1 answer
2k views

Serial port - no output Penmount DMC9000

I'm trying to read some data from the some serial ports (I need them to deal with a touch screen controller). What I'm basically doing is cat /dev/ttyS0 to see what does the serial give as output ...
Denys Vitali's user avatar
2 votes
0 answers
1k views

How to change 'Input Buffer Size' setting in Minicom

I'm using minicom to interface with a bluetooth device. I have been able to successfully do this in matlab, however I have to first change the 'InputBufferSize' parameter in matlab from 512 to 24 ...
alittletouched's user avatar
2 votes
2 answers
3k views

How to set no stop bits in minicom?

How to set no stop bits in minicom? Apparently, there is no such setting: Would it be senseless? I am trying to set this way since apparently (not sure) this is correct way to communicate via USB ...
Dims's user avatar
  • 3,255
3 votes
1 answer
4k views

What is the proper way to listen on serial port using minicom?

I have found tutorials about using minicom to communicate with modems, but none about just listening what data arrives to the serial port of my desktop computer. I will ask for this case scenario: ...
Sopalajo de Arrierez's user avatar
3 votes
1 answer
790 views

Unable to use GSM and GPRS with 3G USB Dongle on BeagleBone Black at the same time

I'm working on BeagleBone Black (Debian running on it) and I have connected a 3G USB dongle (Huawei E173u-2) with it for GPRS and sending SMS. Now I am facing a problem when I am booting my board (...
Saad Rafey's user avatar
4 votes
1 answer
2k views

How can I force minicom to wait to connect to a non-existent device?

Occasionally I'm trying to debug a (usually serial) device that starts very quickly. If I get the device running, I can connect to it using: minicom -D /dev/ttyUSB0 Then, if the device disconnects, ...
tudor -Reinstate Monica-'s user avatar
1 vote
1 answer
3k views

ttyUSB0 serial port crashes and locks, requires computer reset

I posted this question on stack overflow already but after looking up similar questions I realized this is a much better place for it (and it only got 8 views after 10 hours on a Sunday). If necessary ...
Quark's user avatar
  • 111
0 votes
1 answer
2k views

Using `minicom` not able to access the root file system

I am trying to use minicom for my serial cable communication to the target but I am not able to access the / of my remote device.I tried setting up ttyXX for minicom using sudo minicom -s but still I ...
Thushi's user avatar
  • 9,498
1 vote
0 answers
2k views

SOCAT / MINICOM "No such device or address"

I've done quite a lot of research on Socat and I simply cannot create a device that Minicom can see. In this case, port 10001 is the port that a Black Box Ethernet to Serial server is configured on. ...
IBM Portable PC's user avatar
2 votes
1 answer
4k views

Why `minicom` append the `0xOD` character to serial text message?

I have a serial device attached to my PC's usb port, and get /dev/ttyUSB0. Then I run minicom on it, and run strace -p <minicom pid> to monitor minicom's activity. I found that, when I send ...
cifer's user avatar
  • 611
1 vote
2 answers
632 views

Serial port's modem lights up, but can't communicate

My MB has builtin UARTs (Supermicro X10SAE). I've got an external modem hooked up to /dev/ttyS0. I'm running CentOS7. Without minicom running on /dev/ttyS0: The modem has CTS on. With minicom ...
rrauenza's user avatar
  • 734