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

0
votes
0answers
16 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
36 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 ...
0
votes
0answers
6 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 ...
2
votes
1answer
16 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 ...
1
vote
0answers
29 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 ...
0
votes
1answer
27 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
6 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 ...
2
votes
2answers
60 views

cat command in shell does not terminate on receving EOT through serial port

I have shell/perl script which kicks off cat commands to receive incoming serial data from n external device. The external device is designed to send to send a EOT character when it's done ...
2
votes
0answers
67 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 ...
1
vote
1answer
130 views

Serial Port I/O Error on Intel NUC with Debian Wheezy

I have a problem getting Serial Port working on INTEL NUC DE3815TYBE. I have Debian Wheezy installed with kernel 3.16.0-0.bpo.4-amd64. When I do: setserial -g /dev/ttyS* I get: /dev/ttyS0, UART: ...
0
votes
1answer
37 views

xbee serial module and minicom

When we connect a serial xbee module board to a Linux PC serially using RS232 9 pin cable, the data received on minicom screen is unreadable or sometimes no data is received at all. The setting is as ...
0
votes
0answers
158 views

Testing if HL-340 works

I have Kubuntu 14.10 development workstation and recently I have bought a pair of QinHeng Electronics HL-340 USB-Serial adapter via eBay. HL-340 is USB<---->Serial adapter and it is recognized by ...
3
votes
1answer
104 views

What is the complementary command to 'rx' for xmodem transfer?

I have an installation of busybox on an embedded linux system that comes with a great little utility called rx: rx FILE Receive a file using the xmodem protocol This is perfect for transferring ...
1
vote
1answer
87 views

CP2102 usb to serial error

I'm trying to flash the nodemcu fw for the esp8266 using a usb to serial adapter, it come mounted on /dev/ttyUSB0 but it can't communicate with the module. All the connection are ok, and I've also ...
1
vote
1answer
23 views

Mount.nfs is using a serial port

I export a folder to remote hosts by configuring the /etc/export file this way in the NFS server: /remoteFolder 172.22.0.0/255.255.0.0(ro,no_root_squash,sync,insecure) and start the NFS daemon with ...
0
votes
0answers
18 views

Unable to set node name using udev rules

I have a udev rule that has been working for years in Ubuntu versions up until now. I installed Kubuntu 14.04 and my rule no longer works. Actually, just the name assignment part no longer works. The ...
3
votes
1answer
26 views

termios settings after closing file

Are the settings altered by functions from termios.h kept after file is closed and open again? I want to use serial communication in a higher level language (Racket) which exposes only reading and ...
1
vote
0answers
91 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 ...
1
vote
1answer
43 views

terminate screen monitoring serial port

I'm using screen /dev/tty-MyDevice to look at traffic on my serial port. Pressing Ctrl+D doesn't cause the screen to terminate. How do I terminate it? Thanks
0
votes
0answers
17 views

BIOS and CentOS sending serial messages on bootup

I have a piece of hardware connected to my CentOS workstation via serial. The hardware has to be always on and responding. Recently I realised that on rebooting, my BIOS sends out a serial message. ...
0
votes
0answers
50 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
50 views

Read from serial port with multiple terminals at the same time?

I am creating a Python script that will monitor a USB device for output. This script currently runs indefinitely so when I am running it I am not able to access the device from.. say a terminal. Is ...
1
vote
0answers
129 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 ...
0
votes
2answers
47 views

How do I find out if something is using the serial port?

I want to program a microcontroller under Debian Wheezy, but can't get it to work so far. I asked on Electrical Engineering and got the advice to check if something is already occupying the serial ...
3
votes
1answer
102 views

Viewing (monitoring) line status of a serial port

Is there a utility software (or an easy method to do it from shell script) to display a serial port's status — i. e. blinking “RXD”, “TXD”, “DCD”, “DTR”, “DSR”, “RTS”, “CTS”? Particularly, I need to ...
0
votes
0answers
75 views

Serial Terminal (Minicom) session does not start

The serial port ttyS0 is enabled. # setserial -a /dev/ttyS0 /dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4 Baud_base: 115200, close_delay: 50, divisor: 0 closing_wait: 3000 Flags: ...
1
vote
0answers
35 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
1answer
86 views

problem with U-boot while flashing Linux in sd-card

Please help as it is immense necessary for a project which is to be evaluated coming week. Also, I am very new to this and unable to find help from existing contents available on the Internet. While ...
1
vote
0answers
144 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
1answer
393 views

Why `minicom` append the `0xOD` character to serial text message?

I have a serial device attached to my PC's usb port, and get /dev/ttyUSB0. Then I run minicom on it, and run strace -p <minicom pid> to monitor minicom's activity. I found that, when I send ...
0
votes
1answer
139 views

Starting Arduino IDE as root fails on Archlinux with KDE

I need to run the IDE as root to get access to the serial port. The command is ./arduino from inside the package folder. On Fedora this works fine, but on Archlinux the pocess chrashes with the ...
1
vote
0answers
184 views

How to suppress input overrun messages

I have a Raspberry Pi running Raspbian (a Debian flavor: Linux version 3.12-1-rpi (debian-kernel@lists.debian.org) (gcc version 4.7.2 (Debian 4.7.2-5+rpi1) ) #1 Debian 3.12.9-1+rpi1 (2014-05-19) ). ...
1
vote
1answer
63 views

talk to modbus device

I currently have a minimal install of Red Hat 6.5 running, on the machine I need to talk to a modbus device. I am wondering what tools and drivers are needed on a linux machine to talk to a modbus ...
4
votes
1answer
58 views

UUCP on old Xenix with serial line no modem

A little question about UUCP on Xenix or other old Unix. I have set up UUCP as follow: Devices Direct tty2a - 9600 direct Systems xenix2 Any Direct tty2a 9600 12345 in:--in: user word: password ...
2
votes
2answers
301 views

Fetching individual bytes from a binary file into a variable with bash

I need to make a fairly simple bash script to pull bytes one at a time from a binary file, send it out a serial port, and then wait for a byte to come back before I send the next one. This is ...
1
vote
1answer
57 views

Create a file that's really a network port

I have a program running on a cluster, and the output of the program is written to a log file which I specify. However, instead of writing it to a file, I want to write it to a network port, so that ...
1
vote
1answer
82 views

Serial port's modem lights up, but can't communicate

My MB has builtin UARTs (Supermicro X10SAE). I've got an external modem hooked up to /dev/ttyS0. I'm running CentOS7. Without minicom running on /dev/ttyS0: The modem has CTS on. With minicom ...
1
vote
0answers
287 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
2answers
103 views

Connect two ttySx devices on the same machine

I'm just wondering, whether it is possible to connect /dev/ttyS0 with a virtual device node (e.g. a created with mknod /dev/ttyTest) so that the output from ttyS0 is sent to ttyTest. I would like to ...
2
votes
1answer
531 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 ...
2
votes
0answers
38 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 ...
1
vote
0answers
96 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
0answers
155 views

How to create virtual serial port?

Is there a common way (tool?) to create two serial ports through physical /dev/ttyS0? I have to simultaneously use both to communicate. I've seen 'Socat' but I can't understand how can I use it just ...
1
vote
1answer
11k 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 ...
1
vote
1answer
135 views

Serial communication not working in both directions

I am working with a SOM mounted on a carrier board running Ubuntu 14.04 with the generic 3.13 kernel. While testing out the peripherals, I hit a problem with serial communication. Basically, I can ...
0
votes
0answers
69 views

Virtual serial port problem

Background: I've to test external GSM module, connected to PC with serial port. Since I'll have to either send messages both to do more, I need to create two virtual serial port (script provided by ...
0
votes
0answers
208 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 ...
2
votes
1answer
744 views

linux command to list details (like PID, VID) of connected devices to the serial port(s) (like RS232) of a computer

with USB port we can search Product ID (PID) and Vender ID (VID) of connected devices by using lsusb command. Is there a similar way to get PID and VID if the same device is connected to RS232 serial ...
3
votes
1answer
1k 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 ...
4
votes
1answer
365 views

Comunicate with remote Serial over TCP/IP as /dev/ttyX device

I've one serial device on 192.168.x.x:yyyy (where "x" and "y" are real number) and it works correctly. But I want to communicate with this as /dev/ttyX device. I've tested socat command but not ...