Questions tagged [serial]

Serial stands for doing things sequentially, one bit at a time.

Filter by
Sorted by
Tagged with
0 votes
1 answer
75 views

Removing the protection of Windows for serial communication

I am running an Arduino on the USB serial port. I am trying to access the data from the serial port and print it on the python output terminal. However, when I get this error message from python: File ...
Root Groves's user avatar
0 votes
0 answers
45 views

How to decrease VTIME value with termios api in Linux kernel

Related post closed with an open question. Why Windows is better than Linux for raw UART processing ? https://stackoverflow.com/questions/76979323/how-to-reduce-tty-vtime-for-non-canonical-uart-on-...
K. PANIK's user avatar
0 votes
0 answers
280 views

Is there a serial BIOS in QEMU/KVM?

I'm trying to bisect a kernel issue which causes a VM not to boot. To do that, it would be nice to get serial console output from BIOS via virsh VM console. (For example, GRUB can use UART0, but ...
KJ7LNW's user avatar
  • 383
0 votes
3 answers
1k views

How do I enable serial access to a computer (not from a computer)?

I have a Linux server (on Desktop hw) running Ubuntu Server (headless). Its tucked away and hard to access, once a year an update or something else create a problem where I can no longer ssh into it. ...
Duxa's user avatar
  • 134
1 vote
1 answer
381 views

Can I get raw access to the PS/2 port in Linux?

Context: I have an exotic keyboard with a screen on it. I believe that the host machine draws on the screen by sending commands down a PS/2 connection (I'm still reverse engineering the protocol). My ...
David Given's user avatar
1 vote
2 answers
7k views

TCP to virtual serial port with socat

I have a program (program 1) that has a TCP server listening on port 1234. I have confirmed that the server accepts connections and sends data with a utility str2str. Program 2, on the same machine, ...
sebinho's user avatar
  • 73
1 vote
1 answer
216 views

Is it it possible to send an A/V receiver commands via a USB cable to a 3.5mm jack on the receiver? [closed]

I have a Linux computer (Ubuntu 20.04.5) and a Harman Kardon AVR51 A/V receiver which has a 3.5mm input jack for IR remote control. My question is, if it is possible to send some kind of command from ...
tapinko's user avatar
  • 11
0 votes
1 answer
377 views

Putty setting for different colors of text transmitted and received

I'm using Putty as a terminal emulator to control some equipment. The protocol is to send a command and receive a reply, each terminated by a CR/LF. The format of the command and reply are nearly ...
gnuarm's user avatar
  • 11
0 votes
0 answers
301 views

I am having a issue pressing a key in Putty connected to a serial interface

I am using a serial interface board to connect to the serial interface of my router. I have it working great (N81, no flow control) with the exception of being able to send a keystroke. Have tried on ...
Rob Bonner's user avatar
0 votes
1 answer
136 views

How could I connect 2 computer via USB-Serial adapter (2x FT232)

First time asking a question (if I'm not at the right place, feel free to point me to the right place) :) I want to access PC2 with PC1 via two FT232 adapter. Example: I already tried to pass the ...
FlexTapeDude's user avatar
0 votes
1 answer
298 views

Linux network by serial port

I need help to configure a serial port (/dev/ttyS1 or /dev/ttyUSB0 is the same) to communicate vs other hosts via IP (without modem). Some years ago it was possible ma I don't remember how. Anyone ...
Riccardo Ricci's user avatar
0 votes
2 answers
1k views

Unable to install driver for serial/parallel port card on Suse Leap 15.2 with Kernel 5.3.18-lp152.84-default

I have an IOCREST SI-PEX50103 which is a PCI-Express Multi I/O Controller Card with 2 serial ports and 1 parallel port. It uses the vendor supplied AX99100 driver. I am running openSUSE Leap 15.2 with ...
user125660's user avatar
0 votes
2 answers
1k views

Why some USB Serial converters work and others don't on specific hardware?

I went online and brought a pack of the cheapest USB to Serial adaptor, put TX on RX and RX on TX and was able to communicate between the 2 ports without any issue. So I plug the thing in a device ...
Guilherme Richter's user avatar
0 votes
0 answers
389 views

Wrong characters in serial console

I have a Linksys SRW2048 that I want to configure via the serial port. I hooked it up with an RS232 / USB cable and a gender changer on the RS232 end. If I start a PuTTy session (same Problem in other ...
PaulR282's user avatar
0 votes
1 answer
263 views

create bitmap image from data being sent to a printer

I have a device that sends its screen capture to serial and parallel printers. I received raw data from serial port being sent to printer. I want to connect this port to my PC instead of a printer ...
Sidk's user avatar
  • 1
0 votes
0 answers
313 views

Serial to HID keyboard device converter

I am working on a project to collect data from a barcode scanner using an arduino which in turn is connected to a POS/laptop. So far i am able to collect the data from the barcode scanner by using the ...
sud.ng7's user avatar
0 votes
0 answers
25 views

Exceeding the 256 serial COM PORT limit? [duplicate]

Can I use more than 256 COM PORTS on a single host? From this answer, it looks like it's a software/OS limit only: How many serial ports can be configured in Windows 7? I'm unable to figure out how to ...
Yang's user avatar
  • 101
1 vote
0 answers
39 views

TCP server device for USB access readers

I have a BarCode reader that spits out data over a Virtual COM port (RS232 Serial) through a USB cable. I have a server running and managing a facility, and I need to read data coming off the BarCode ...
Aman's user avatar
  • 11
0 votes
0 answers
446 views

Why is my USB serial device communication garbled when using minicom and how do I fix it?

I have a Aoetec Z-Stick Zwave device I am playing around with. I am trying to communicate with it using minicom and I have never tried something like this before. I asked about baud rate in a discord ...
Jackie's user avatar
  • 817
0 votes
1 answer
3k views

Any way to access a serial console port using a serial-to-ethernet cable connected to an ethernet-to-USB adapter?

We have a device that has a male serial port on it to access its console. We don't have a USB-to-female serial cable. I'm trying to see if I can quickly get access to the console, without having to ...
pacoverflow's user avatar
  • 1,975
1 vote
0 answers
440 views

Serial Port Issue

I am a new linux user, I have a workstation connected to a testing device through serial port (ttyS0) then suddenly it stopped working. I connected USB-Serial adapter to check the software also was ...
Firas Alrawi's user avatar
0 votes
1 answer
305 views

Send ESC (ASCII 27) to sensor using putty

I am working on the Young anemometer 81000, datasheet: http://www.youngusa.com/Manuals/81000-90(I).pdf. Section 4.0 COMMAND MENU tells me I should send the ESC character (ASCII 27) 3 times in quick ...
WindMeting Vub's user avatar
0 votes
0 answers
147 views

Deterministic serial communication using UART

We are trying to receive sensitive data each 10 msec (100 bytes) via UART communication between Raspberry Pi 4 (runs ubuntu mate) and another embedded board that uses pic18. The UART is set as follows:...
Mohamed Ibraheem's user avatar
1 vote
2 answers
391 views

What does serial really mean? Isn't USB3/SATA actually parallel? [duplicate]

As far as I understand. Serial means data is being sent one by one instead of parallel where multiple bits of data are streamed simultanously. Howewer connections like SATA and USB 3 actually have ...
Delta Oscar Uniform's user avatar
0 votes
1 answer
1k views

Minicom and screen in background

I would like to log serial port output in background. I use screen command for minicom to make sure minicom running on the background when I disconnect my ssh session. This actually works fine, but ...
Krisz's user avatar
  • 111
0 votes
1 answer
127 views

PUTTY -m ,but waiting for terminal to iddle

from an ubuntu VM I try to putty to a reaspberry by through uart pins and an FTDI dongle I want to automate the upload of a text file I use : sudo putty -serial /dev/ttyUSB0 -sercfg 115200,8,n,1,N -m ...
Phil's user avatar
  • 113
3 votes
1 answer
3k views

Send ctrl-alt-del over minicom

Is there a way to send key combos (namely a sysrq) over minicom? I'm looking to issue ctrl-alt-del to a box of mine so I can shut it down gracefully. Does this exist?
Will Nilges's user avatar
1 vote
0 answers
919 views

Arduino Nano Serial Port error on Mac OSX Catalina 1.15.4

I have just recently bought my first Arduino board. Unfortunately when I went to upload my first sketch i got an error message saying that no serial port could be detected. Under Tools>Ports I can ...
marud's user avatar
  • 11
0 votes
1 answer
3k views

/dev/ttyACM0 lost after sleep - How to redetect / restart / rescan for ttyACM0?

I have a Ubuntu 16.04 based VM which runs inside VirtualBox on Windows 10. On my Host, I've connected a ZWave USB antenna, which I've then mapped/attached to the VM. When I first boot my VM, I can ...
Eric B.'s user avatar
  • 1,011
0 votes
1 answer
3k views

How do I change my Interfaces to up instead of down status?

What command do I use to change a S0/0/0 interface with PPP Encapsulation from a line protocol of down to up? I have already applied a no shutdown command.
Pamela Padgett's user avatar
1 vote
1 answer
768 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
1 answer
357 views

Are the communication protocols too different between USB and Ethernet?

I have a PA system that has 60 devices of which 57 are indoor wireless modules. They need a USB-a to b cable to program, and according to the manufacturer there is no way to program it over wireless. ...
Watrick's user avatar
  • 11
1 vote
1 answer
39 views

How to format Excel cells to show only a certain part of the code my scanner scans from certain objects?

For ex: When I scan an qr code it shows: Column A1 vbmsavchjas asdhgaskhdgaskhdg_INX7642854858625 but I am only interest in the last characters: Column B1 INX7642854858625 I can use afterwards in ...
Bebelens's user avatar
1 vote
0 answers
145 views

Weighing Scales connected by RS232 to USB keeps disconnecting

i have some weighing scales with a serial port (RS232) and are connected to Windows 10 PC with a Serial to USB Cable. The scales are detected (COM3) and drivers are installed correctly, and im able ...
azza452's user avatar
  • 11
0 votes
0 answers
173 views

Serial console echoes back input

Modified /etc/default/grub as below and successfully setup serial console on Ubuntu 18.04 (Bionic) GRUB_CMDLINE_LINUX="console=tty1 console=ttyS0,115200" GRUB_TERMINAL="console serial&...
Senthil's user avatar
  • 499
1 vote
1 answer
907 views

How to determine motherboard serial number

I determined that my motherboard is broken. Since I cannot turn on my laptop, how can I see which model of motherboard I have and what its serial number is? I need to buy new one. My laptop is a Dell ...
derMirDer's user avatar
1 vote
1 answer
773 views

no login when making a direct connection (USB-serial-USB) between Linux hosts

My goal is to use an FTDI null modem cable (FTDI-nmc) with integrated USB-serial converter on both ends as a simple and convenient method to occasionally log-in to various headless devices such as ...
yesno's user avatar
  • 183
1 vote
0 answers
1k views

Use USB Barcode Scanner as Serial Device

I have an USB barcode scanner that is recognized as Keyboard. I have to read the scanned barcodes in background using Java but it seems to be no way to read directly from an USB port (and I do not ...
user2456039's user avatar
0 votes
0 answers
1k views

ESP8266 Serial USB adapter doesn't work on Ubuntu

So I need to program a little ESP8266 microcontroller with the Arduino IDE. But the board which is connected with a Serial-to-USB Adapter won't get detected by my Ubuntu system. The adapter: https://...
Janik's user avatar
  • 1
0 votes
1 answer
260 views

Unable to connect a TTL to USB converter to a phone

I have been unable to connect the USB side of a TTL-to-USB converter to a phone by using a Female-Female USB A adapter and a normal mobile phone cable (which can handle data). This is the converter ...
Caspar P's user avatar
0 votes
1 answer
3k views

How to represent a Carriage return (\r, ^M) as part of text over serial

I am trying to send a message including carriage returns (represented without pressing enter) over a serial connection. It works if i press enter with an open serial connection, but I have not found ...
Brian G's user avatar
  • 103
0 votes
0 answers
138 views

How to send Serial data to a UDP switch?

I have a data string I am receiving via a serial port to my computer. I would like to be able to send this data back out over UDP or TCP to a switch to be received by a remote sensor. Networking is ...
Visitor's user avatar
1 vote
0 answers
558 views

Link serial /dev/ttyUSB0 to /dev/ttyS0

I have a program that communicates with an Arduino through the serial port but somehow the Arduino is showing up in the computer as /dev/ttyUSB0 and not /dev/ttyS0, which is what the program is ...
Antonio Castles's user avatar
0 votes
1 answer
158 views

Serial console buffer

when i connect to my board through serial console, launch my app which log some events with printf() and close serial console, my app can receive request and send response during a small time and then ...
sylvg's user avatar
  • 1
1 vote
0 answers
272 views

Arduino Uno not showing up in tty devices?

new laptop and I have never had this issue before. My arduino Uno doesn't show up in the tty devices. lsusb: Bus 002 Device 002: ID 8087:8000 Intel Corp. Bus 002 Device 001: ID 1d6b:0002 Linux ...
Grant Dare's user avatar
1 vote
0 answers
798 views

How can I access a SPI NAND Flash Memory in embedded Linux?

I am a newbie with embedded Linux. I am using a Leon-Linux system on my evaluation board(Grmon GR712). I can compile the Linux kernel and build an image file via build-root. I want to access an SPI ...
roll's user avatar
  • 31
1 vote
2 answers
1k views

USB Hub dropping data from USB-to-Serial Adapters

I am currently designing a system, which needs to receive data from serial devices (mainly ARM boards). To achieve this, I use some USB-to-Serial (FTDI232) adapter(s). I coded a simple loopback ...
Trunyx's user avatar
  • 13
-1 votes
1 answer
300 views

Issues setting up a bridge connection for serial devices

I'm having trouble setting up a network of serial devices on a shop floor. I do have some basic networking experience but am not verbose in some of the more advanced settings. I'm trying to setup a ...
Alex S's user avatar
  • 1
0 votes
1 answer
100 views

MS Excel365 Date/Serial Date - anyone else experiencing?

I am having a problem suddenly with all computers at my place of employment. If I type a number into a cell (A1), such as "121218" excel is not auto-converting to a date. In addition, when the cell ...
D.ozer's user avatar
  • 1
2 votes
0 answers
700 views

Node.js serialport readline parser - response devided to each sign in new line

I would need some help in resolving a node.js problem with serialport response on one computer with Ubuntu 18.04 64-bit. On the beginning I can confirm that the hardware which I have connected answers ...
Piotr Szatkowski's user avatar