Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [minicom]

The tag has no usage guidance.

-1
votes
0answers
16 views

LTE Modem not working in 1 out of 20 boots

I have an embedded device that runs Ubuntu 16.04 and has a LTE modem connected to it. The modem usually works normally on boot and shows up as usb2 device (when using ifconfig). It also gives my ...
2
votes
2answers
103 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, ...
0
votes
1answer
38 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 ...
0
votes
0answers
48 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 ...
0
votes
1answer
245 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 ...
2
votes
1answer
104 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 ...
0
votes
0answers
29 views

Why serial of libvirt using pts/* is avaliable only to root?

I have a old vm,no networking(sic!) so I use the old good serial for comunicate from host. On libvirt/qemu is possible to setup a pseudotty pts like a real serial port. Serial is ok on guest,on host ...
1
vote
2answers
599 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 ...
0
votes
1answer
39 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'...
2
votes
0answers
289 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 ...
0
votes
1answer
312 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. ...
2
votes
1answer
3k 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 ...
1
vote
0answers
96 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 ...
2
votes
0answers
332 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 ...
5
votes
2answers
698 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/...
7
votes
2answers
2k 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 ...
1
vote
1answer
695 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 ...
1
vote
1answer
3k 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. ...
1
vote
0answers
798 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 ...
6
votes
2answers
10k 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 ...
2
votes
0answers
901 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/...
1
vote
1answer
955 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 ...
2
votes
0answers
637 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 ...
1
vote
1answer
615 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 ...
2
votes
1answer
2k 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: ...
3
votes
1answer
568 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 (...
4
votes
1answer
573 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, ...
1
vote
1answer
2k 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 ...
0
votes
1answer
777 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 ...
1
vote
0answers
1k 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. ...
1
vote
1answer
3k 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 ...
1
vote
1answer
438 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 ...
16
votes
5answers
31k views

minicom showing offline

I am trying to use minicom in Ubuntu. To do this I first connect my USB to DB9 converter, then I type this command on terminal dmesg | grep tty to check if my USB to DB9 converter is connected ...
36
votes
2answers
51k views

How to change the width of remote serial console? [duplicate]

I followed this tutorial and now I'm able to connect to serial line. Now I want to change the width of terminal. How can I do this by using screen or minicom or something else?
3
votes
1answer
891 views

What is the difference between Minicom and gammu-smsd?

My understanding of Minicom: Minicom is a text-based modem control program (allows you to communicate with modem via AT commands on a text-based terminal) using serial port communications. Therefore, ...
1
vote
3answers
4k views

How do I pause the output of minicom?

What is the key combination to pause/freeze the output of minicom? At times the output scrolls very quickly and it makes it difficult to analyse some event. I know I could instead capture to a file ...
1
vote
2answers
4k views

How do you use minicom with stdin and stdout?

I need to communicate with Python over a USB to RS-232 converter, to a device. The application minicom connects seamlessly, so if I could run that in non-interactive mode, everything would would be ...
1
vote
0answers
80 views

Linux shell lagging one step

I upgraded busybox from 1.2.1 to 1.7.4 in my embedded system platform and it is connected to linux host via serial cable. Now when I type any command in shell on that embedded system platform like ...
0
votes
1answer
226 views

Can't launch minicom correctly: “Parameter port is private, but is marked public in global config file”

Im not sure if I have this setup right, I get the following error Can't launch minicom correctly: "Parameter port is private, but is marked public in global config file"
8
votes
1answer
2k views

Raspberry Pi, serial console, minicom, and gnome-terminal

I'm trying to access my raspberry pi via its serial console on the gpio pins. It's working fine through a USB-3.3v serial dongle. However, there's a problem with long lines and long screens not ...