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
Make your voice heard. Take the 2019 Developer Survey now

Questions tagged [serial-port]

The serial interface or serial port, also known as RS-232 is a communication port used to connect modems, mouses, some printers, scanners and other hardware equipment.

1
vote
0answers
19 views

Connect virtual machines on different hosts (emulated physical cable)

I know a very similar question has been asked in the past (Connect two VMs on two different physical machines into their own network) but the reason why this one shouldn't be considered a duplicate is ...
1
vote
0answers
10 views

FT_SetFlowControl works without valid enumeration value [migrated]

I have seen FT_STATUS FT_SetFlowControl (FT_HANDLE ftHandle, USHORT usFlowControl, UCHAR uXon,UCHAR uXoff) function works with a random value for usFlowControl other than "Must be one of ...
1
vote
1answer
22 views

Set up serial pipe between VMware Linux guest and Windows host

I am using VMware Workstation 12 Player. My host is Windows 10, my guest is Fedora 22. I want to set up a COM port between the host and guest. The reason is I have an app running in Windows that ...
0
votes
0answers
15 views

Windows 10 Bluetooth Serial Port Profile (SPP), cannot open virtual port

After upgrading our Windows 10 PCs (to 1803 + 1809), it is not possible to connect to/open the (Bluetooth) virtual serial ports anymore. We are using Bluetooth Barcode-Readers, which are connected ...
0
votes
1answer
15 views

How can I see if my serial ports are rs232/485?

I need to have a PC with a RS 232 port and a 485 port, currently the PC already has 2 serials but I don't know if they will work?
0
votes
1answer
16 views

PPP connection to a virtualbox guest

For testing some software, I'm trying to set up a PPP connection between an Ubuntu 18.04 host and an Ubuntu 16.04 guest running in VirtualBox. So far I've tried: Creating virtual serial devices on ...
0
votes
1answer
17 views

UART sending string VS CharByChar

I am working on an embedded device with an UART connection. Via putty I send commands to that device using ASCII chars. When i send the chars one by one - pressing them manually- (default putty ...
0
votes
0answers
5 views

RN4678 Bluetooth doesn't respond [migrated]

I am facing very basic level issue with RN4678. I purchased a module from https://www.mikroe.com/rn4678-click I want to simply communicate with it through serial port. To do that I connected it to ...
1
vote
1answer
48 views

least CPU intensive serial logging on embedded (router) Linux

I am trying to log data from a serial device onto an OpenWrt router. The data is all ASCII based, 115200 baud, 8N1, but only transmit, receive and ground are connected (no flow control). The device ...
1
vote
0answers
45 views

How to solve this error 'Unable to open connection to COM1. Unable to open serial port" [closed]

I wanted to create a serial Connection in putty with my raspberry pi 3. I don't know what I have done wrong. But I get Always the same error message that my serial port can not be open. I'm sure that ...
0
votes
0answers
17 views

How to change number of COM port in a command line?

Is there away to change number of COM port in a command line? I have many many devices and for each device Windows assigns different port number (and remembers this number!). But in my case only one ...
0
votes
0answers
14 views

is it possible to use huawei 3g dongle in serial and network mode at the same time?

I have a 3G dongle (huwaei e3531). when i plug it, it automatically switches to network mode (ethernet) which is good but i'm not able to access it in serial mode using putty, no usb device appears ...
0
votes
2answers
38 views

Accessing Serial Port from Ethernet [duplicate]

I currently managing 2 POS Devices in a Restaurant. The POS is using Windows 7. 1 POS located on the first floor has a printer connected via COM1 port. The printer itself has a LPT Port, the printer ...
0
votes
0answers
31 views

Thermal printer does not print until buffer is full

I have an Epson TM-T88II receipt printer, with a DB-25 connector. I connected it to my Debian machine with a pl2303 USB converter. I configured the printer using the following command: stty -F /dev/...
0
votes
0answers
38 views

Splitting USB output data to 2 USB inputs (1 output, 2 input)

I currently have a piano with one Usb output that needs have the same data sent to two applications on my computer.Each application uses its own COM port. Only one application needs 2 way ...
0
votes
2answers
87 views

Why are my motherboards' COM headers different sizes?

I'm upgrading an enterprise system to new hardware and have run into a problem fitting a serial connection into the COM2 serial header on the new motherboard. I've checked the motherboard manuals and ...
0
votes
1answer
78 views

How to connect one barcode scanner to multiple machines using USB & serial interfaces

Is it is possible to connect one barcode scanner to two machines to receive the same signal at the same time? In this case, either: barcode scanner to USB and serial port, or barcode scanner to USB ...
0
votes
0answers
29 views

How to view descriptive name on windows command prompt

Expand from the question about viewing serial ports not through device manager: How can you see the descriptive names? The port is on a USB-serial adapter. The teraterm application can show it as ...
0
votes
2answers
369 views

Putty serial port access to RS-232 console showing double character display with USB/Serial cable

I am trying to access a Matrix Sense firewall administration console through its RS-232 interface and the display I get with Putty is weird. The hardware is a PC Engines APU4B4 motherboard. I am ...
6
votes
1answer
165 views

How to bridge two LAN segments through serial port using Linux?

I have an application where two subnets are bridged transparently through two Serial to Ethernet Bridges and a null modem serial cable (RS-232, TX and RX only). This setup behaves exactly as an ...
0
votes
1answer
30 views

How to access a serial device from VM Server

I have a serial device that is physically connected to my Window PC. From my window, I can use "PUTTY" to set up the connection to access this device and do some extra work after login this device. ...
0
votes
1answer
46 views

Unable to read warning during boot stage through socat for a virtual serial port

I am trying to deploy Docker image(converted to vmdk - Sata controller - vdi created) on VirtualBox. This is I am doing through automation, at this stage I have enabled serial port "host device" > "...
2
votes
1answer
320 views

Is there a way to fix bricked router?

I got a bricked UBNT EdgeRouter X router. It was bricked while changing the firmware using SSH. Then when I was trying to unbrick it using UART - the 3v3 router pin was connected to 3v3 UART. Now ...
0
votes
1answer
229 views

Linux virtual tty

I created my own Long Range RF USB. [USB device] -> [Raspberry PI] -> [myTxApp] -> [RF device *(not WiFi)] -> [RF device] -> [Laptop] -> [myRxApp] -> [Virtual device] I tested it on USB Webcam, and ...
2
votes
1answer
62 views

Error on multi serial port cards

Hope this is the correct forum.. We have sporadic communication problems on serial. To test this, I connected two ports of the same card with an null modem cable, set up the interface (4800 8N2, ...
1
vote
0answers
342 views

Bluetooth Serial Port Profile (SPP) pairings deleted after each Windows 10 Feature Update

Our customers use Windows 10-based tablets as marine navigation systems. They are paired to NMEA-based GPS and rate of turn sensors via Bluetooth (classic, not LE) Serial Port Profile which creates ...
1
vote
1answer
158 views

Serial console shows scrambled output

I am trying to connect to an APU1C device which has only a serial port using a Usb-to-Serial cable and the Prolific pl2303 module. I was able to connect to it in the past but now I am struggling with ...
1
vote
1answer
123 views

Wake on RS232 port in Linux?

Is it possible to start a Linux computer via a RS232 serial port when it is actually turned off and not in a sleep/powersaving mode? I am aware of this other Super User question (“Turning on computer ...
0
votes
1answer
69 views

How does a machine interpret serial data from an external serial bus?

Most external buses (e.g. USB) transfer data in a serial manner. However, a machine like a PC needs to turn this into parallel data to interpret it? How does it do so? Edit: If most computers operate ...
3
votes
1answer
119 views

Serial port returning random errors on Wyse client

We are testing a newer Wyse client (Z90D7 model) that has a serial port connection to a PC. We have an external customer that uses a dedicated piece of equipment, however the PC is what we use for ...
0
votes
0answers
288 views

Use physical USB port as serial port in VirtualBox

I have a problem with VirtualBox in my MacBook Pro. I have a virtual machine with Windows 7 Professional, and I need to use the USB ports of my laptop as a serial port (I explain this) I have a device ...
0
votes
0answers
48 views

Ubuntu Server serial install

I have got a new watchguard XTM 515 and would like to install Ubuntu Server on it as I know that it is powerful enough to run it. The only restraint is getting serial access: how do I install Ubuntu ...
0
votes
1answer
1k views

how to 'chmod 777' serial port /dev/ttyACM0 on Ubuntu 16.04 on startup?

A number of blogs suggested that I should type sudo adduser $USER dialout, but it already showed that the $USER is already a member of the group dialout, and when I rebooted the computer, the /dev/...
0
votes
0answers
46 views

Are there“well known” values of group id (gid) on mac OSX?

I'm having trouble using a virtual serial port (USB addapter) on OSX. I can open the file, but can't set the attributes. Amongst other things, I see that the file owner is 0 (root) and the group id ...
0
votes
1answer
569 views

Enable Virtual Com port, serial connection (update)

I'm working with an IMX6 board, running a linux kernel, u-boot, and rootfs that were generated from yocto. I used one of the core images. core-image-minimal-dev to build the kernel image. I added in ...
2
votes
0answers
41 views

Allowing Windows to communicate with USB devices when locked

Using Windows 10, is there an option to let Windows communicate with a USB device when the user account screen is locked? Example: User connects a USB device that has an LED connected to it. User ...
0
votes
0answers
16 views

What are the minimum permissions required by Simulink for USB Serial?

SYMPTOM Simulink crashes when executing a simple model that 'smoke tests' a serial data source: CONTEXT Simulink R2017B on OSX USB Serial device: Users-MacBook-Air:~ user$ ls -l /dev/ | grep ...
1
vote
1answer
839 views

Internet connection over serial port

I need to connect a Raspberry to the Internet via the serial port of another computer. Here is a schematic for how it should work: +-----------------------+ +------------+ ...
1
vote
0answers
62 views

Com port disable and Windows Logs

We have a situation where COM3 is being disabled intermittently, and has to be manually re-enabled in Device Manager. I'm trying to track down the source in Windows 7 logs, but I don't know which ...
0
votes
1answer
52 views

Talking to Unknown IP device

I want to communicate with time attendance device for reading stored time and have the following concerns: Is there any workaround to discover connection port or type? Is there any specific ...
0
votes
1answer
190 views

APCUPSD: Cannot find UPS on ANY serial port

I have APCUPSD installed on a computer with 2 physical serial ports. The UPS is an APC SUA1000 with a serial port. I have the APC smart serial cable connected to COM1, and COM2 going to another ...
4
votes
0answers
263 views

Is it possible to connect an old IBM 3151 dumb terminal to Raspberry Pi?

I want to know: If I were to add a serial port to a Raspberry Pi and connectan old IBM 3151 dumb terminal to it; will it be as simple as turning it on and using it? Obviously only for command line ...
0
votes
1answer
568 views

How to communicate with ups with a serial port?

I have this offbrand chinese ups that I want to plug in my computer, the manual state that it has a "COM port" but nothing else about it, it doesn't provide a driver neither. Plugging the UPS with a ...
2
votes
1answer
472 views

How to troubleshoot / test / benchmark usb hub (Hubs are acting as bottle neck…Why??)

I am running a Ubuntu 14.04 LTS and some unusual serial hardware, which uses serial to USB converters. I am unable to plug several slow devices (RS232 to USB 2.0 converter, and RS422 to USB 2.0 ...
32
votes
4answers
6k views

How do I transfer data between two old PCs using parallel or serial?

Recently, I found an old Gateway 2000 Colorbook laptop with MS-DOS6.22/Win3.1 that had no ports but PS2, parallel, and serial ports. My modern computer doesn't have any of these ports, so I am trying ...
0
votes
1answer
64 views

How to talk on both port using dual serial port PCI card on linux?

I am using MosChip MCS9865. It has two serial ports and I figured out how to talk through one of the serial port using sudo setserial /dev/ttyS0 uart 16550A command. That works great on one serial ...
7
votes
2answers
363 views

Are the start bit and the stop bit(s) optional in serial communication?

I know that the parity bit is optional in serial communication, but what about the start bit and the stop bit(s), are they also optional?
1
vote
0answers
162 views

How can I tell Virtual Box to make the serial port a part of the PCI bus (and not the ISA bus)?

I have installed Ubuntu on Virtual Box, and I have enabled a serial port: I have found out that the serial port has been attached to an ISA bus and not to a PCI bus. Is there a way to tell Virtual ...
0
votes
1answer
172 views

How to receive the “raw bytes” sent on the serial port in Virtual Box?

I have enabled a serial port in Virtual Box, and redirected the output to the file D:\1.bin: I have sent some data using the following command in cmd in Windows XP inside Virtual Box: echo Hello >...
0
votes
1answer
123 views

What is the type of the UART chip used by Virtual Box?

Based on my understanding, a UART chip is used to control the serial port (the programmer manipulates the UART registers in order to access the serial port). There are many types of UART chips (for ...