A hardware interface commonly found on older PCs, usually with a 9-pin DE-9 socket/plug, on networking devices or servers also with RJ-45 socket/plug (otherwise commonly used for ethernet), or with a (much wider) 25-pin DB-25 socket/plug. Two common standards used with such an interface are RS-232 ...

learn more… | top users | synonyms

3
votes
4answers
3k views

udev re-numbering when creating symlinks

I have USB cellular modem attached to an ALIX 3d2 board running voyage linux (which is based on Debian Squeeze). The modem registers itself as a TTY device, and so by default, udev will create TTY ...
0
votes
0answers
7 views

How to configure USB serial port paramters for a Windows program running in Wine?

I have a small CNC machine that's controlled by a custom piece of Windows software over USB, and I'd like to be able to run it from Linux. The software loads up fine under Wine, but it can't see the ...
7
votes
2answers
4k views

Attaching USB-Serial device with custom PID to ttyUSB0 on embedded

I'm attempting to get an FTDI USB-Serial device with a custom PID to automatically (or even manually) attach to ttyUSB%n, without much success. The device's normal VID/PID is 0403/6001. When ...
0
votes
1answer
16 views

Linux UART IO File

How bytes received on UART device are stored in some serial Linux devices /dev/ttyS? How to read them? What is the procedure? Should that device file be closed, when new data is arriving?
23
votes
9answers
102k views

How to connect to a serial port as simple as using SSH?

Is there a way to connect to a serial terminal just as you would do with SSH? There must be a simpler way than tools such as Minicom, like this $ serial /dev/ttyS0 I know I can cat the output ...
0
votes
1answer
24 views

Serial devices?

Is it possible to do some echo on /dev/ttyS8 serial device in one terminal window, and in second to cat /dev/ttyS8 and display data from that file?
10
votes
6answers
38k views

How can I monitor serial port traffic?

Is there any port monitoring tool to watch the packets written on the port? I especially want to check if my program written in Java works so I need some kind of tool to see if my little application ...
0
votes
1answer
777 views

rs232 to usb not working

I also asked this question on AskUbuntu but there nobody comments on it I have a konig rs232 serial to usb adapter (no FTDI chip), but when I try to connect to a cisco switch/router (via Putty, ...
1
vote
1answer
1k views

Setting up tty ports on Beaglebone Black with Angstrom linux

I'm using a Beaglebone Black running the Angstrom v2012.12 build that came pre-loaded. I want to be able to connect another device to a serial port via the UART connections on the GPIO headers. The ...
3
votes
1answer
2k views

How to send data from serial port over wifi?

I have microcontroller device which reads data from sensors and sends it via Serial to USB converter (ftdi232 cable). This Serial to USB converter is connected to ARMv7 mini-computer - CuBox with ...
1
vote
1answer
44 views

Usb serial cable (prolific) not working with ftdi_sio driver on rpi-buildroot image

I'm using a raspberry pi to control a LED matrix display with a Prolific USB to serial cable (067b 2303). Using the default raspian image it works perfectly, however with a custom buildroot image ...
-1
votes
1answer
26 views

Virtualbox and telnet

With the latest virtualbox is possible to set a tcp serial. I have set port 2231 and with telnet localhost 2231 the login appear on old unix. The problem are: password are seen in clear text, and if i ...
0
votes
1answer
651 views

Monitor com port with strace

I have written a small application in Java that writes two strings – 'dddd' and 'ffff' – to a com port. I used strace -s9999 -o serialtrace.log -eread,write,ioctl to inspect how it writes. I found ...
1
vote
1answer
149 views

how to use ser2net control port

man ser2net says that by running ser2net with a -p flag I can execute a number of commands. If I run ser2net -p 12345 and, then, lsof -i :12345, I can see the service on that port. How would I, for ...
2
votes
1answer
49 views

How to get /dev/ttyUSB* to show up?

I've been using FTDI usb serial cables on OSX with really no thought for years. Now, I'm trying to get the same cables working on Linux (Linux Mint, Debian Edition 2). What I understand so far is... ...
0
votes
1answer
95 views

Using `minicom` not able to access the root file system

I am trying to use minicom for my serial cable communication to the target but I am not able to access the / of my remote device.I tried setting up ttyXX for minicom using sudo minicom -s but still I ...
8
votes
2answers
10k views

How to bind USB device under a static name?

I have an arduino which sometimes gets bound to /dev/ttyUSB0 and other times to /dev/ttyUSB1 making my script fail. I do not want to enumerate all the possibilities of where my device could be, but I ...
1
vote
1answer
141 views

setserial /dev/ttyS* UART is undefined

I'm working on the nvidia jetson tk1 board which has a rs232 serial port and I'm trying to do a loopback test by shorting the pin 2 and pin 3. I'm using the serial port communicator terminal gtkterm ...
1
vote
0answers
42 views

USB 56k modem not detected

I have this USB 56k modem which I'm using to write some home automation software that will let me know when my home phone is ringing. My software works on my Ubuntu 14.04 LTS laptop, with my modem ...
1
vote
0answers
226 views

Any good usb-serial (RS485) adapter to use with GNU/Linux?

I'm having problem with usb-serial (RS485) adapters. Firstly, I tried ch341 without success. The problem in this case is the linux driver, made by reverse engeneering (sadly without any help from the ...
1
vote
0answers
26 views

USB / RS485 converter static mapping to /dev/ttyUSB

I need to map one serial port converter to static usb port so after my raspberry gets restarted I still have the right mapping. I bought this USB-> serial port RS485 converter ...
1
vote
1answer
266 views

VT100 terminal emulation to use with a Java-based 8-bit computer emulator

I'm successfully using GNU Screen as serial terminal to "talk" to my Altair 8800 clone (http://altairclone.com/) using serial line. The command I use is: screen -istrip /dev/ttyUSB0 Screen does the ...
5
votes
1answer
953 views

Reading from serial port in the simplest way?

I have a TrueRNG USB-based hardware RNG, and I am trying to read its output on Mac OS X 10.9.2. I need just one-way communication. The device says that it appears as a "CDC Virtual Serial Port", and ...
3
votes
2answers
16k views

How to send data to a serial port and see any answer?

On Linux, I want to send a command string (i.e. some data) to a serial port (containing control characters), and listen to the response (which also usually might contain control characters). How can ...
0
votes
2answers
70 views

How do I directly talk through a serial port via the keyboard? [duplicate]

I have a hardware controller that I need to communicate to via serial port. How exactly can I communicate with that port using my keyboard as input. The serial runs on 19200 baudrate, 7 bytesize, and ...
2
votes
2answers
883 views

How to enable/disable a serial port?

I need to disable and then enable a serial port for testing purposes on a Java program. Since the man page of setserial is stating: "Using UART type none will disable the port.", I use sudo setserial ...
4
votes
2answers
9k views

Send file by xmodem or kermit protocol with GNU screen

I work with an RS-232 device via GNU screen. $ screen /dev/ttyUSB0 115200 At some point I need to send a local file to the device using either the xmodem or kermit protocol. On Windows I use ...
2
votes
1answer
34 views

Redirect or trigger on dev node input event

Is it possible to trigger an event when data is available at a dev node? Very simply, if some widget device sends information over usb to my linux box, would it be possible to trap into some event ...
0
votes
0answers
60 views

Transparently Relay TCP Socket to Serial Port (and vice versa)?

I would like to create a psuedo serial device (such as /dev/ttyXXX0) that I can use to make transparent serial connections to an arduino that's on my wifi (via an esp8266 serial bridge). I would like ...
1
vote
0answers
138 views

Send message to Android phone using bluetooth

I have a Raspberry Pi which you can assume to be just a Linux machine. It runs BlueZ and is successfully paired with my Android phone. What I want to do is, my Python program should be able to send a ...
1
vote
1answer
77 views

How to free a serial port owned by Getty

I have machines in pairs. They're connected to each other by a null modem serial cable. These machines sometimes go down, and the only way to diagnose them is through that cable, using the other node ...
0
votes
0answers
30 views

How to configure Ubuntu 12.04 VM to use physical serial port on host

I am trying to configure a Ubuntu 12.04 VM to use a physical serial port on the host. When configuring the serial port in vSphere, I am presented with two options – uart0 and uart1. From what I can ...
4
votes
2answers
2k views

How can I listen to communication between a process and a serial port?

On a Gentoo Linux machine, a process is communicating with another computer via serial port (/dev/ttyS1). I want to listen to this communication (i.e. what is being sent/received by the process) ...
0
votes
0answers
37 views

Console weather station WH1080 not reconized

I've attached my WH1080 console weather station to my OpenWRT linux but it doesn't show up. I was expecting this line on dmseg: Bus 001 Device 002: ID 1941:8021 Dream Link WH1080 Weather Station / ...
0
votes
0answers
18 views

Manually set USB data pin value?

I'm making a USB device that will only have an active/inactive state. Not having to interpret serial data will reduce the size/cost/complexity of the device significantly. Is there any reasonable way ...
0
votes
0answers
88 views

Open serial port multiple times?

TL;DR: Can one application programmatically monitor COM port status of an already opened COM port, and how? I have a data communication from host HOST via ttyS0 (COM1) to another device CLIENT, so ...
0
votes
0answers
132 views

One single /dev/ttyACM for multiple composite devices (USB-Serial) connected to a hub

When I connect multiple composite devices to a USB hub, and then connect the hub to my laptop(running Fedora 21), I can see only one /dev/ttyACM* file. When I connect these devices directly into ...
1
vote
1answer
122 views

How to send AT commands to modem once the connection is established?

I have a zte 3g modem. I use carrier provided dialer for connection establishment. Once the ppp connection is active, i would like to send some AT commands(for ex. Query signal strength, AT+CSQ). But ...
2
votes
0answers
130 views

USB to UART converter is lagging

I have a USB to UART converter with CH341A chip on it. This device can be used as a USB to UART converter, as a 24/25 chip programmer and as a USB to PARALLEL converter. The problem is with the UART ...
3
votes
3answers
19k views

How to send AT commands to a modem in Linux?

In Linux (Ubuntu) I am trying to send AT commands to a modem at /dev/ttyACM0. I tried to do it as: sudo socat - /dev/ttyACM0 but when typing anything I just get a line repeating this command (I ...
2
votes
4answers
18k views

PuTTY can access serial port as /dev/ttyUSB0, but not as named udev device

I have multiple USB-to-serial converters. I need to access one of them in particular. I'm using a udev rule to give it a special name. I have rebooted since I last modified it. SUBSYSTEM=="usb", ...
3
votes
2answers
21k views

command to determine ports of a device (like /dev/ttyUSB0)

I have a question regarding the ports in Linux. If I connect my device via USB and want to check its port I cant do it using the command lsusb, which only specifies bus number and device number on ...
0
votes
0answers
96 views

Troubleshooting kernel panic - serial port issues?

I am trying to install OpenWRT in VirtualBox on Linux Mint, however one of the pre-requisites for installation is that a serial port must be enabled. The kernel panic thrown has the error message: ...
2
votes
0answers
167 views

cat /dev/ttyS0 Input/output error

I created infrared receiver as in LIRC manual (http://www.lirc.org/receivers.html). And tested it on windows using program called Terminal. When I switched on RTS pin DCD pin was also switched on ...
0
votes
0answers
30 views

gpsd not sending data

I have a thinkpad E420s with Fedora 20 with Bus 002 Device 003: ID 0bdb:1911 Ericsson Business Mobile Networks BV which incorporate a gps module. I have plug a GSM sim and I am able to use the 3G ...
1
vote
0answers
125 views

Transfer file to pc from embedded linux device via serial communications

I'm working on an AT91SAM9G20. I'm connected to AT91SAM9G20 via the debug port using rs232 serial communications. It has Linux version 3.4.8 but does not appear to have any of the common file ...
2
votes
1answer
56 views

See a serial port as a MIDI IN device

I have connected a MIDI device to my UART RX / serial port /dev/ttyAMA0 using some electronics as described here. I have properly configured the right baud setting (31250 baud, etc.). It works: I can ...
6
votes
2answers
3k views

How do I know if a serial port is actually transmitting data, without opening the device?

I have a high-availability cluster (Heartbeat) connected via serial line and two ethernet NICs. I'd like to set up a monitoring script capable of recognizing disconnected serial line (basically the ...
0
votes
1answer
47 views

What is a UART port

I have a .fex file for Cubietruck. Supposedly, the bluetooth pins are defined in the uart_para2. With the current config, I have uart0 and uart2 enabled, and everything else is disabled. Bluetooth ...
0
votes
0answers
7 views

Changing portname mount

I'm using a custom Cubietruck board. Currently, a serial port and a bluetooth port both get mounted to /dev/ttyS1, so i cannot enable both of them. How can I change the mounting drive to one maps to ...