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
0answers
23 views

Why only 4 chars get sent to serial port via command-line

I'm trying to communicate with NodeMCU (CP210x USB/UART) from command-line. However it does not respond to my commands. I have set the correct baudrate via stty 9600 raw. echo ...
2
votes
0answers
51 views

Working /dev/ttyS0 but can't transfer binary (one serial but two drivers Com1/Com4)

I think it's a driver config issue, it works in winXP(dual boot) with intel drivers. I'm debugging via serial port from another machine, which works fine. The PC is a i5 dell Optiplex 790 running ...
2
votes
0answers
41 views

Find a IR transmitter device

I would like to use the IR transmitter included in a cubox. I did not found any documentation to use it, so I would want to learn how to communicate with periphericals on linux. Commands like ...
2
votes
0answers
56 views

How to enable fifth serial port on Debian 7

I have put a fresh install of Debian 7.9.0 on an ASRock IMB-150 mainboard and only 4 of the 5 on-board serial ports seem to be enabled. root@myhost:~# dmesg | grep tty [ 0.000000] console [tty0] ...
2
votes
0answers
322 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 ...
2
votes
0answers
423 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 ...
2
votes
0answers
74 views

Possibile sources of 5us-20us latency gap when sending long block of of serial data to tty device?

I have a trivial C program that just sends a large block of data out the serial port at a fast baud rate. When looking at the bits actually coming out of the port, I see that there is a almost always ...
2
votes
0answers
255 views

Strange behaviour using serial port and bluetooth

I'm trying to connect via serial port, a wearable device to a processing IDE using a Bluetooth connection on Linux Mint. I've got the connection part working, but the problem is that the connection is ...
2
votes
0answers
398 views

Kicking a process from a USB-Serial port

I have a application which is using the USB-serial port. Occasionally on shutdown the port cannot be opened by another instance of the program, and up until now the only way I know of the program ...
1
vote
0answers
28 views

pppd “Couldn't get channel number: Input/output error”

I have two USB-serial adapters with a null-modem serial cable between them, similar to this user. I can setup an IP connection easily between two linux (ubuntu) boxes running this pppd command on one ...
1
vote
0answers
77 views

Linux Mint FTDI Usb to Serial Input/output error

I am really frustrated here... My problem is that after some point (at first it worked correctly), a Digi Board I am using (with FTDI chipset) cannot be accessed through the serial (usb to serial) ...
1
vote
0answers
62 views

How to change 'Input Buffer Size' setting in Minicom

I'm using minicom to interface with a bluetooth device. I have been able to successfully do this in matlab, however I have to first change the 'InputBufferSize' parameter in matlab from 512 to 24 ...
1
vote
0answers
15 views

my gsm modem echo my command on mini2440

I have mini2440 and GSM modem that they connected to each other with USB serial port (ttyUSB0). this is my code in c++ to send AT: #include <QCoreApplication> #include <stdio.h> /* ...
1
vote
0answers
28 views

Disable and enable reading from touch-screen's serial port

I have X server configured to work with a touch screen through the egalax driver and a serial port. [xorg.conf] Section "InputDevice" Identifier "EETI" Driver "egalax" Option "Device" ...
1
vote
0answers
74 views

socat for sharing serial port from linux to solaris

I'm trying to share serial port from linux box to solaris 10 box (solaris machine don't have serial port). While doing the same commands from linux box (modem-server) to other linux box - everything ...
1
vote
0answers
77 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
73 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
0answers
297 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
0answers
206 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 ...
1
vote
0answers
293 views

How to bind arduino as a fix block-device — /dev/ttyACM0?

I want to bind my Arduino Mega as /dev/ttyACM0. Sometimes, it turns out to be /dev/ttyACM0 and sometimes as /dev/ttyACM1. I have taken help from this question and this tutorial Someone please help ...
1
vote
0answers
49 views

basic serial communication

I've inserted a serial USB to TTL device to serially talk to my microcontroller when I inserted the device I got a file in dev directory named /dev/ttyUSB0. So now I want to communicate through it by ...
1
vote
0answers
300 views

SOCAT / MINICOM “No such device or address”

I'm no Linux guru, however I've done quite a lot of research on Socat and I simply cannot create a device that Minicom can see. In this case, port 10001 is the port that a Black Box Ethernet to ...
1
vote
0answers
554 views

How to setup ssh over USB on an embedded linux device?

I have an embedded linux device with an ARM processor. I am connecting to it over a USB port using minicom. What should I do to "ssh" into the device through the USB connection? I want to setup ...
1
vote
0answers
158 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 ...
1
vote
0answers
190 views

Cygwin serial tty device for high-numbered COM ports

My hardware enumerates as COM125 on the device manager (CDC-ACM class). But, I can't find it under /dev/tty* listing. Does cygwin have a limitation on CDC-ACM class of com ports or numbers greater ...
1
vote
0answers
76 views

Can slattach control a serial WiFi device?

I have a Wi-Fi device which is driven by AT commands over a USB-Serial connection. I am able to successfully make a serial connection to the device and set the SSID, PSK, obtain an IP address, and do ...
1
vote
0answers
4k views

Connecting to a serial port with VMWare ESXi and Ubuntu

Using VMWare ESXi 5.0.0, having a guest OS Ubuntu 12.04.3, upgraded to the date 05 january 2014. I've added "Serial port 1" to the Ubuntu 12.04 guest OS (let's call it "MyUbuntuPC"). Serial port 1 is ...
1
vote
0answers
312 views

Serial Communication on DD-WRT stty config not sticking

I am attempting to control a serial device (in this case a projector) using a Fonera router with DD-WRT on it. I've got the serial port on the fonera wired through a level shifter and then into my ...
1
vote
0answers
320 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
230 views

Where are the logs for the serial port (power save modes, specifically)

I'm running a system with Ubuntu 10.10 (pretty old, I know, but it has to be that one), with all its packages updated to the latest version supported (the distribution is not supported anymore so, to ...
0
votes
0answers
15 views

openpty returning zero as master file descriptor

I am opening a pseudoterminal with openpty function. This will be used to redirect some data coming from a serial port into an external application (in this case, a GPS receiver). The fact is that ...
0
votes
0answers
47 views

Changing the UART send FIFO buffer size

I have a system where the Serial Ports (6 in total) are controlled by a Fintek SuperIO chip. They are detected in Linux as 16550As and work fine as if they were. On receive it's possible to set the ...
0
votes
0answers
10 views

stty: /dev/dtyU0: Invalid argument (NetBSD USB to serial interface)

I'm trying to interface a USB oscilloscope (Syscomp CGR101) to NetBSD. The 'scope has an FTDI USB-to-RS232 interface inside it. When I try stty -f /dev/dtyU0 I get back "Invalid argument" whether ...
0
votes
0answers
37 views

Reading Serial Data with Python

I am trying to read a line of serial data from a MaxBotix sonar sensor with Python. The sensor spits out R0300 The integers after the "R" are the distance read in millimeters. I am trying to write a ...
0
votes
0answers
13 views

How to read data from multiple USB devices using serial forwarder?

I have two embedded devices connected to two USB ports. Both will be sending data via a serial forwarder. How do I read data from the individual devices? I need to "MAKE LOGIN" to start the process.
0
votes
0answers
33 views

serial touchscreen for android: How to configure?

I've written a driver for a uart touchscreen to be used in an Android OS, but I don't know how to get the driver to load while using a device tree, then for Android to recognize it. What are some ...
0
votes
0answers
26 views

How do I program a serial sniff that does not redirect data to a different serial port

I need to make a monitoring application for a friend of mine. The thing I need to monitor is a hardware device's program on a Raspberry Pi. However, the program I need to monitor is hardwired to only ...
0
votes
0answers
99 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 ...
0
votes
0answers
248 views

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

I would like to create a pseudo 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 ...
0
votes
0answers
66 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 ...
0
votes
0answers
118 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
29 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
182 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
213 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 ...
0
votes
0answers
192 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: ...
0
votes
0answers
72 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 ...
0
votes
0answers
9 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 ...
0
votes
0answers
212 views

Serial port locked by random process

I have an issue with trying to open a USB device's serial port with pyserial. It seems that as fast as I connect the device, /dev/ttyACM0 is used by some random process. ModemMana 851 root 8u ...
0
votes
0answers
130 views

How to install and configure USB to serial hub (8 serial ports)?

I have bought a USB to serial hub (8 serial ports) but I don't know how I can install it on my Debian server. On the box, they wrote 'Linux compatible'. What do I need to do to can use it?
0
votes
0answers
214 views

HP-UX itanium cannot log in or connect

I just had this problem where suddenly I cannot ssh into my HP-UX itanium, but still can ping. Few hours before that, I was still able to so. I tried to force reboot (Pressing the power button). Then, ...