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
85 views

How Install Ubuntu 21.04 (Desktop) on Raspberry Pi 4 using Serial Console?

Hello how can I install ubuntu desktop 21.04 on raspberry pi 4 using serial console? How do I prepare the SD card files to make this happen? Thanks. Edit: I was able to fix my problem installing ...
0
votes
1answer
24 views

move minicom to background after activation

there is a way to move minicom to bg after I entered? I know I can use '&' at the end of the command to start minicom on bg. but after I moved it to fg, how I can move it back to bg?
2
votes
0answers
47 views

How to Headless Install Ubuntu 20.04 Desktop Environment for the Raspberry Pi 4 using UART Pins (TTL to USB Serial Port)

I want to install Ubuntu onto my Raspberry Pi 4 using the desktop release build, not the server release build, because I do not have the time for the Pi to install all the huge packages and massive ...
0
votes
1answer
24 views

How to fix java.lang.ClassNotFoundException: gnu.io.CommPortIdentifier with libRXTX on Ubuntu 20.04?

I have the following error: $ sudo java -jar /home/fadedbee/tc65sh-1.4.0/bin/tc65sh.jar -Djava.library.path=/usr/lib/jni/ -cp /usr/share/java/RXTXcomm.jar -p /dev/ttyUSB0 -b 115200 -f push.txt tc65sh ...
1
vote
0answers
28 views

How to print with a serial port printer?

I am completely clueless when it comes to printers, ports and things like that so I am just reading and trying to get a printer to work without getting a college degree haha... Basically, I have a ...
0
votes
1answer
49 views

Arduino Port Not detected and can not run it as root

I have two Ubuntu one is 18.04 and another is 20.04, also i have some problem with Arduino boards,i have tried this instruction(pin connections and ...): But, the Arduino IDE can not detect the ...
0
votes
0answers
63 views

Serial device stops working when upgrade to 20.04

I have a USB device with a serial interface. It worked great on 18.04 (and on Windows) but when I upgrade to 20.04 something is interfering with communications. When I plug in the device, it shows up ...
0
votes
0answers
62 views

Unable to Open Com Port

Hi AskUbuntu community. I want ask a question about the opening of serial ports in Ubuntu. I use Ubuntu 20.04 in my MSI computer. I want to access a hardware device (A GPS unit) via USB cable. I ...
0
votes
0answers
41 views

permanently disabling echo on `ttyACM0` (including USB device re-connects)

On a virtual serial port ttyACM0, to disable echoing bytes sent by a USB device to PC back to the USB device, I run stty --file=/dev/ttyACM0 -echo` (https://www.codeproject.com/Messages/5535937/Re-...
2
votes
0answers
74 views

Cannot access udev symlink with python serial immediately on startup

I have configured a udev rule to create a symlink for a USB device: SUBSYSTEM=="tty", ATTRS{idVendor}=="3032", ATTRS{idProduct}=="0014", SYMLINK+="ttyUSB_GPS" ...
0
votes
0answers
46 views

Arduino - com port greyed out - cannot upload sketch

Cannot upload sketches to the Arduino - COM port is greyed out and cannot be selected. I use 1.8.13 of Arduino IDE. Added a few output from the terminal that may or may not be helpful (I have several ...
0
votes
0answers
63 views

Command line interface to BLE (UART)

I've been able to use an Arduino Nano 33 BLE and create a UART connection to the unit with an iPhone (using Bluefruit Connect). I can send and receive messages; this is great. Relatively simple ...
0
votes
2answers
182 views

Cannot read from serial USB device

I have a lab equipment (CAEN DT1470ET) connected via USB to a Ubuntu 20.04 machine. I have installed the graphical interface software from the manufacturer and it connects properly with the instrument....
0
votes
0answers
21 views

Terminal connecting into an ubuntu box using a USB-A to USA-A cable

I have two ubuntu boxes: my laptop that is connected to the network and has USB ports an embedded device that does not have any network connectivity but has USB ports Is it possible: to use screen (...
1
vote
0answers
40 views

how do I get screen to show comamnds given?

I have a serial device that I am trying to figure out the commands for. I know the baudrate, and seem to be able to connect. Using $screen /dev/ttyUSB0 9600,cs8 the problem I have is that every ...
0
votes
0answers
24 views

Virtual Serial Ports

How do I go about sharing my ttyUSB0 port between two different programs? I need to create two virtual ports pointing back to the ttyUSB0 com port. Thank all.
1
vote
0answers
433 views

Usb to Serial Cable adapter, recognized but not attached to a /dev/tty*

I have a USB-to-RS232 converter cable, the cable is proven to work in Windows machines, Ubuntu detects it but does not attach the converter to any /dev/tty. I tried connecting it to USB 2.0 and 3.0, ...
0
votes
0answers
109 views

Serial UART driver issue under Ubuntu 18.04

I am trying to debug an issue I have found with a Pericom chipset PCIe-to-UART PI7C9X7958 the goal being to find out what causes the problem and how to solve it. The Pericom chipset I am using has ...
0
votes
1answer
68 views

“inputattach” doesn't survive suspend / resume

I've been reading quite a lot on suspend / resume, in here and other internet resources, and tried countless (too many to quote here) of the hints given; in vain... My setup requires inputattach, and ...
0
votes
0answers
43 views

Serial port communication isn't working?

Serial port communication isn't working in Linux on my machine. How to solve? I have a USB to NULL-modem to USB plugged in. Using this Serial cable in Windows works fine. Can transfer 100MB file in ...
0
votes
1answer
49 views

Mincom always connected to /dev/ttyS0

I have set my minicom serial port with the following default conditions: pu port /dev/ttyUSB0 pu mdialpre pu mdialsuf pu mdialpre2 pu mdialsuf2 pu ...
0
votes
0answers
23 views

Create files with consecutive names in screen -Logfile

I'm new to Ubuntu and Linux, I'm running ubuntu 20.10 on raspberry pi zero. my first question is I need to find the specific ttyUSBx? I'm trying to create a script that runs every startup and log the ...
0
votes
1answer
76 views

How to set parity/stop bits on Keyspan (or other) usb-to-serial / RS232 converter? (stty doesn't work)

I have two different usb-to-serial adapters, a Keyspan USA-19HS and a Plugable usb serial converter. Plugging either in to my Ubuntu 20.10 Lenovo X1 laptop results in a /dev/ttyUSB0 being created that ...
0
votes
1answer
89 views

Serial can receive but cant send

I recently installed Ubuntu20.4 as a dual boot with Debian both using plasma-desktop. On an old Samsung laptop with a series 1 i5. enter code here I'm trying to talk to the REPL of an esp32 board ...
0
votes
0answers
166 views

PC running Ubuntu Server 20.04 stopped recognizing USB-to-serial devices (FTDI)

Good evening to everyone, I have an old PC running Ubuntu (server) 20.04.1 LTS and a 3D printed (Marlin firmware with onboard FT232 serial to TTL converter), a week ago I discovered repetier server ...
1
vote
0answers
145 views

create HDLC interface in linux using serial port

I have modified MAX485 board (to work in sniff mod I deleted a terminator resistor) connected to Arduino. This Arduino connected to raspberry pi via USB. I probated this on Modbus/RS485 using IOninja ...
0
votes
0answers
90 views

FT_Read returns 0 bytes using D2XX driver

I have been having lots of problems when using the FTDI FT2232HL chip on Linux. My application is writing and reading some data to the chip repetitively using the D2XX driver, and then after a random ...
0
votes
2answers
1k views

dev/ttyacm0 does not exist despite showing up in dmesg

I'm trying to run rosserial with a teensy 3.6, but am getting the following error [ERROR] [1603751770.005130]: Error opening serial: [Errno 2] could not open port /dev/ttyACM0: [Errno 2] No such file ...
0
votes
0answers
298 views

How can I create virtual serial port pairs?

Can someone point me to a good tread or explain to me how I can create a virtual serial port pair in Ubuntu so that I can use then for PicSimLab/CuteCom? I was provided information how to do this in ...
0
votes
0answers
141 views

gtkterm ubuntu 20.04

I need to get access via console cable to some Cisco switches: in 18.04 I was used to connect via gtkterm, on /dev/ttyUSB0. In 20.04 port opens then terminal cursor stays ... how to say? "Frozen&...
0
votes
0answers
56 views

Update firmware on ubuntu to Microchip BLE module BM70/71

Has anybody succeded in updating new firmware (RN4870 or BM70) to Microchip BLE module (BM70/71) on ubuntu? Recomended PC Tool isupdate.exe does not work on ubuntu. I tried to run it with wine but I ...
2
votes
2answers
571 views

Permissions group dialout don't apply

I'm using an application that needs to communicate through a usb-serial cable, using /dev/ttyUSB0. Both /dev/ttyUSB0 and the user who owns the process are in group dialout, and the rights on the port ...
2
votes
0answers
577 views

Unable to use ttyUSB0 as console

I have a server (Ubuntu 20.04.1 Kernel 5.4.0-42-generic) that is meant to be headless and able to be remote rebooted (with encrypted root) I have a USB to Serial adapter in the machine and was wanting ...
0
votes
0answers
40 views

Flashing software through RS232

Is there any software in ubuntu for flashing .bin or .abs (binary files) directly through RS232 port? And, how to recognize from the terminal, which one is COM port, and which one is USB port?
0
votes
0answers
26 views

How to tell ubuntu to dont recognize my GSM shield as a broadcom device?

I own a GSM shield for Arduino, and I was having a good time testing it out on Windows, using AT cmds with pyserial, to retrieve SMS data it received. Then I decided to give Ubuntu a try, but it ...
2
votes
3answers
6k 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 ...
1
vote
1answer
569 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-...
1
vote
2answers
407 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
75 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
716 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 ...
2
votes
3answers
3k 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
966 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
1answer
99 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
1answer
286 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
1k 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: ...
1
vote
0answers
399 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
816 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
1answer
554 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
870 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
5k 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 ...

1
2 3 4 5 6