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.

learn more… | top users | synonyms

1
vote
1answer
3k views

Wrong newline character over serial port (CR instead of LF)

I'm trying to talk to a device using a usb-to-serial converter on linux. Drivers are working, the device exists at /dev/ttyUSB0. There is a strange problem (checked with a null-modem cable to another ...
1
vote
1answer
47 views

How to create a serial pipe between a windows host and virtual machine in VirtualBox?

I am trying to debug the kernel of a windows 7 virtual machine and am following the steps here, here and here. I ran: bcdedit /debug on bcdedit /dbgsettings serial debugport:n baudrate:115200 on ...
0
votes
0answers
14 views

USB to Serial cable fails to establish communication on Ubuntu

I have a serial device which works fine when connected directly to the serial port of the linux box but fails when I connect it using a serial-to-usb cable - that is using the USB port on the linux ...
19
votes
7answers
130k views

How do I clean up COM ports in use?

How do I clean-up these in-use COM ports? The COM port numbers always seem to be taken up by something and although right now I only have 4 serial ports (3 over Bluetooth and one USB to RS-232), I ...
0
votes
2answers
25 views

How to remove FTDI's cached registry entries in Windows 7

I have an FTDI USB-to-comm-port device. I've noticed if I have to reprogram the device using FTProg that it doesn't properly reinstall the COM port driver/settings, if the device serial number stays ...
0
votes
0answers
25 views

How to automate putty commands when connection is through serial port?

Two files are there. I want to run trial .txt cmd in serial port connectivity with a hardware.pls suggest how to automate this. I will use these cmds repetititvely. Batch file cmds below sv.batch ...
5
votes
1answer
1k views

Local echo using Screen to connect to a serial terminal

Reading through the book "Building Wireless Sensor Networks" I learned that you can use the Screen utility to attach to a serial console. I tried using it to connect to an XBee module and it seemed ...
0
votes
0answers
12 views

modem didn't respond to AT commends

I want to perform some AT commends on my huawei ec122 modem (locked) but i didn't receive any response from it. i am using c# to perform request with waterline method the port open without problem and ...
0
votes
1answer
32 views

Serial connection crossover

When accessing a serial connection I only get random numbers and characters: http://i.imgur.com/NsGIamE.png The manual for the piece of hardware I am trying to access says following about the ...
0
votes
0answers
22 views

Advance a Bluetooth device from paired to connected Win10

A bluetooth medical device is paired (indicated in screenshot) with a Win10 laptop and the two communicate via SPP (serial port protocol). What user actions can be taken to prompt the connections so ...
-1
votes
1answer
44 views

how to get the count of available Physical serial port

How we get the count of total number of physically available serial ports in a Linux machine. Is there any particular command for that?
1
vote
0answers
37 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 ...
0
votes
1answer
55 views

COM port RS485 sniffer using 9bit datawords

I have to monitor COM port, particularly log all raw data from it in a file. I don't have official technical specification of device, which communicates by this port, but as I found in some forum, "It ...
2
votes
2answers
2k views

File transfer over a serial port using Windows 8

I am looking for a way to transfer a file over from my Windows 8 computer to a Pandaboard (has OMAP ubuntu on it) using a serial cable. The solution should work in general for any ARM board, so for ...
-3
votes
1answer
78 views

Serial over USB 2.0. Is it really faster than standard serial? [closed]

A member of our scientific collaboration designed a data acquisition box with with 4 channels @ 1 kHz that synchronizes time with GPS. He uses USB 2.0 to have the box communicate with a computer, and ...
2
votes
1answer
185 views

Serial console login on OSX

Background I've got a Wyse WY-50 terminal here that, for various nolstagia and productivity reasons (really!), I'd like to connect to my Macbook and use as a login terminal. I'm using OSX 10.10 El ...
0
votes
6answers
7k views

Multi serial devices on one port

I am developing a software for managing parking lot. System is designed to use four HID RFID devices to authorize the clients on gates. Each device should be connected to the server by Serial port ...
0
votes
0answers
45 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 ...
4
votes
1answer
296 views

How can I set the power on default state of serial port on Windows 7?

How can I set the DTR line to high by default when a Windows 7 machine starts up? Background: My own Windows service sets the condition of the com port lines to indicate its status. One of these is ...
1
vote
1answer
38 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 ...
3
votes
2answers
8k 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
0answers
10 views

How to share a serial port between a gdbserver and a system console

I am trying to debug userland applications on an ARM-based embedded system running a Linux/Busybox software stack. GDB runs on a host (Debian) PC and the target has a gdbserver. I'd like to use one ...
0
votes
0answers
22 views

VMWare WS 12 - connecting to guest OS via serial port

I installed a virtual image of an appliance. The HW version of the appliance has a serial port for initial configuration, and I'm trying to do the same with the virtual. Following https://www.vmware....
0
votes
2answers
459 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 ...
0
votes
1answer
155 views

I am unable to connect to an HP Procurve Switch with a patch cable

I'm trying to connect to an HP Procurve switch 2610-48 PWR using Putty, an HP elite Probook laptop and a patch cable. When I connect to the console port using the appropriate cable, the command window ...
6
votes
4answers
28k views

Any free application to redirect serial communication to TCP/IP? [closed]

Please can anyone suggest a free application which creates virtual serial ports and any traffic on that port is redirected to given TCP/IP address?
0
votes
0answers
79 views

Printing over USB in FreeDOS 1.1

I was hired by a small business to upgrade their computer system and have run into a very complex issue that no one else on the internet has battled quite like I have. I'm at my wits end. If any of ...
0
votes
0answers
167 views

Sending commands via serial connection

I've got a Sartorius GD-503 electronic lab scale that I'm trying to work into a control setup. I've got both the regular manual and the data interface description manual. So far I've got my laptop ...
2
votes
1answer
2k views

What does COM Stand for in terms of Serial Ports

In terms of Serial Ports what does COM actually stand for. I can't find any reference to it. (To be clear I am not talking about Component Object Model but the Hardware Interface used in Windows ...
0
votes
1answer
253 views

Missing hardware after reinstall

I have a Lenovo Thinkpad T61 laptop. I downloaded a security suite from my bank that caused conflicts with my previous installation of Windows XP. So, I wiped out my hard drive and re-loaded window ...
0
votes
2answers
6k views

Use serial port (COM) as LPT1

I have a device that needs to be plugged in to LPT1 to run a legacy software. I am trying to find a workaround to get it running in a latptop (without parallel port, obviously). I have HL-340 USB-to-...
1
vote
2answers
915 views

How to avoid modifying permissions on a file every time I start my computer

My serial port is located at /dev/ttyUSB0, and every time I want to access it after waking up my computer or starting it (Ubuntu 12.04), I have to run sudo chmod 777 /dev/ttyUSB0 to grant myself ...
1
vote
1answer
141 views

Avoid USB/Serial adapter port change in Windows enviroment

I would like to know if there is some way to "fix" a serial port to common usb/serial adapters. Many times I saw that changing usb port of adapter it takes a new serial port number. It happends also ...
0
votes
0answers
26 views

CDC Virtual Serial Port

I would like to know what a CDC Virtual Serial Port for Windows and Linux is. I have an idea of some of the components (like a virtual serial port), but I don't understand some of the pieces (like ...
0
votes
0answers
38 views

Serial port interference on Linux?

I am attempting to communicate with a MODBUS device over serial port. On my Windows machine this works, and the modpoll software can talk to the device just fine. However, on a fresh Arch Linux ...
15
votes
1answer
3k views

Is serial port a 'male' or 'female'?

Usually, the "ports" on the computer are female but this one in specific appears to be a male port. I have never seen one and google images are also causing a confusion from seeing this: If that's ...
0
votes
1answer
28 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
0answers
93 views

How to run a virtual machine with no graphics card (VGA) configured in VirtualBox

I want to use the following feature of Linux (which one of my virtual machines): If no console device is specified, the first device found capable of acting as a system console will be used. At ...
2
votes
3answers
7k views

What is the minimum delay between two consecutive RS232 frames?

I have been working on creating a UART on an FPGA. I can successfully transmit and receive single characters typed on PuTTY. However, when I set my FPGA to constantly write a large sequences of "A", ...
0
votes
1answer
60 views

How to host modern console application on legacy serial COM device in Windows

EDIT: Changed primary example from Zork Dungeon to the default OS shell. I have a console application running on a modern machine. I also have an Apple //e with a Super Serial Card, which allows it ...
0
votes
0answers
616 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....
0
votes
1answer
135 views

RS232 switching matrix for multiple devices and PCs? [closed]

I have six pieces of equipment which con be controlled via RS232. I want to be able to select which pieces of equipment are connected to any one of my three computers at a given time. I know that I ...
2
votes
2answers
861 views

Use Serial Port as Digital Out

I want to output a single bit from a program on my PC to a TTL circuit. I know I can buy a digital I/O card, but I just want a single value. Can I use one of the pins on the serial port as a single ...
-3
votes
1answer
283 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
1answer
21 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
votes
1answer
42 views

COM port forwarding software [closed]

I need to find software to redirect COM port from PC with device to remote server (over ethernet). But first: connection must be initialized by client to server (from PC with device), and second: ...
2
votes
1answer
279 views

Receiving data from Serial Port

I want to receive data from RS232 Serial port to my terminal and with a directive to a file. It should be pretty straight forward. cat /dev/ttyS0 cat /dev/ttyS0 > file.txt Before that I've ...
0
votes
0answers
46 views

Change serial connection speed in ExtraPuTTY automatically

I really need help.. I'm using ExtraPuTTY to open a terminal on some serial port on my PC. At the beginning of the session I want to transfer a file over Putty XMODEM feature to the end-point at 3Mb/s ...
3
votes
1answer
6k views

How do I find the device which has Com Port X reserved - want to reclaim the port num for different device

I added a 4 port pci serial card to my windows 7 PC. I want to assign them COM1-4. I know how to change the COM Port Number when the com port number is not already in use. In my case, COM4 is taken ...