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
39 views

slow file transfer through serial port with cat

I'm transferring a binary file to an embedded device using a custom AT command set. I'm running Lubuntu Linux on a virtual machine (Windows 7 host) and the virtual linux guest controls the physical ...
3
votes
0answers
74 views

Difference in proper configuration for Windows UART VS Linux UART

Core question: How does UART connection on *nix differ from UART connection on Windows ? What settings need to be kept in consideration for proper data transmission and reception ? Context for asking ...
3
votes
0answers
44 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 "gpio.write(0,gpio.LOW)"...
2
votes
0answers
43 views

Polling for Serial Port Information

Firstly, let me preface by saying I feel silly for asking a question like this. The information should be online, but I can't seem to find it anywhere. I feel like I've looked pretty hard, but nothing ...
2
votes
0answers
107 views

How to send AT commands to serial interface in Yocto Linux?

I have a XBee device attached to the ttyMDF1 interface on an Intel Edison board running Yocto linux. I need to configure the XBee by sending AT commands to it. I have tried to open a getty /dev/...
2
votes
0answers
150 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
103 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 lshw,...
2
votes
0answers
97 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
476 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
276 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
0answers
764 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
96 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
286 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
489 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
23 views

Can skipping `fsck` on boot impact serial-port communication?

I have a bizarre serial-port (RS-232) communications issue (it appears that some data is being dropped, though I'm not sure if it's outgoing, incoming, or both) that I'm observing sporadically. I've ...
1
vote
0answers
43 views

Static CDC ACM device binding

I'm using a buildroot linux on IMX6 board. I have 2 CDC ACM device, a reader and a modem. My modem have always been on /dev/ttyACM0 and I want it to stay that way. The problem is that my reader is "...
1
vote
0answers
101 views

Can minicom translate incoming newline (\n) to CR+LF?

I have a micro-controller device that is sending newline-terminated strings through the USB-attached serial port and (so far) I'm using minicom version 2.6 to read from /dev/ttyACM0. I've setup the ...
1
vote
0answers
15 views

screen shell keeps getting interrupted with output messages

I connected to my tv box through a UART port on the chip and established a serial connection using screen like this: sudo screen /dev/ttyUSB0 115200 When I hit enter I get shell access and ability ...
1
vote
0answers
32 views

Sniffing usb serial connection

I'm trying to read the usb/serial connection under Ubuntu 15.04 without beeing a real 'member' of the connection. Since there can only be 2 instances reading/writing on the bus. I've used modprobe ...
1
vote
0answers
242 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
175 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
118 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
29 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
50 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
127 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
202 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 ...
1
vote
0answers
106 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
111 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 http://www.dx.com/p/usb-...
1
vote
0answers
432 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
54 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
407 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
675 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
205 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
217 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
81 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
350 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
462 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
236 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
9 views

Linux USART Serial Port

I'm trying to set up a USART serial port on a custom board with a SAMA5D36 processor, but I am unable to read in data from a connected device. When I run setserial -g /dev/ttyS1 I get the following ...
0
votes
0answers
36 views

How to send data to serial port POS printer?

Firstly, I would like to know how to tell on which port my serial POS printer is connected? When I do dmesg | grep tty I get: [ 0.000000] console [tty0] enabled [ 1.255791] 00:04: ttyS0 at I/O ...
0
votes
0answers
35 views

Problem monitoring serial output using ts

I have to continuously monitor serial output from an Arduino device. So far I have been using ts from moreutils with the following command: ts '%H %M %S' </dev/ttyACM0 >output.log Earlier it ...
0
votes
0answers
51 views

cat tty freezes the system while I can observe tty through screen

So I have been subject to this weird behaviour. A few days ago I could read my GPS data on Beaglebone Black (latest Debian) on ttyO4 using cat /dev/ttyO4 But since yesterday whenever I try this ...
0
votes
0answers
34 views

GSM modem and USB serial port issue with UDEV

I have 2 devices Dlink DWM-157 3g modem and Trendnet TU-S9 usb to serial. The Dlink modem came with a udev script which works fine when the usb-to-serial is not plugged in from boot. So if the ...
0
votes
0answers
37 views

How do i disable ascii codes while reading serial port binary data

I am trying to read binary data from a serial port using an FTDI TTL-232R-3V3 cable. It gets enumerated /dev/ttyUSB0. I have a small development board hooked up that will send the bytes: 00 01 02 ...
0
votes
0answers
50 views

Ubuntu 15.10: cannot send hex commands to ttyUSB0

I am trying to figure out why I cannot send hex commands to my serial device that has a serial to USB converter plugged in. I can see /dev/ttyUSB0. I have tried chmod 777 /dev/ttyUSB0 and set the ...
0
votes
0answers
262 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
17 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
54 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
41 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.