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.
433
questions
4
votes
2
answers
23k
views
How do I configure PuTTY to show non-printing ASCII characters when using a serial connection?
I am trying to debug communication with a hardware device via serial port. The hardware device occasionally sends out information that is not an alphanumeric or whitespace character. While my Python ...
0
votes
1
answer
47
views
Serial Connection Issues
I have a Radionics rfid badge reader on my desk which is supposed to interface with our badge software (Stanley PAC) which is installed on my computer.
I am using a docking station (also HP) which ...
0
votes
1
answer
165
views
Simulate a serial port that actually is an internet port [closed]
In CentOS, how do I make a fake USB serial port that is actually an internet port (like port 80 for http)?
Edit:
I'm sorry that I didn't make it clear. I'm trying to make a server-side compiler and ...
1
vote
1
answer
1k
views
how to open the options window for extraPutty session manager
I'm using ExtraPutty and have also installed 'Putty session manager' the session manager's options window:
It appeared once when I first installed the session manager but I only get access to the ...
1
vote
2
answers
3k
views
wvdial can't retrieve modem response, terminal programs communicate without problems
I'm trying to make a GPRS connection with a SIM800L and a PL2303 USB-Serial cable.
If I screen or minicom the modem (at 115200 8N1) I get an immediate response from the modem and I even after setting ...
3
votes
1
answer
4k
views
Portmon - Portmsys.sys not found
I've been wrestling with Sysinternals' Portmon utility and am trying to get it working under Windows 8.1 64-bit. Initially it would not start - it gave "Error 2" and exited, as detailed in this Stack&...
1
vote
1
answer
865
views
How to transfer data between RS-422 and RS-485 ports?
I'm relatively new to behaviors of serial ports such as RS-232, RS-422, and RS-485.
I'm wondering how do you initiate data transmission between a system and a device connected to each other by one ...
1
vote
0
answers
1k
views
xmodem communication over serial port via Tera Term is failing
I'm updating the firmware of transmitters over a serial port using Tera Term. For whatever reason, the upload, via xmodem, keeps failing (or timing out or something along those lines) and I'm trying ...
1
vote
2
answers
6k
views
Creating a console adapter for an ACME packet server
I am having a hard time with this problem and hoping that someone can help me out. I have an ACME packet 4250 server that needs a console cable to access it. The box itself takes an RJ-45 in the front....
3
votes
4
answers
31k
views
What are com ports and why does a PC need them?
As per the title, I'd like to know the purpose of the com ports, since computers have physical USB ports as well. I've searched the web but without any convincing answer.
5
votes
1
answer
884
views
How to share via TCP serial port CAT
I want to connect my amateur radio transceiver to a linux (Ubuntu) computer with USB cable (serial port (in windows should be COM3 or
COM4) like /dev/??? ) and share it locally with TCP, Is it ...
0
votes
1
answer
3k
views
Get minicom to behave like PuTTY
I'm bootstrapping some servers over serial. I've been using PuTTY on Windows, but I'd really rather use Linux.
In PuTTY, I can simply select serial and enter the baud rate. A serial window pops up ...
1
vote
2
answers
2k
views
Where to set advanced settings for serial port on linux
I use a special USB to serial adapter to get data from legacy hardware.
Under Windows i have to set some advanced settings in order to start sending data in a way the devices can "understand" and "...
2
votes
2
answers
4k
views
Can I use an UART (serial port) as a MIDI device in Linux?
Can I convince Linux (kernel/ALSA/Jack) to use an arbitrary UART or serial port (usually /dev/ttyS* or /dev/ttyUSB* or /dev/ttyACM*) to output the MIDI messages?
This is the way MIDI was done on the ...
3
votes
0
answers
4k
views
Setting up a virtual Com Port?
What I need to get to work together:
A USB barcode scanner
A Windows (7) Machine
A piece of software that listens for data over a COM port
So I believe I need a way to make USB device appear to be a ...
3
votes
2
answers
2k
views
Why I have /dev/ttyS* on Linux when my laptop have no serial/RS232/COM1 port?
I am running Debian Wheezy and my laptop does not have serial port. Why do I have /dev/ttyS*, and what will happen when I try to read/write to them?
My config:
└──> ll /dev/ttyS*
crw-rw---T 1 ...
0
votes
0
answers
849
views
Serial connection to Cisco C40 not taking input
I have a cisco c40 video codec that is not accepting the admin credentials that I established for it over SSH/HTTPS. I suspect that the config file is corrupt as there are other erroneous behaviors in ...
3
votes
1
answer
15k
views
How can I test my serial port in Windows 7?
I installed Windows 7 in my system. I want to test my external serial port. But I can't find Hyper Terminal to test the serial port myself. Is there any alternate method to test it?
2
votes
1
answer
733
views
Cannot use COM ports under my Linux
I am trying to obtain the COM port for a device but after I connect it, it is suddenly disconnected. I got the minicom package installed, and when I execute dmesg | grep tty I obatin this output:
[ ...
1
vote
0
answers
2k
views
Receive a file using runscript (minicom scripting language)?
With runscript one can script minicom serial line sessions. I try to script the reception of a file transferred with ymodem. Minicom uses external programs for file transmission. I tried runscript's "!...
-3
votes
1
answer
991
views
"cannot open port!" in a DLL project [closed]
I made a C Console Application in Visual Studio in order to access one of the COM ports with the following code and all went well.
#include <windows.h>
#include <stdio.h>
#include <...
2
votes
0
answers
244
views
Make serial gnu-screen send a line at once
Is it possible to send lines at once in linux screen utility, if used as serial terminal, like for example screen /dev/ttyACM0 9600?
By default, every character typed is sent immediately, but my ...
2
votes
1
answer
2k
views
RS232 serial Y splitter to Raspberry Pi (USB) and thermal printer sometimes blocks flow to printer
We are sniffing data from a restaurant point of sale system (RJ45 to DB9) to its thermal printer by using an RS232 splitter and a Raspberry Pi (DB9 to USB on the Pi).
This has worked great 99% of the ...
1
vote
1
answer
3k
views
Why would I be unable to type input when using a using serial console in Linux? [closed]
I have a Slackware machine with an RJ45 serial port and I'd like to have a serial console on it. So I have connected it up to another machine running Hyperterminal. I can only get output on the ...
0
votes
1
answer
3k
views
Unable to communicate with peripheral over Serial USB from Linux
I am struggling with establishing comunications with a peripheral over USB serial on my Linux here (fedora 20/64bit), and I am probably missing some step:
I connect the device, a /dev/ttyUSBx port ...
6
votes
1
answer
11k
views
Change COM Port Number programmatically
In Device Manager, I can right click on a serial device, navigate to the Port Settings tab, click Advanced, and change the COM Port Number via a drop-down menu.
I need to automate this step across a ...
2
votes
2
answers
5k
views
Can't access SerialPort on virtual machine
I'm using VMware Workstation 10.0.4 with a Windows 8.1 64bit as OS on the virtual machine (and the host system). Now I am facing the problem that though the serial port is mapped into the virtual ...
0
votes
2
answers
7k
views
Echo/Pipe command output to Serial line
I have a serial device running on 115200 baud at /dev/ttyUSB0. I need to Pipe the output of a command to it. I Need somthing like:
command-that-gives-stdout | command-that-puts-stdin-to-serial --baud ...
78
votes
7
answers
406k
views
How to view serial COM ports but not through Device Manager
How would I go about viewing a list of COM ports in use without the use of Device Manager?
I don't want to install any software either. Is there a possible way to do this through the command line?
0
votes
0
answers
101
views
serial port settings for scale model 240878
Has anyone ever have configured the serial port settings for a globalindustrial scale model 240878?
I have tried some many configuration already using BC-Wedge but can't get the right value from the ...
0
votes
2
answers
809
views
Mapping a virtual serial port to a remote serial port
I'm trying to start a multiplayer match on an old game (runs on Dosbox), which uses serial communication.
So what I need to do is define virtual comports on both computers running the game, and ...
1
vote
1
answer
5k
views
How to send AT commands to HuaweiE3276 using Putty
i am trying to connect with COM port of Huawei LTE modem E3276 with a java program. To test AT commands i am using Putty as terminal application.
Once i give COM port and all other parameters (Baud ...
2
votes
0
answers
194
views
Serial TTA0: connection to Virtual machine | Weird characters and no input
I have setup a serial TTA0: connection to an OpenVMS Emulator running in virtual windows.
The console serial port is configured as follows:
TTA0.type="socket"
TTA0.port=":20000"
...
1
vote
0
answers
544
views
How to install Windows 95 from CD-ROM on laptop with no CD drive
I have a old Toshiba T4700CT laptop which I'd like to install Windows 95 on. However I own't Windows 95 on CD-ROM and this laptop only has floppy.
I'd prefer not to have to hunt down and pay for a ...
1
vote
2
answers
4k
views
If I plug a two serial devices into usb adapters both into a single USB hub will my computer see two different COM ports?
Hopefully a simple question but I couldn't quite find the answer myself. I'm writing a program in C++ that will, among other things, need to control two devices that are run by serial port. This ...
1
vote
1
answer
3k
views
How to read infrared signals from a IrDA FIR port on Windows 7 (Acer Travelmate 8200)?
I have an Acer Travelmate 8200 notebook with Windows 7. The notebook has a built-in IrDA Fast Infrared Port (on the front panel) which is activated in the BIOS. Windows did auto-detect the IrDA port ...
10
votes
2
answers
39k
views
How can I set the parity bits when using screen to access a serial port
I typically use screen(1) to open a serial port with the command:
sudo screen /dev/ttyUSB2 115200
I've tried setting parenb (and a number of other things) using the following command:
sudo screen /...
0
votes
1
answer
4k
views
Unable to find PORT name in ubuntu 12.04
I am writing a code for serial programming in ubuntu 12.04. I have connected a usb to serial converter with my usb port. Now I want to know On which port I have connected my usb ( for example COM12 ...
0
votes
1
answer
569
views
serial port over tcp without terminal server
Using pandboard, i would like to forward the ttyO2 port where first login comes up and gives a bash.
Without using a terminal server (intermediate PC or serial-server) as pandaboard support eth0 how ...
0
votes
1
answer
631
views
Is there a way to identify the device data is being received from? (python)
Summary
I have an MT4000 device connected to my computer using the serial port ttyS0. This is broadcasting data which is being received and read by a udp listener written in Python. I am also sending ...
0
votes
0
answers
724
views
Timeout in COM communication
I have a device that connect to computer and communicate with the computer via a COM port.
I tested it with 2 different computer. It works properly in Windows-Server 2008, but return timeout in ...
14
votes
4
answers
38k
views
Linux tells me a serial port is in use, but it isn't
On CrunchBang linux (Debian variant), I have a COM port on ttyS0, which I'm trying to use with an NFC device. libnfc responded that it couldn't see any NFC devices, so I tried directly opening the COM ...
0
votes
1
answer
1k
views
Triggering a server to shutdown in receiving a signal via serial port (RS232)
I'm a fresh graduate (Electronics & Commn) and want to start my career in linux administration. I'm using a Ubunutu 14.04 server machine for R&D (with ups). Now my scenario is whenever main ...
0
votes
1
answer
420
views
Prevent PuTTY from minimizing
I am using PuTTY to monitor a serial port spewing both binary data and ascii data at 1000000 baud. The binary characters are raw uint32_t bytes from sensor values and are essentially random. When ...
0
votes
1
answer
766
views
Redirect TCP/IP to COM port driver
There are many programs which emulate a COM port and let you redirect it to an ethernet port. I want to do the opposite of that. Create a virtual ethernet port that redirects to a physical COM port. ...
1
vote
2
answers
2k
views
How can USB 3G modems reach high speeds through a virtual serial port?
I'm a bit puzzled about the virtual COM ports used by modern high speeds USB devices that creates several serial interfaces, one of which is used for data transfer.
A modern 3G/4G USB modem can reach ...
2
votes
2
answers
7k
views
How to send a BREAK on a serial port from command line in Raspbian Linux?
I am looking for a way to send a serial BREAK from a shell script in the Debian Linux that comes default on a Raspberry PI without needing any additional software to be downloaded or compiled.
...
0
votes
1
answer
587
views
Output to Serial Port
I am trying to output to an arduino through the serial port in windows using a program called boblight. Basically, I have to tell it where to output. I have tried "COM3", "dev/com3", and "dev/ttyS3". ...
4
votes
1
answer
7k
views
Impersonate a serial device with socat
I am trying to use socat to impersonate an external serial device. If I do this in one terminal:
sudo socat -ddd -ddd PTY,raw,link=/dev/ttyS32,echo=0 READLINE
and run this simplified version of my ...
0
votes
0
answers
390
views
Unable to send/receive from microcontroller virtual serial port
I have a MSP430 Launchpad (microcontroller) which forms a virtual serial port on my Windows 8.1 rig. Somehow I cannot receive/send any data through this serial port on this rig. I have tried 2 other ...