Skip to main content

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
0 answers
28 views

Problem dev files

I have a problem with Ubuntu. From the moment I initialize my PC, the time changes and the connection drops. I have to refresh the time for the connection to come back. I noticed this because when I ...
Helder Santana's user avatar
1 vote
1 answer
35 views

pyserial lists incorrect serialports on Ubuntu 24.04

I recently upgraded multiple PCs from Ubuntu 22.04 to Ubuntu 24.04. I'm using multiple python scripts for reading/writing to serial ports. The strange thing is that when I list the available serial ...
slarag's user avatar
  • 159
0 votes
0 answers
21 views

How to create NetworkManager profile for serial interface over SLIP protocol?

I've following network connection: router <-> device Ethernet to serial (SLIP) <-> PC with serial input. I need to reach network on PC over this chain. I've attached slip interface over ...
Anton's user avatar
  • 1
1 vote
0 answers
138 views

Ubuntu can not read data from usb serial port

I have a device (barcode scanner) that when I plug into my laptop, this record is added when running lsusb command: Bus 003 Device 070: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter This ...
Ali Shefaee's user avatar
0 votes
0 answers
101 views

Failed to 'open' on 'serial port' error

I am trying to load wled onto an esp32 but I am getting an error that says "failed to open serial port". I believe I have the device installed correctly, when I plug it in it pops up in the ...
Chad Shmad's user avatar
0 votes
1 answer
314 views

systemctl what are these processes?

sys-devices-platform-serial8250-serial8250:0-serial8250:0.0-tty-ttyS0.device loaded active plugged /sys/devices/platform/serial8250/serial8250:0/serial8250:0.0/tty/ttyS0 sys-devices-...
stackcen's user avatar
0 votes
1 answer
175 views

Parallel Port Access in Matlab

I'm having difficulties accessing a parallel port on Ubuntu 22.04. It is a SUNIX Co. Multiport MIO6469A that was installed in a PCI slot. It has both DB-9 (serial) and DB-25 (parallel) connectors. We'...
Nick G's user avatar
  • 11
1 vote
0 answers
151 views

'Unable to open FTDI Deivce tried: 'Quad RS232-HS' and 'Quad RS232-HS A''

I have used ftdi drivers to connect to our test boards many times, using the same README file that was written by my colleague years ago. I have applied the same procedure for ubuntu 16.04, 18.04, 20....
Chan Kim's user avatar
  • 2,121
0 votes
0 answers
88 views

Serial port communication

I am trying to communicate with an HP48SX calculator over serial interface with C-Kermit and am getting an error message when trying to set the parameters to be compatible with the HP. Using Ubuntu 20....
Denny's user avatar
  • 1
0 votes
0 answers
609 views

How to connect to ESP32-wroom-32

I'm starting – or trying to start – working with an ESP32-WROOM-32 board, using Ubuntu 23.04, ultimately in order to install WLED to control lighting via Home-Assistant. So far, I've connected the ...
David Thomas's user avatar
1 vote
2 answers
15k views

How to read data from a serial port?

In ubuntu 22.04.2 I am trying to read the data coming from a serial port. To find the correct port I do sudo dmesg | grep tty which gives [ 0.117304] printk: console [tty0] enabled [ 0.793135] ...
Alex's user avatar
  • 865
0 votes
0 answers
96 views

How to use remote computers terminal with serial connection with xbee and PuTTY?

I am using two different laptops for my project. One is installed with Window and the other is installed with Ubuntu. My specific goal is to able to use Ubuntu terminal with Window computer with ...
임성래's user avatar
0 votes
0 answers
363 views

Multiple connections to the same serial port

I'm trying to connect to clients to the same serial port. The serial port is shared over the network with TCP on port 1234. I tried with socat tcp-listen:1234,reuseaddr,fork tcp:remote-ip:1234 but ...
lettore's user avatar
  • 21
0 votes
1 answer
2k views

Sending Serial data over TCP/IP in command line

I've wracked my brain over this and been through several dozen help files and tutorials, and just cannot figure how to properly do this in Linux. The situation is that I need to send serial text to a ...
DesignerJT's user avatar
1 vote
0 answers
148 views

Autoconfigure PCIe UART Card at boot - Ubuntu 22.04

I am trying to configure a Serial PCIe card (Exar XR17V3521 Dual PCIe UART) for use in DOSBox 0.74-3. The card uses the XR17V35X kernel module. Everything works fine, as long as I run setserial /dev/...
Pinguinim's user avatar
  • 1,478
0 votes
0 answers
170 views

Having trouble understanding bluetooth connection

I am trying to troubleshoot my connection to a cheap elm327 OBDII adapter, can pair it using bluetoothctl and i can trust it, can establish a serial connection using rfcomm, i then proceed to use ...
sgt's user avatar
  • 109
0 votes
1 answer
344 views

How to read elm327 obd2 raw data over bt using rfcomm?

I am trying to read my car data, i have hooked a cheap elm327 bt obd2 connector to it, and using lubuntu. Basically this is what i have done, but its not fully working i end up with a sort of buggy ...
sgt's user avatar
  • 109
0 votes
0 answers
187 views

USB Serial communication stops with "Resource Temporarily Unavailable", preceeded by receiving random characters

I'm using an ftdi serial port converter. After opening the converter using microcom, I will eventually see these characters spew to the screen "DDFDDFDFD", then I get this message: Resource ...
Ben Beckwith's user avatar
1 vote
1 answer
1k views

USB serial device not getting port in Ubuntu 22.04

I have a USB device that have been using for years in older Ubuntus to which I can talk via serial port. lsusb shows the device. I am now trying to find in which serial port it is (i.e. /dev/whatever),...
user171780's user avatar
0 votes
0 answers
50 views

USB to serial adapter randomly kills Bluetooth after some time

I'm on a ThinkPad T14 AMD Gen1 with Ubuntu 22.04.2. I have an USB to serial adapter connected to my computer that shows up as/dev/ttyUSB0. I use it to receive/send data from/to a Raspberry Pi. This ...
Fred's user avatar
  • 170
0 votes
0 answers
240 views

Serial Port GID is root (not dialout) on Raspberry Pi CM4

I am getting "Permission Denied" errors when trying to access /dev/serial0 on the Raspberry Pi CM4. I've tried the common suggestions of adding my user to the dialout and tty groups, but ...
ebab72's user avatar
  • 1
0 votes
0 answers
72 views

USB install of Ubuntu 18.04 server, UART issue

When the U18.04 installer loads onto system, its kernel lacks DMA driver for the 8250 UART device, and no interactive console messages are visible, so I cannot complete the installation. The missing ...
Eyal Cohen's user avatar
1 vote
4 answers
17k views

I need help connecting serial ports to Ubuntu in WSL

I have attempted many ways of trying to connect the serial ports, but I'm not sure how as they all show input output error. The system does recognize something is connected as shown on the screenshots....
tariq said's user avatar
0 votes
1 answer
2k views

Can't find the USB port that USBasp programer is using in Ubuntu 22.04

I'm trying to set up everything to make some projects using Atmega microcontroller. The problem starts when I'm trying to flash compiled program to microcontroller because I need to specify port on ...
etrusks's user avatar
  • 101
1 vote
1 answer
1k views

Cannot discover USB device port?

I am trying to find this a micro controller device that's plugged in with a USB to my computer and ideally I want open up the port that it's connected to. Problem is that I cannot find the device's ...
PatTheTrickster's user avatar
0 votes
0 answers
807 views

Lost ttyUSB0, Cannot open /dev/ttyUSB0: No such device or address

Previously I used putty with ttyUSB0 to read the serial log in my SmartBox, but by accident I couldn't read it anymore and when I checked, my ttyUSB0 file on Ubuntu 18.04 was lost. I have tried to fix ...
ChunhThanhDe's user avatar
1 vote
0 answers
213 views

Following Ubuntu OS update and reboot serial ports not recognized inside Arduino IDE

Serial ports ttyACM0 and ttyUSB* have disappeared after update to 20.04 LTS and reboot. Tried going from Grub kernel 5.15.0-52-generic to 5.15.0-48-generic. These particular ports are referenced ...
Ed Delauter's user avatar
0 votes
1 answer
497 views

Put timestamps on data gathered from serial port

I use this code: https://www.pythonpool.com/python-serial-read/ and more specifically the code under the paragraph: Reading Data From Arduino Boards using Python Serial Read. The data I get are like ...
john's user avatar
  • 151
0 votes
1 answer
568 views

how to find serial port of my gps device?

in Ubuntu 20.04 lts, I'm using usb gps module. when I plugged, it can change between ttyACM[0..9]. How can I specifically detect usb gps? I used pyusb but it won't show serial port details.
nogabemist's user avatar
1 vote
0 answers
991 views

Only install specific driver from linux-modules-extra

I have a USB serial cable that I'm trying to connect to a Ubuntu 20.04 machine (kernel Linux 5.8.0-63-generic). To get the ttyUSB0 in /dev I have to do a sudo apt install linux-modules-extra-$(uname -...
Madz's user avatar
  • 111
3 votes
0 answers
460 views

/dev/serial directory no longer appearing in 22.04

I recently upgraded my Ubuntu install from 20.04 to 22.04. I use zwave with the install for home automation things. I'd gotten my zwave controller to work with it's software by finding it's id in /dev/...
Mark von Rosenstiel's user avatar
0 votes
1 answer
2k views

I don't know how to use console line on linux

I'm a student and I need to use a console cable to connect a Cisco switch but i don't know how to use it in linux Below is my device information: Linux xianyu-ThinkBook-14-G4-IAP 5.15.0-39-generic #42-...
yuxian's user avatar
  • 41
0 votes
0 answers
3k views

minicom: cannot open /dev/ttyUSB0: No such file or directory

[28886.887374] usb 3-2: reset full-speed USB device number 4 using xhci_hcd [28887.058484] usb 3-2: Detected FT232RL [28887.066545] usb 3-2: FTDI USB Serial Device converter now attached to ttyUSB0 [...
lovalim's user avatar
  • 413
0 votes
0 answers
329 views

How store incoming data from serial port in bash?

I try a little bash script for a analog serial modem to record an incoming call. The commands for voice mode, compression and silent dedtection will return OK. So I am ready to receive data. For ...
Sweetkiss's user avatar
1 vote
0 answers
46 views

Cant upload to arduino with Arduino IDE in Ubuntu 22.04 [duplicate]

Hey guys my computer runs Ubuntu 22.04. And the Arduino IDE doesn't show any serial ports when a board is connected. This is what it shows when the board is disconnected: And this is what it shows ...
Raihan's user avatar
  • 381
1 vote
1 answer
3k views

Listing device in /dev/ path

I have been trying for several days to get my ESP32 to show in /dev/ttyUSB* I cannot get it to show at all I am running ubuntu If I do lsusb I get Bus 001 Device 006: ID 1a86:55d4 QinHeng Electronics ...
DottoreM's user avatar
  • 111
0 votes
0 answers
339 views

Serial connection is not working.(overrun(s))

I am trying to synchronize the time by connecting the GPS module. I have already checked the time synchronization using the USB port. However, when I try to connect the GPS module to the serial port ...
Harzarics's user avatar
0 votes
0 answers
477 views

Get a udev symlink registered as a serial in softwares

I created udev rules to have specific symlinks to my USB device. The USB device is a serial device that usually comes up as ttyUSB0 or ttyUSB1. I made the symlink to be sure I have always the same ...
noeldum's user avatar
1 vote
1 answer
496 views

Permissions for serialport communication for a program

Introduction: I'm building a Java software that performs serial communications by using jSerialComm library. I've noticed that if I run the .jar with sudo, it will act properly, but not otherwise, so ...
John's user avatar
  • 11
1 vote
1 answer
450 views

Kernel sees ttyACM2 but does not create an entry in /dev/

When I plug an M5Stack StampC3U device in my Ubuntu machine, the kernel sees it, as dmesg will report: cdc_acm 1-8:1.0: ttyACM2: USB ACM device But to my surprise, the Arduino IDE does not let me ...
Bram's user avatar
  • 2,621
0 votes
1 answer
413 views

Aten U232a not working in Ubuntu 18.04.6

I have ubuntu 18.04.6, and i want to use my Aten USB-RS232 cable (the 35cm one).After plugged it in, I check dmesg | grep ttyUSB, I get results: [ 344.775472] usb 1-2: pl2303 converter now attached ...
GeneCode's user avatar
  • 119
0 votes
1 answer
1k views

Serial port unstable operation

I've got a FTDI FT232RL based USB to serial adapter connected to a motor. The operation is unstable on Ubuntu 20.04 using proprietary library ("testapp"). The setup works fine under Windows ...
Suthiro's user avatar
  • 111
1 vote
0 answers
483 views

Install Ubuntu Desktop 20.04 over Serial Console

I have a device that I need to install Ubuntu Desktop 20.04 on, but the device only has a Serial Console port, USB ports, and LAN ports. I've looked around on here and on Google but can't find a ...
Leshawn Rice's user avatar
0 votes
1 answer
5k views

Enable UART communication (ttyS0 or serial0) on Pi4 Ubuntu Mate 20.04

I am using Raspberry Pi 4 (8G) version. It works well when communicating to Pixhawk via serial0 before. But several month ago, I changed the OS from Ubuntu 16 Ubiquity to Ubuntu Mate 20. Other ...
Bo Shang's user avatar
0 votes
0 answers
123 views

USB GNSS device never gets attached?

I insert my GNSS device via USB in hopes of getting a device path to read serially from it: I do this using my raspberry Pi 4 that I intend to use as a rtk ntrip caster. lusb gives: Bus 003 Device 001:...
Kevin Bäckstäde's user avatar
0 votes
1 answer
1k views

Not receiving serial data through Raspberry Pi UART

I'm trying to connect a Pi Pico to my Raspberry Pi 4, running Ubuntu Server 21.04, via serial UART. I know the pins and connections are correct because the same connection works perfectly on a ...
lowercasename's user avatar
0 votes
1 answer
640 views

Docker App Not Always Finding Serial Ports In Ubuntu 20.04

I am busy with an IoT type application that requires physical hardware that is connected through a serial port. We have opted to use the Azure IoT Edge architecture to deploy the application on the PC ...
itstudes's user avatar
  • 101
1 vote
0 answers
3k views

Problem with CH340 drivers in Ubuntu 20.04 (ESP8266 programming)

On current kernel in Ubuntu 20.04.3 there is problem using boards with CH340 (nodeMCU v3, Wemos). Serial communication with board is OK, just programming is not possible. It is due to DTR/DTS lines ...
Witold Rugowski's user avatar
4 votes
2 answers
9k views

CH340 Serial device doesn't appear in /dev/ (WSL)

I have an arduino nano clone with a CH340 serial chip. It appears in lsusb as QinHeng Electronics HL-340 USB-Serial adapter and when it connects I can see it in dmesg with the following logging: [ ...
Leo Bound's user avatar
  • 131
1 vote
1 answer
3k views

How can I enable ftdi_sio on Ubuntu server 21.10 on Raspberry Pi (ARM64)?

I'm trying to get a USB serial device working. I can see the device using 'lsusb' but it never appears in '/dev'. From what I understand there's this "extra" kernel package that I ...
Gordon_Lee's user avatar

1
2 3 4 5
7