Stack Exchange Network

Stack Exchange network consists of 174 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 [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.

0
votes
0answers
21 views

Which terminal do I listen on?

I have an evaluation board connected to my Linux machine. The board has a Quad USB-UART connection, ie 4 serial monitors on one USB connection. So when I use lsusb -t I see 4 devices. The board has an ...
1
vote
0answers
19 views

USB virtual com port

How do I recognize which com port I need for a connection with INAV, Betaflight, Cleanflight. My PC recognizes the com port I need automatically; my laptop doesn't recognize it.
0
votes
1answer
32 views

puTTY serial (ttyUSB0) only works when run as root? [duplicate]

Today I had to configure some CISCO switches & routers at school, and I used a USB to serial adapter. Unlike on Windows I didn't have to install any drivers; it was recognized immediately. When ...
1
vote
1answer
37 views

How find out who is using my virtual commport over usb

Sometimes when I am using a VCP (/dev/ttyACM0) someone is trying to talk with my device sending "ATE1 E0ATE1 E0ATE1" commands. How to catch who is doing this? Is it possible that the "program" that ...
-1
votes
0answers
29 views

USB 2.0 Extender not showing on /dev/ttyUSB0

I have an anemometer which outputs a RS232 signal with a frequency of 10 Hz. I have a RS232-USB converter so I can read the data from the serial port with cutecom, minicom etc. But I want to put the ...
0
votes
0answers
33 views

Serial software not working

I have Ubuntu 16.04 LTS and I would like communicate through USB-UART. I plugged my converter into my PC and found it at /dev/ttyUSB0. I searched for software and found 'minicon', edited the setting ...
0
votes
1answer
214 views

USB-Serial adaptor doesn't create /dev/ttyUSB path to address device

I'm using Ubuntu 18.10 x64 on my laptop and 17.10 x64 on another machine. The info below comes from the 18.10 laptop, but both have the same issue. I've attached a USB-to-Serial board (a Chinese TI ...
0
votes
0answers
39 views

How to extend rx buffer size for CDC-ACM? Reading from ttyACM is limited to 4096 bytes

I do have some boards (Nucleo-32, similar to Arduino nano) which are connected to my pc over USB. They will show up as ttyACM files in /dev/ directory. There are no special drivers used for these ...
1
vote
0answers
80 views

Serial port permissions in Ubuntu Core 16.04

I have installed Ubuntu Core 16.04 (GNU/Linux 4.4.0-135-generic x86_64) in a industrial PC Dell. I'm running Node-Red and now I need to connect serial ports to be read on the PC. When run node-red ...
0
votes
0answers
166 views

ubuntu 18.04 usb to serial converter not working

I'm facing with a problem with a usb to serial converter. It worked well for years with ubuntu 16.04, but now after the upgrade to ubuntu 18.04 it is no longer working. The driver is a pl2303 I tried ...
0
votes
1answer
304 views

Ubuntu 16.04 FTDI Usb To Serial does not show /dev/ttyUSB*

I am connecting a USB to Serial FTDI converter to Laptop running native Ubuntu 16.04,I don't see the /dev/ttyUSB* entry. If I connect the same to Oracle Virtual Box running Ubuntu 14.04 on Windows ...
10
votes
1answer
401 views

SSH into Ubuntu over Serial port

I have connected to my Ubuntu box using its serial port on windows(using putty connection is working fine.) According to the question https://serverfault.com/questions/892892/how-to-use-ssh-over-...
1
vote
0answers
22 views

Creating an ubuntu live USB for an appliance with no video adapter

I have an appliance for which I do not know the root password - and I can't access the GRUB menu ( I tried SHIFT,SPACE and ESC ). This appliance doesn't have any video adapter - only a serial ...
0
votes
0answers
44 views

Kernel not detecting PCI Qaud serial port after upgrade (somewhere between 4.15.0-24 and 4.15.0.32)

Best I can tell, it looks like this happened between 4.15.0-24 and 4.15.0.32. I am guessing this by looking at which kernels are on /boot I have a 4 port PCI serial card that used to work. But after ...
1
vote
1answer
209 views

How to install Drivers for RS-232 for Ubuntu 14.04?

I'm trying to install drivers for RS-232 . Can you help me with proper command or method? In my PC when i'm giving lsmod its not showing the cdc_acm driver but i tried to install again it's showing ...
0
votes
0answers
16 views

conflict between two USB drivers

I'm working on USB the code which i'm using usb cdc serial is not running on the PC which i'm using is ubuntu 14.04.In other PC's the code is running fine.I changed the compiler and test with all ...
0
votes
1answer
45 views

WCH CH355 Quad serial card not assinged ttyS* after reboot / upgrade

I have a quad port serial port based on the WCH CH355 chip. It had been working fine for over a year. Then I rebooted.... It used to be ttyS4 - ttyS7 I think that this is a kernal version problem but ...
0
votes
0answers
25 views

Particular PC not running code

I'm working on USB the code which i'm using usb cdc serial is not running on the PC which i'm using is ubuntu 14.04.In other PC's the code is running fine.I changed the compiler and test with all ...
1
vote
0answers
203 views

How to take a serial port connection via USB online?

I'd like be able to establish a connection to a headless Ubuntu 18.04 server from a Ubuntu 18.04 laptop via serial console in order to avoid having a graphic card consuming energy in the server. The ...
2
votes
0answers
531 views

Ubuntu USB to serial device connection problem

I have bumped into some problems regarding USB connection, I’ve tried the following commands but I still can’t get a connection working: $ lsusb Bus 002 Device 003: ID 05e3:0616 Genesys Logic, Inc. ...
1
vote
0answers
54 views

Addressing of COM Ports on Ubuntu don't match labels

I am running Ubuntu Server 18.04.1 LTS. It's a small industrial PC with 6 Com ports. I have plugged my device into what is labelled on the outside of the case as COM1 But through investigation I ...
5
votes
1answer
200 views

Why does Linux list devices that do not exist?

I have Ubuntu 16.04 and I note there are many devices in the /dev folder that don't physically exist. For example, I have 2 serial ports and I can access them using ttyS0 and ttyS1 as expected. ...
0
votes
0answers
39 views

Not able to type in putty for serial port with non standard baud rate

I am trying to use putty to communicate over a usb to serial connection with a baud rate of 3291666. Putty is able to connect but once the terminal pops up I am unable to type. I have also tried it ...
1
vote
0answers
36 views

Parallel port not working with an HP Laserjet 6L

I have laser hp printer but HP setup cant access LPT even I added my self to group. sudo gpasswd -a slobodan lp HPLP $ cat /etc/group root:x:0: daemon:x:1: bin:x:2: sys:x:3: adm:x:4:syslog,...
0
votes
0answers
27 views

Data loss over ttyACM* in Ubuntu 14.04 whereas success on Ubuntu 16.04 when “cat” command is used

I have a development board which will have 3 ACM interfaces when connected to Ubuntu host and i want to transfer data from Host to Device over ttyACM3. I have followed the following procedure for ...
2
votes
1answer
76 views

ttyACM0 stop streaming after some time

I have an arduino device that read a light sensor which then the result can be stream trough its USB port. on Windows, using a software called Serial Osciloscope I am able to read the data sent by the ...
0
votes
1answer
1k views

No ttyACM0 for Arduino Nano on Ubuntu. How can I attach it?

On my Firefly-RK3399 (arm arch) I have installed their official ubuntu image for the board. I also installed Arduino IDE and when I connect my Arduino UNO then all fine, I can flash it and I see in my ...
1
vote
0answers
248 views

how to access hardware serial port on Raspberry Pi3, Ubuntu 16.04

I have a Raspberry Pi3 running Ubuntu 16.04. I am logged in via ssh. I want to connect a hardware device to UART0 at GPIO pins 8 and 10. As best I can figure this should correspond to /dev/...
0
votes
1answer
52 views

USB2 timeout error

I've been having an issue today with connecting some lab equipment to my computer that has worked in the past. Connected through usb, but I cannot see /dev/ttyACM0 as I usually do. /dev/ttyUSB is also ...
5
votes
1answer
6k views

How to make Arduino (Snap) access serial port /dev/ttyUSB0 (or /dev/ttyACM0)?

I have Ubuntu 18.04 LTS installed. I installed Arduino IDE v1.8.5 as a snap with snap install arduino-mhall119 I have added my user to dial-out group and rebooted: sudo usermod -a -G dialout $USER ...
2
votes
1answer
244 views

Access to ttyUSB* from snap (Ubuntu Core)

Our app is running as a snap on a device and needs serial-port access to the ttyUSB device. Running a snap list shows we have a number of snaps (none of which I think has a USB Slot) bash $ snap list ...
0
votes
1answer
47 views

slattach speed error (17.10)

I am playing around with serial port networking and I can't get slattach to change the speed of my serial port from the default/last set. The speed change works with putty but not with slattach. sudo ...
0
votes
0answers
333 views

Error, cannot bind to the specified serial port /dev/ttyUSB0

I am trying to run a launch file during boot up using systemd. The launch file launches rplidar. When I directly run the .sh file, it's launching the lidar. $ systemctl status rosCore.service ● ...
2
votes
1answer
915 views

Unable to create dev/rfcomm port

I am have Bluno nano and would like to connect it my pc(Ubuntu 16.06) and receive information via blue tooth. some online Q&A but unable to make it work. I paired Bluno nano my pc (checked via - $...
0
votes
0answers
85 views

Read Fairbanks scale (Serial Device) input in Ubuntu 14.04

I need to read weight input coming from a Fairbanks 70-2453-4 scale. The machine is an old Dell Latitude D810 - it is docked (with a serial port) and running Ubuntu 14.04.5 LTS, Trusty Tahr. I have ...
0
votes
0answers
116 views

Python scripts cannot find ttyACM0 Serial port

I have a Arduino Mega 2560 sending data out, my environment is Ubuntu 14.04, it's a python ROS node. Problem is that it works well when I use Serial Monitor or Plotter in Arduino IDE to see the data ...
1
vote
2answers
134 views

How to add C libraries in Ubuntu

I want to add Arduino-serial-lib.h in order to achieve serial communication between my system and Arduino. How can I add this library in my system?
1
vote
0answers
915 views

How to install USB-to-Serial driver on Ubuntu 17?

I was tasked with writing some code for a PTZ-head using the Pelco-D protocol, which uses RS485 (2-wire). The code is intended to run on a Raspi, so I first figured out how to get that going. Once I ...
0
votes
0answers
510 views

Serial port /dev/ttyS0 not working on ubuntu (LSR safety check engaged)

Serial ports(COM0 and COM1) are working in windows, but not on ubuntu (14.04) $ dmesg | grep tty gives LSR safety check engaged for /dev/ttyS0, I have also verified that I have permission to read ...
0
votes
0answers
847 views

cp210x ttyUSB0: failed to get comm status

Running Ubuntu 16:04. I have bought a serial device(ttl) to USB called cp210x. It works most of the time, but after a while it can suddenly disconnect. There are two ways to activate it again, one is ...
0
votes
0answers
86 views

Can't read data from serial port

I use Ubuntu 17.10. In the first terminal I wait for data: cat < /dev/ttyS0 Then in the second terminal I try to send data to serial port: echo -ne '\033[2J' > /dev/ttyS0 but data is not ...
1
vote
1answer
453 views

Disable auto-login on 16.04 when connecting via serial console?

I have an ARM server running Ubuntu 16.04. I am connecting to the machine via the serial port. When I reboot the system, it automatically logs in as root, without the usual username/password prompt. ...
0
votes
1answer
333 views

I am trying to setup bCNC and can't open the ./dev/attyACM0 port [duplicate]

I've added myself to the dialout group and run getent group dialout and it returns dialout:x:20:myUserName I try to access the serial port and am getting... [Errno 13] could not open port /dev/...
2
votes
1answer
1k views

How to save the output of picocom to a file

I'm using ( sudo picocom -b 115200 /dev/ttyUSB0 ) to connect to a real-time embedded system based on ThreadX system. Once I'm connected to this device, I use some ThreadX commands to display some ...
1
vote
0answers
181 views

What does TIOCGSERIAL is not supported mean?

Im writing a program, that sends data to a bluetooth device. The device is attached to my computer via /dev/rfcomm1. After numerous issues, I read the dmesg log, and saw: TIOCGSERIAL is not supported ...
0
votes
0answers
181 views

Socat symlink - Can't open COM

I installed socat and set up a virtual serial port over TCP:IP to communicate to an RS232 device remotely socat pty,link=/dev/virtualcom0,raw,b115200,user=master tcp:192.101.1.198:4000 I can send ...
0
votes
0answers
115 views

Virtual COM port over TCP

I have a rCell 500 router with a serial port COM. On this router, I have set up a server TCP (192.101.1.198:4001) who transmit the serial port data. On windows with a software, I successfully ...
0
votes
0answers
107 views

Ubuntu Core 16 - pc gadget with serial console

I'm trying to use a headless PC mainboard (APU2 from PCEngines http://www.pcengines.ch/apu2.htm ) with Ubuntu Core 16. It only has a serial port as console, no support for any form of graphics cards. ...
0
votes
0answers
731 views

USB-to-serial showing garbage but not in Windows 10

I have a FT232RL USB-to-serial adapter which I connect to a microcontroller (esp8266 esp-01). It works fine in Windows 10, if I open a serial communication with putty at COM3 with baud rate 76800 it ...
1
vote
1answer
1k views

How to connect COM Port to the switch?

I'm new to Ubuntu. I recently bought a PL2303 USB to Serial connector and had placed its driver PL2303.C to my Ubuntu 17.10. I put the command 'lsusb', and it showed: Bus 001 Device 002: ID 8087:...