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.

Filter by
Sorted by
Tagged with
1 vote
1 answer
933 views

Can COM ports be used as RS232 serial ports?

Appologies if I am misusing/abusing specifications. Question: Is it possible to send serial signals via the PC's COM port? Is it further possible to split this port somehow and send signals to two ...
puk's user avatar
  • 717
1 vote
1 answer
3k views

LPT port using USB

I have a machine which connects to PC with LPT port. And in the program I am selecting port number on which is LPT port connected, something like etc. ( a326 ). Now I have bought LPT to USB converter....
user123_456's user avatar
1 vote
1 answer
532 views

How do I set up Debian 6.0.3 to work with serial terminal?

My problem is that most guides on the Internet I've found explain how to enable serial terminal on GRUB 1 and it appears that they moved to GRUB 2 on Debian. I'm running Debian inside VMware and have ...
AndrejaKo's user avatar
  • 17.1k
1 vote
2 answers
10k views

How to read data from LAN cable?

I have a device that connect to a Window PC by LAN cable directly instead of serial port. Back when I use serial port, I can use coolterms or hyperterminal program to read the exact data send in from ...
KMC's user avatar
  • 1,989
1 vote
1 answer
2k views

How can I reduce high CPU usage from DPC's with USB Serial Ports

I have an app that communicates with up to 50 devices over serial ports. The communication takes place in threads, and the threads are throttled so that only a certain number are active at once. ...
rossmcm's user avatar
  • 1,596
1 vote
1 answer
162 views

How can I replace some old serial numeric keypads?

My Problem: I have some older serial numeric keypads that are getting hard to replace. I tried a USB keypad but the distance of the cord wasn't long enough, so I tried using a USB to ethernet and ...
Sam's user avatar
  • 113
1 vote
1 answer
3k views

Saving a binary file with HyperTerminal

I have an embedded platform that is connected to my Windows PC via the serial connection. The embedded application sends 532 bytes through the connection. Using HyperTerminal, I am able to see the ...
ysap's user avatar
  • 2,670
1 vote
1 answer
456 views

Serial GPS as time source on Windows 7?

How do I use GPS device connected over serial port as a time source in Windows 7? I have a GPS receiver on my mobile phone which sends data using Bluetooth serial link in NMEA format to computer.
AndrejaKo's user avatar
  • 17.1k
1 vote
1 answer
2k views

Determining Serial Driver Supported Baud Rates

How can I determine the baud rates supported by my serial driver? My driver details (from the Device Manager) follow, but they do not seem very helpful. I am writing an application that is crashing ...
Jim Fell's user avatar
  • 5,906
1 vote
2 answers
4k views

Serial Over IP, windows-linux [closed]

I need to have a serial port "shared" over the Internet (may or may not be using a VPN). At one end is a Windows box, and at the other is a Linux box, which has the serial port The Linux box has no ...
Frames Catherine White's user avatar
1 vote
1 answer
665 views

Valid 16550 UART settings

Is it valid by the protocol of a FFUART 16550 to configure one side (Machine A) to 155200 baud rate and the other side (Machine B) to 1200? Should I expect the connection to work flawlessly in the ...
Shaihi's user avatar
  • 442
1 vote
0 answers
47 views

(C-)Kermit suddenly stopped working on Windows 10

I've been using (C-)Kermit for decades to communicate with my various HP48GXs. My current setup as regards the environment in which I run (C-)Kermit is primarily on a Linux Mint Vera 21.1 Cinnamon 64-...
jdb2's user avatar
  • 11
1 vote
1 answer
102 views

How to use a serial attached GPS device with geoclue and PureMaps?

I have a serial attached GPS device on my Raspberry Pi 4 running the current 64Bit distro. I want to use PureMaps to navigate. PureMaps is not detecting any directions and in the C++ files it seems ...
karlo922's user avatar
1 vote
0 answers
241 views

Cannot configure serial monitor in Visual Studio on Windows 10 - why are ports not listed?

Docs says after opening the serial port monitor (Debug -> Windows -> Serial Monitor) in VS community 2022 64bit Version 17.6.5, there should be a list to select the port. I do not get this. I ...
Charles Bisbee's user avatar
1 vote
0 answers
456 views

Application under Wine cannot access any serial ports?

I'm trying to run this program under Wine (that's programming software for a Kenwood TM-V71 radio). The software installs and runs without a problem, but when it comes time to select a serial port ...
larsks's user avatar
  • 4,222
1 vote
1 answer
1k views

Windows 10 RS232 Serial Communications

I have an application that uses RS232 communication to communicate to another device. This application works fine on Windows 7 machine. I have the same application installed on Windows 10, the ...
StixO's user avatar
  • 437
1 vote
1 answer
865 views

How to have one process listen to a serial port that another process is writing to?

I have a process (in bash) that writes data to a serial port. I would like to see that data, but instead of hooking up an Arduino and showing the data on a display, I thought it would be easier to ...
OZ1SEJ's user avatar
  • 111
1 vote
0 answers
2k views

RS232 cannot be discovered as /dev/ttyS* or /dev/ttyUSB* on ubuntu of wsl 2

I'm having problem to get serial connection using RS232 (to USB) and picocom of wsl. From Windows I can see that my RS232 is using COM24 and from lsub on wsl I can also see my RS232. However, if I do ...
rnels12's user avatar
  • 111
1 vote
0 answers
193 views

Does anyone know how to receive data from a 1d barcode scanner?

I am using a yhd-M300C 1D barcode scanner, it connects by a usb cable but it comes with no drivers so the computer doesn't recognize it. I am using Ubuntu 22.04 The scanner comes with a bunch of code ...
frend123123's user avatar
1 vote
0 answers
248 views

Overflow from serial port in Wine/Virtualbox?

I'm trying to read the data saved on a minimax B4 sensor connected to my Ubuntu 20.04 machine using a serial port via USB (mounted as /dev/ttyACM0). The program reading the data is an old Windows one ...
Giangiacomo's user avatar
1 vote
0 answers
714 views

How to create a serial over LAN server under Linux, using virtual ports

I am able to connect to serial over LAN devices (like USRIOT-TCP-232-302), as client, from my linux server, using socat and it works pretty well. I now would like to have devices connecting to the ...
Cedric Simon's user avatar
1 vote
1 answer
1k views

Can't change baud rate of ttyUSB0 in Ubuntu 18.04 (galiumos)

I wasn't able to use an app with the diagnostic interface until I changed ttyUSB0 baud rate to 9600 with the command : sudo stty -F /dev/ttyUSB0 9600 and after restarting app it wasn't working again ...
cookiebuntu2406's user avatar
1 vote
1 answer
3k views

Windows 10 Bluetooth virtual serial comm port is missing

Question: How to get linked Bluetooth serial Commport installed? For communication a serial comm port is needed. But on some computers, mainly workstations, there is no linked Bluetooth "COM &...
Tib Schott's user avatar
1 vote
1 answer
6k views

How to determine which physical port is connected to which tty path?

I have a device (An NVIDIA Jetson Nano) with four USB ports. How can I tell which /dev/tty* locations are mapped to each of these? I have gone through many similar questions here and on askUbuntu. I ...
Timothy Kleinow's user avatar
1 vote
1 answer
710 views

Is there a way to know which USB device file (/dev/ttyUSB0) is related to a particular interface (wwan0)

The title pretty much says it all, but here is my scenario in case it's relevant: I'm trying to automate bringing a USB modem online when it's first plugged in. With my hardware and cellular service, ...
DaiBu's user avatar
  • 111
1 vote
0 answers
184 views

LogiLink RS-232C USB-to-serial converter software

I have a device with RS-232 that works with a PCI board, however when I install a LogiLink USB-to-serial converter, I stop receiving data from my device. How do I resolve this? PCI Board ...
HassaneBry's user avatar
1 vote
1 answer
4k views

Bash read line from ttyUSB gives sometimes corrupted characters

I want to read line by line from external device (ttyUSB) over serial on my Ubuntu PC. I have following script: while true; do read line < /dev/ttyUSB0 echo $line done The problem is ...
Qwer's user avatar
  • 13
1 vote
1 answer
786 views

How Serial Port Loop Back Test work internally/underneath?

When doing a Serial Loopback Test on a USB Port (assume COM1) using Hyperterminal, you can verify that the test passed if what you type on the keyboard is displayed on the Terminal (although it's not ...
faressalem's user avatar
1 vote
2 answers
773 views

STLink V2 VCP doesn't show up in Windows

I'm trying to get myself situated to program comfortably with my STM32 Blue Pill and STLink V2 USB interface. However, I've run into an issue when trying to gain access to the VCP (Virtual COM Port) ...
ifconfig's user avatar
  • 687
1 vote
1 answer
2k views

How to disable PuTTY to not sending CR at the end of the buffer? [duplicate]

When I send something through PuTTY serial port I receive what I've wrote and an extra character, including a CR. Is a problem because it hasn't happened until now that I've started to use this ...
magloe's user avatar
  • 11
1 vote
0 answers
592 views

Cannot get serial port working on linux (want to send AT command to an USB attached mobile phone)

I run Kali Linux (Debian based distro), and have minicom, socat, and atinout. I attached a Samsung Galaxy phone to USB and want to access it, using AT commands. When I run dmesg, I don't see any port, ...
tom's user avatar
  • 11
1 vote
0 answers
2k views

Equivalent of Unix cat / tail for cmd or PowerShell to flush the current content of a serial port into the stdout without opening it

There is the echo cmd command which can send a string to a COM port without opening it up: echo Hello > COM1 I'm aware of the PowerShell (PS) procedure, creating a serial object $port= new-...
Foad's user avatar
  • 626
1 vote
0 answers
767 views

How to read data from serial-connected Bluetooth headphones?

My Bluetooth headphones' (connected using a USB dongle) play/pause button doesn't work with Windows 10 (the volume changers work just fine), so I tried to remap the key, it gets, to the media play/...
András Geiszl's user avatar
1 vote
0 answers
262 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 ...
Heimdall's user avatar
  • 169
1 vote
1 answer
122 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 ...
Martin Moops's user avatar
1 vote
0 answers
10k 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 ...
Matphy's user avatar
  • 111
1 vote
0 answers
193 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 ...
Bilel_a's user avatar
  • 11
1 vote
0 answers
980 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 ...
Jason's user avatar
  • 111
1 vote
1 answer
1k 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 ...
NaeiKinDus's user avatar
1 vote
0 answers
1k 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 ...
AKAJim's user avatar
  • 11
1 vote
0 answers
297 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 ...
Tom's user avatar
  • 15
1 vote
0 answers
316 views

Connecting two computers over serial

I have previously used my Arduinos to program other devices over serial by connecting the Arduino to my computer, grounding RES, and connecting the TX and RX pins on each device. This allows me to ...
DividedByZero's user avatar
1 vote
1 answer
991 views

Serial connection recieving continuous junk

I am trying to connect over a serial port to an HP AM867A switch (more broadly it is a Brocade 8gb SAN switch). I got the switch used so I am trying to perform password resets. The switch is running ...
chew socks's user avatar
1 vote
1 answer
429 views

Centos 7 Serial Port Permissions in VMWare Player

Ok, what am i missing. TLDR; I've done all I'm supposed to with permissions, lock directory, compiling, etc of Kermit and I still get the "Sorry, write access to UUCP lockfile directory denied." ...
John Morrison's user avatar
1 vote
0 answers
189 views

I am testing a serial port device and want to know how can I understand the data?

I have attached a device to my MacBook over USB-Serial device and I am trying to get the data in the SerialTools app (https://itunes.apple.com/in/app/serialtools/id611021963?mt=12). My device is ...
Kumar Ravi's user avatar
1 vote
1 answer
4k views

Removing Com ports in Windows 7 using cmd

I have been trying to find a way to make a script to uninstall specific COM-ports from Windows 7 that are no longer used. Background: I'm using NI Teststand to test a productio test of an USB-...
Jaxc's user avatar
  • 13
1 vote
0 answers
7k views

FTDI driver installed but COM port is not appearing (Windows 7, 64bit)

I'm firmware engineer and using the FTDI chips a lot. Everything works great. But today, with one device I have a problem. In my colleague PC, the COM port of the device appears, but in other PCs in ...
Michael's user avatar
  • 111
1 vote
0 answers
1k views

How to set up usage of a serial port?

I am working on Linux (TinyCore). As a part of work process, i must use a serial device to transmit data. However, i am having severe troubles with it. The crux of the issue is that no data seem to ...
Srv19's user avatar
  • 331
1 vote
0 answers
863 views

Access bluetooth RFCOMM through android terminal

I would like to access to RFCOMM to set up a bluetooth virtual serial port on my Android device using the terminal. I do have root permissions on my android device. When I type "rfcomm" in the ...
Francesco's user avatar
  • 111
1 vote
1 answer
863 views

Do Until in Powershell

I'm connecting via serial port with powershell to a device and I'm trying to change one value until another value gets to 0. I'm using Do-Until but it just runs endlessly with the first value being ...
xlucian's user avatar
  • 173

1
3 4
5
6 7
9