Questions tagged [serial-port]

A serial port is a commonly available low-bandwidth communication port, using the RS232 protocol on most PCs. Uses historically include dial up modems, mice and console connections.

Filter by
Sorted by
Tagged with
0
votes
0answers
32 views

Enable UART communication on Pi4 Ubuntu 20.04

I have Ubuntu 20.04 (32 bit) installed on RPI4 (4GB). I have loopback wire installed on Pin 8,10. I need to use Bluetooth and also basic serial communication over Pin 8,10 to communicate with a ...
0
votes
0answers
24 views

Install Ubuntu using serial port

I have a set of 6 computers (3 embedded computers and 3 SBCs) without graphical output. Each have a serial port. I want to install Ubuntu 20.04 Focal Server. When I try to boot using ubuntu-20.04-live-...
0
votes
0answers
21 views

what does console [tty0] enabled mean when I type dmesg | grep tty?

I am a beginner in Linux and serial communication in Linux. On going through the link https://www.cyberciti.biz/faq/find-out-linux-serial-ports-with-setserial/, I ran the dmesg | grep tty command. But ...
0
votes
0answers
15 views

Core18: Disable serial-getty@.service via install hook

I've got a core18 image with a misbehaving serial-getty@.service that's been a real headache (See here for more info). TL;DR is that it's delaying initial boot by timing out for 10 minutes. Running ...
0
votes
1answer
39 views

lirc_serial module missing 18.04+

On Unbuntu 20.04, I want to configure lirc for IR blasting over serial port. But it seems that the latest linux kernel is missing the necessary "lirc_serial.ko" module (missing since Linux 4.15, at ...
0
votes
0answers
24 views

Unable to read from port ttyACM* after restart

I have a Teensyduino thermal sensor its working fine in windows but when i connect it to linux either with ubuntu or centos. I didn't get the reading from specified port then i added a rules 49-teensy....
1
vote
1answer
65 views

Connect to Raspberry Pi 4 with Ubuntu Core 18 via serial cable

I am trying to install Ubuntu Core 18 on my Raspberry Pi 4 by following this guide. I don't have an extra keyboard or a USB-C connector to a screen. The guide says: Attach the monitor and keyboard ...
0
votes
0answers
28 views

Unable to Read Data from /dev/ttyACM0 port

I am trying to read data from a teensy based sensor connected to ttyACM0 on a Ubuntu 18.04 based system. It seems to run fine for around 10 seconds each time when connected but does not responds later....
2
votes
3answers
110 views

How to unload a kernel module which is in use and has a recursive module dependency?

I habe a driver for my ELM 327 an it uses the pl2303 module which depends on the usbserial and this again depends on the pl2303 module. What I tried: sudo modprobe -r usbserial pl2303 sudo modprobe -...
2
votes
0answers
68 views

Serial ports stopped working when upgraded to 20.04

I've been using GTKTerm on Ubuntu version 18 happily with a dual PCI serial RS232 card for a while. On upgrading to Ubuntu 20.04 it's stopped working. Ports seem to be found by system (ttyS4 & 5):-...
0
votes
0answers
31 views

Why can't I open USB serial port or connect openocd without root permission?

minicom or openocd command won't run without root permission on a Ubuntu 16.04 system. The issue was noticed yesterday, until then I didn't have to use root permission. Recent changes to system: 3-4 ...
0
votes
1answer
39 views

when i try to uplaod to dev/ttyUSB0 it doesn't work

it gives me this error avrdude: ser_open(): can't open device "/dev/ttyUSB0": Permission denied PLEASE HELP!!!!
0
votes
0answers
16 views

Dallas DS9097U-009 Serial device identification not working

I've been running a 1-wire bus for many years on Ubuntu 10.04 OS. In this system the serial DS9097U bus master and 1-wire sensors are found on /dev/ttyS0. Using the owfs shell command owdir the ...
0
votes
0answers
14 views

Utilite Value serial connection works in U-Boot console

I have a Utilite Value that I'm trying to repurpose as a media computer, including installer a newer version of Ubuntu. I posted on this earlier but hit a snag. When I connect using gtkterm, I can ...
0
votes
1answer
38 views

how to assign serial port name using rules.d?

The system is Ubuntu 16.04 with two Arduino devices connected via USB cables. When they are connected they appear in /dev directory as ttyACM0 and ttyACM1. Is it possible to assign a different name ...
0
votes
0answers
77 views

How to do a serial port loopback in Ubuntu?

I'm new to Ubuntu, I have a PC running on Ubuntu 18.04, it has 02 RS232 serial port. How can I do a loopback test on the serial port? I had tried dmesg | grep tty , It returns : [ 0.141242] printk: ...
0
votes
0answers
37 views

Minicom does not display ascii when serial port accessed without admin privileges

I'm running an Ubuntu 19.10 installation. I added my user account to the dialout group and logged out and back in to my session. When I connect to minicom as an unprivileged user it outputs the data ...
0
votes
0answers
41 views

Linux screen command not accepting keyboard input

I am trying to connect to a JTAG device using screen. I type the command sudo screen /dev/ttyUSB1 115200,cs8 I am able to see all of the output from the board, but I am unable to type anything into ...
0
votes
0answers
114 views

Mount serial port directory in docker so that any serial port can be used

I am pretty new to ubuntu. I am working with serial port. I have developed a small chat utility using .NET Serial Communication. I wrapped this utility in a docker and moved it to linux machine. I am ...
1
vote
0answers
65 views

Serial ports registered but /dev/ttyS4 and ttyS5 files missing (Ubuntu 18.04, Intel Apollo Lake SoC)

I can't find a way to make the serial ports work on my computer. If I run dmesg I see that they get recognized and registered dw-apb-uart.0: ttyS4 at MMIO 0x9131e000 (irq = 4, base_baud = 115200) is ...
0
votes
0answers
59 views

Enabling ttyAMA0 for gpio uart on ubuntu 18.04.4 LTS

I am trying to run a serial port to communicate with an external device on a raspberry pi 4. I'm using the tx and rx pins but when I scope the output nothing shows up. The tx pin is just reading 3.2 ...
0
votes
1answer
186 views

Could not open port /dev/ttyACM0 Error after every restart [duplicate]

I'm getting the error could not open port /dev/ttyACM0 : [Error 13] Permission denied : '/dev/ttyACM0 ' To solve this error I write the coomand sudo chmod a+rw /dev/ttyACM0 which solves the problem ...
0
votes
1answer
228 views

Is there a command that can be sent into a usb port to request the system's time?

I'd like to add a functionality to a project I'm working on, in which as soon as an external controller device powers on, it sends a time-request/command to a ttyusb port of an Ubuntu PC, and the ...
1
vote
1answer
569 views

How to disable ttyAMA0 console on boot (Raspberry Pi)?

Running Ubuntu Server on a Raspberry Pi 3 B+ and I am unable to disable the console attached to the GPIO UART for the initial boot sequence. I am able to disable it in general execution (and have done ...
0
votes
0answers
246 views

FTDI device no output on minicom

I am having trouble in getting a USB to serial to work on Ubuntu. The device contains a FTDI chip, 2232D to be specific (I can see it on the board). Device has two serial ports so it lists as /dev/...
2
votes
0answers
81 views

Map Usb modem to serial port and network interface

I have three Usb modem (W02-Lw43 JAZZ) plugged in. Here some info : _> ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:...
0
votes
0answers
45 views

Linux Event capturing using C program

I want to capture the linux kernel events for usb device connection/disconnection (both mass storage and serial device). In case of mass storage device with connection status, program should get ...
0
votes
0answers
19 views

Securing access to the serial console on my board

I am deploying a project on a ROCK Pi 4 arm64 board running Ubuntu 18.04. It is possible to access the serial console as explained in the Serial Console tutorial. I would like to prevent the access to ...
2
votes
1answer
197 views

Map microcontrollers connected (FTDI) on physical USB port to Windows Virtual Machine in Virtualbox as COM

Host OS: Ubuntu 18.04 Virturalized: Windows 10 Things I have already done: Added $USER to the dialout group and rebooted sudo chmod 666 /dev/ttyUSB* Mapped the port where my microcontroller gets ...
1
vote
1answer
394 views

USB Serial ports reset each time the system is restarted How to prevent that?

I am using Ubuntu 18:04 LTS and am trying to communicate with the serial ports but each time I restart the system the ports are reset is there a way to prevent the same. ie assuming I am using a ...
0
votes
0answers
28 views

Program advices for plot serial port data with my own time

Hi I am reading datas from stm32 MCU and I need to plot these. I am using SerialPlot for this but I need to plot my own time with RTC which I read from again MCU. I tried some Python scripts however ...
1
vote
0answers
365 views

Connecting a GPS/GLONASS U-blox7 via USB gives “Could not grab port (tty/ttyACM0)”

I am trying to read data from a U-blox 7 but i am getting the message Could not grab port (tty/ttyACM0) So far I've created the file to modify the kernel 49-ublox.rules which contains the ...
0
votes
0answers
61 views

Unable to communicate with serial-port after hibernation with Ubuntu 18.04

Serial-port communication is not possible on a PC using an Intel 100 series chipset. It can be sent and received normally by setting 9600bps at boot time. After hibernation, the setting has been ...
1
vote
0answers
610 views

Unable to write/read from serial port after couple of minutes/hours. Error message: stty: standard input: Inappropriate ioctl for device

I am trying to write and read from serial port at the same time. The purpose of this is to turn on and off a device over a DIO card which is connected to the serial port. While doing these on/off test,...
0
votes
1answer
463 views

I need a serial port program with logging timestamp

I am using cutecom for serial port as it have a timestamp because i need to reference for two different data. But i can't log these datas with timestamp and need ms precise. Is there any suggestion? ...
0
votes
0answers
141 views

Serial port output wrong characters

I'm having an awkward problem with a serial port communication betwine my Laptop (Ubuntu 18.04) and any microcontroller. The terminal (in the laptop) output nonsense characters, some of them are ...
0
votes
1answer
32 views

I want to capture serial printer information so that I can manipulate the data

I need to be able to adjust the bitrate, start, stop, and parity. I would like to use a Single Board Computer or an old Android Phone that is rooted and running a different version of Linux. The data ...
1
vote
1answer
88 views

How to log serial data immediately?

I am currently working on an electronics project with a microcontroller that sends information over USB to a computer, where it is read from a serial port. I can read the data with screen and log it ...
0
votes
1answer
93 views

Media test failure error in Minicom

I have been working on setting up a bare metal switch through minicom from a remote server. Serial port info: sudo setserial -g /dev/ttyS0 /dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4 I was ...
0
votes
0answers
358 views

How to use USB-RS232 to connect the RS232 serial port of another computer?

I connect two PC by RS232 as Fig1. I use command cat /dev/ttyS0 on a PC and echo "hello"> /dev/ttyUSB0 on another PC,but they can't communicate. Confusingly,When I use USB-RS232 to connect them ...
0
votes
0answers
726 views

FT232 - no ttyUSB* device will be created after plugin

I'm using Ubuntu 16.04 LTS. When I connect the PC with the FT232R on a DE10 Standard, the system recognizes the FT232R. But in the /dev directory is no ttyUSB* file created after plugin, not even a ...
0
votes
0answers
42 views

why I can't get the name of some serial device names?

I'm using ubuntu 18.04. I have connected two devices to serial ports. to ttyACM0 through usb and to rfcomm1 via bluetooth. I have read write permissions for the both ports. I wrote a python3 ...
0
votes
0answers
269 views

Serial ports Issue ( Not USB, the ttyS ones ) Ubuntu 16.04

I have a machine running ubuntu 16.04, before ubuntu the machine had CentOS 6.5 installed, the pc has 3 serial ports ( /dev/ttyS[0-2] ) before the OS change these ports were working fine but now every ...
1
vote
1answer
829 views

trying to send a command list through serial port but only the first line is taken by the device others are ignored

I am trying to send a message including carriage returns (represented without pressing enter) over a serial connection. It works if i press enter with an open serial connection, but I have not found a ...
1
vote
0answers
110 views

RPlidar could not be launched

I am now doing a project using rplidar in ubuntu 16.04. However I facing some problem of launching the rplidar. I have checked that my userid is inside the dialout group. The below code is what I ...
3
votes
1answer
96 views

How to debug nullmodem connection between Norton commander in DOS and NC on DOSBox on Ubuntu?

I am trying to make Norton Commander 5.5 on an OLD 80286 DOS 6.22 box (Tulip LT286. I am actually still using this 30+ years old laptop almost daily to communicate with satellites in earth orbit via ...
0
votes
1answer
863 views

ubuntu can't find serial port

I'm using Ubuntu 18.04.2 LTS downloaded from Microsoft store and Arduino IDE. I'm trying to use ESP32 in Ubuntu, but Ubuntu can't find the serial port. In Arduino, Tools > Port is greyed out. In ...
2
votes
0answers
297 views

Efax can't open serial port /dev/ttyS1: Permission denied

Efax can not send a fax. Socket running on port 9900 efax-0.9a: 17:33:54 Error: can't open serial port /dev/ttyS1: Permission denied efax-0.9a: 17:33:54 failed page /home/andy/Documents/...
1
vote
0answers
72 views

Why does USB-to-serial cable freeze keyboard?

I found a weird issue in Ubuntu 18.10. The issue was caused by my error, but it led to a situation that I couldn't figure out how to recover from, and I'm curious if anybody here has ideas about what ...
1
vote
0answers
1k views

ftdi_sio ttyUSB0: error from flowcontrol urb on Ubuntu 16.04

I have FTDI RS 232 connected to my intel UpBoard that has Ubuntu 16.04. But when I run dmesg | grep tty I get the following error: [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-37-...

1
2 3 4 5