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
0
votes
0answers
29 views

How to view logs in uboot?

I have a linux device running U-Boot and booting Ubuntu Core 18 that is having problems with its serial interface and networking. Because of these problems, I can't configure it via ssh or minicom. I ...
0
votes
0answers
12 views

Unable to change com port number of specific device

I am working on replacing a legacy machine with a new machine running windows 10. This machine has several COM ports and old software which is expecting certain COM port numbers for each device. I ...
0
votes
1answer
30 views

COM port in Windows 10

I understand that the COM port is a serial communication port inside a computer. But in my windows 10 laptop, I don't see any COM port connected. If I go to the control panel -> Device manager, I ...
0
votes
1answer
27 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 ...
1
vote
1answer
51 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 ...
0
votes
0answers
13 views

Modern Intel CPUs serial communication

I have Intel X299 Chipset system that runs a linux system that prints boot log to the serial port, How can I connect to the serial port and read the data? modern motherboards doesn't have RS232 input. ...
0
votes
0answers
36 views

access denied when using serial ports under wine

I'm trying to run RealTerm under Wine. Here it seems it can: https://realterm.sourceforge.io/#Linux I checked: the symlink under ~/.wine/dosdevices exists my user has the group dialout tried also ...
0
votes
0answers
13 views

Unable to Putty into Microsoft Surface Hub

We have 3 different Surface Hubs, and the problem is consistent on them all, and we tried two different laptops. We are connecting to the serial port on the HUB, and using Putty, with the putty ...
0
votes
0answers
22 views

How to keep a device at a fixed Comport when removing and inserting

No serial I/O isn't dead :) The example I am going to use is a GPS device on a Windows computer. When you put a GPS locator on a computer it, as a rule, comes in to Device Manager as a COM Port. All ...
1
vote
0answers
116 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) ...
0
votes
0answers
17 views

How do I configure NTP with gpsd using a multiplexed pty device

I have installed kplex to help multiplex my serial NMEA GPS sensor. I have this configured to generate a pty device called /dev/pts/1 when I reference this using gpsmon it renders the NMEA data ...
0
votes
0answers
31 views

Restrict Usage of Thunderbolt or USB-C Port

Is it possible to restrict what services are allowed to run on a specific thunderbolt or USB-C port? For example, "only let Thunderbolt Port 0 to be used for charging and nothing else".
0
votes
0answers
54 views

No output on minicom for Dell S4048 switch

My dell switch entered into POST mode after a reboot. But the output could not be displayed correctly. I could trace that the switch went into BIOS setup mode. I tried to select ONIE mode from ...
0
votes
1answer
48 views

How to share local PC com port to vps?

I have created an application that use a usb gsm modem. I want to try to run my application in my vps and connect it with the gsm modem in my local PC. My questions is: - How to share local PC com ...
2
votes
0answers
268 views

Using ZModem inside command-line on Windows for file transfer over Serial

I need to transfer large files from Windows to an embedded Linux system over Serial port. People seems to be recommending ZModem to do this task. Using TeraTerm's file transfer feature, I was able to ...
0
votes
1answer
86 views

How to force CentOS to keep showing log messages in serial console after system starts up

I am having this problem with CentOS sending me to the login prompt in serial console and not continuing on showing log messages. I did setup the serial console: I edited /etc/default/grub and ...
1
vote
1answer
51 views

multiple physical USB conectors, single COM port?

I want to run a bunch of arduinos off a single computer, but I want all the arduinos to be in the same COM port. I don't mean having all of them plugged into a USB hub, I mean each different arduino ...
0
votes
0answers
46 views

How do I create COM1 in an Azure VM?

I'm preparing a VM (Windows 10 Pro) for Azure that will automatically configure an application on first boot. I want to show the progress of this configuration in the boot diagnostics log, so I write ...
0
votes
0answers
46 views

Incorrect Parameter when adding a COM port

I am attempting to add a new COM port to be used by a Vinyl Plotting peripheral. The device was working fine with some software after installing the drivers while it was on port COM9. I then changed ...
1
vote
1answer
61 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 ...
0
votes
0answers
106 views

Port forwarding from Linux to Windows 10

I am trying to port forward multiple usb connections from a linux server to a(possibly multiple) windows 10 client(s) throught ethernet. When i say multiple i mean around 20. I tried USB/IP, but the ...
0
votes
0answers
72 views

How to connect to an FTDI Serial COM port from Wine on OSX?

I had a look at these existing answers: Converting the /dev/ttyUSB to com port to use it with Wine in Linux Serial port access errors in WINE Converting the /dev/ttyUSB to com port to use it with ...
0
votes
0answers
42 views

About get ManagementObject int ManagementObjectCollection by foreach is too slowly

I want to get port name, but When I change another product, the serial port name also changes. So I need Location Information or Address to get the port name, here the problem, it is too slowly to get ...
0
votes
1answer
368 views

Mikrotik Serial Port Error “failure: port's channel is already in use”

Problem: When trying to change the settings on the MikroTik's (RB4011) serial port, the following error was received: "failure: port's channel is already in use" This error was received despite no ...
0
votes
0answers
103 views

Get data to go through USB to Serial Port of Digi One SP Device

Basic problem: I bought a "Digi One SP" device to attempt to connect a USB input to a TCP output. The Digi One SP has 3 ports: power, ethernet, and DB9 serial (Image 1). It also has a "Digi One SP ...
0
votes
0answers
130 views

Use USB port as serial comms to PC for STM32-NucleoF411 on Win10

I have a STM32 Nucleo-F411RE that I am using with WIN 10, 64 bit. I'm able to program it and everything OK. But I want to be able to use the usb port that I use for debugging so that I can just ...
0
votes
1answer
293 views

Virtualbox and Serial Port permissions for Windows10

I am using Windows10[HostOS]. I wanna create a virtual environment(windows7[GuestOS]) on Oracle VirtualBox(Ver5.2.18 r124319). However, I get the following error. How can I check this permission? [...
0
votes
0answers
103 views

will dev path of USB port change?

my code needs to access usb ports on a linux-machine and I find them changing. first when one port is connected - /dev/ttyUSB0 then when connected to another port - /dev/ttyUSB0 when two device ...
0
votes
1answer
2k views

Send AT commands via serial port using bash script on minimal linux

I need to init, with AT commands, a mobile modem without external libraries using only bash on minimal BusyBox. The mobile modem is on a serial port. It s working well with python but in case of ...
0
votes
1answer
866 views

Trying to read a serial port, device or resource busy

I'm trying to read the data from a GPS module. It uses TTL communication and I have an adapter to convert it to USB which is connected to my computer. I can get data from it using cgps, but I need ...
0
votes
0answers
48 views

Sparkfun edge message communication error

Recently I posted this question in Stack Overflow. However, even after a bounty, nobody helped me. Although I know that cross-posting is discourage, I come with good intentions and I think that this ...
0
votes
0answers
144 views

Garbled bios output when connection to serial port

I got two Soekris Net6501 [1] for free and I want to play around with them. They are 1.6 GHz Atom with 2 GB of RAM and SSD storage, so not bad for some firewall tinkering. The issue is I want to be ...
0
votes
0answers
43 views

Flow control setting in serial communication

I use ExtraPutty as a serial communication terminal. The Flow Control has the following options: XON/OFF, RTS/CTS, None (DTR/RTS enable), None (DTR/RTS disable). What is the difference between the two ...
0
votes
0answers
175 views

ESP8266 serial port does not show up on Arduino IDE(OS: Ubuntu 18.04 LTS)

My board is not the original Arduino board. When I had Ubuntu 16.04LTS, I didn't find this kind of problem with the same board, but now I encountered this. Is there a need to install USB to UART ...
0
votes
0answers
66 views

Serial Port opening error

I tried to run diagslave(modbus slave simulator) on port /dev/ttyS0 but its throwing Port or socket open error!. I added user to dialout group but still not working.
0
votes
0answers
17 views

Application cannot open or close usb serial port , and must be re-plugged

It uses USB to serial port to read and write data, but after a long time, it will prompt a pop-up window----USB cannot be recognized----- then the serial port cannot be opened or closed, and USB ...
2
votes
0answers
150 views

virtual FTDI serial ports always busy after boot under MacOS Mojave

I am working with a lot of FTDI usb to serial chips integrated in various devices. I have to use the genuine FTDI driver as the newly integrated AppleFTDI Driver is less general and does not recognize ...
0
votes
0answers
23 views

Arduino Pro micro Serial becomes inactive after a certain time with Android OTG

I am using an Arduino Pro micro connected to an Android smartphone (Oreo) via an OTG cable. I am able to send and receive serial commands with no issues. However after a certain duration ...
1
vote
1answer
768 views

Putty refuses to open serial ports and just dings

There's a windows 10 machine on which Putty refuses to open serial ports. There's no error message, just a "ding" then I click on Open. Any ideas on how to debug this? I have tried rebooting and ...
5
votes
1answer
183 views

Issues establishing a stable Minitel to Raspberry Pi serial port connection

I'm working on repurposing old Minitel into a dumb terminal. But I came across a problem with the serial port connection. As I found out, the serial connection from the Minitel to the Raspberry Pi ...
0
votes
0answers
134 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, ...
0
votes
0answers
597 views

Ubuntu 18.04 virtual USB serial ports cannot be opened for about 30s after plugging into system

When I plug in a USB device that appears as a serial port (i.e. /dev/ttyACM0), I am unable to open that port with any software for approximately half a minute. This affects Ubuntu Mate and Ubuntu ...
0
votes
0answers
767 views

Arduino: can't open the device “/dev/ttyACM0”: Permission denied

On linux (Ubuntu 18.04) and Arduino (version 1.8.5) I can't upload code on the Arduino MEGA 2560 board. I've got error message: Arduino: 1.8.5 (Linux), Board: "Arduino/Genuino Uno" Build ...
3
votes
1answer
238 views

Profibus or MODBUS over RS485

We are operating old systems which have many modules we are not able to find on the market. So we are looking for replacements. S7-200 PLC with several sensors is communicating over RS485 pair cable. ...
0
votes
1answer
454 views

FTDI COM port not showing correctly on Windows 10

I am using python and I have trouble connecting to a device through an FTDI Serial-USB connection. On a Windows 7 laptop, it works correctly and does not give any issue, ports are seen as they should ...
0
votes
1answer
975 views

Clear command for serial terminal over UART

I'm sending cmd_clr_scr[] = { 27, 91, 50, 74, 27, 91, 72, 0 }; over UART to clear the screen and move the cursor to the upper left corner of the screen on my serial terminal (Putty). I have two ...
0
votes
0answers
21 views

How to view ports connected in other computer in my network

I am trying to program a LED connected to a serial port. This port is connected to other computer that is not mine and this computer is always used. What I want is if it is possible is to configure ...
0
votes
1answer
67 views

Why do most usb to serial cables you can buy include serial-male and not serial-female?

While searching for a cable to connect a router to my pc via serial I realized, that most cables available on Amazon are male USB to male. But when I look at most routers and switches they also have ...
0
votes
1answer
928 views

Linux cu command returns line in use

I have a Huawei K3765 gsm dongle connected to a usb port on my laptop running Ubuntu 18.04 LTS and I am trying to send and receive text messages in python. I know the dongle is attached to ttyUSB0, ...
0
votes
0answers
1k 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-...

1
2 3 4 5
9