The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
19 views

All serial ports open with fd 0 [on hold]

We have a program that has been working perfectly from 7/25/2014 until 01/23/2015. When we tried to use it this morning (1/26/2015) it sends data for all four serial ports out through the first port ...
1
vote
0answers
4 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
10 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
10 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
15 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
13 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
25 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
0answers
29 views

FTDI USB Serial Driver Buffer Sizes for Optimizing XBee Radio Throughput

I am attempting to optimize Digi XBee Series 2 Radio throughput. I have 2 XBee radios connected to my Ubuntu machine through USB ports with 2 USB->Serial FTDI cables that show up as /dev/ttyUSB0 and ...
0
votes
2answers
19 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
47 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
38 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
24 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
34 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
68 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
155 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
74 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
80 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
32 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
40 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
201 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
54 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
229 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
59 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
300 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
23 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
79 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
108 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
5k 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
107 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
54 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
188 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
624 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
850 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
177 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 ...
2
votes
0answers
154 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 ...
4
votes
2answers
365 views

What is the TTY major number of your Unix?

I'm currently working on a serial port library which already uses special frameworks to get information about serial ports on the system. Though serial ports are a fundamental design in Unix—as ...
0
votes
0answers
71 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?
4
votes
1answer
375 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 ...
1
vote
0answers
69 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 ...
7
votes
1answer
139 views

How to find which serial port is in use?

The Question: I plugged in a device (i.e. GSM modem) through a serial port (a.k.a. RS-232), and I need to see with which file in /dev/ filesystem this device was tied up, to be able to communicate ...
0
votes
0answers
172 views

cat echoes to serial port

Connecting my Windows PC to a Linux system (Wheezy) via the serial port (RS232) basically works except one problem when sending a message from the the PC terminal the Linux system. The reception of ...
26
votes
2answers
3k views

Why do some Linux distributions still have /dev/ttyS0, ttyS1, etc., even though newer computers don't have such a serial port?

Many new laptop and desktop computers do not have 9-pin/25-pin serial ports. Why do many Linux distributions still contain /dev/ttyS0, dev/ttyS1 device files? Since udev can create the device files ...
1
vote
1answer
255 views

Why can't I connect to my Linux bluetooth serial port?

I have a USB bluetooth dongle on a Linux 3.12.5 ARM system. I've been attempting to make a bluetooth serial connection from my android phone to the USB dongle on Linux. I've referenced this question ...
0
votes
0answers
42 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 ...
0
votes
0answers
87 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, ...
1
vote
2answers
515 views

Printing on serial printer via cups

I'm trying to set up my serial printer with cups, but I can't see any serial port in cups config page nor via lpinfo -v. I have serial port at /dev/ttyAMA0. I was trying to set proper permissions for ...
0
votes
0answers
58 views

What's up with “Error in lockf()” just for one particular user?

We're running a Java manufacturing/equipment control application on Solaris. Equipment control is done via the serial port on the SunRay terminal at the user station. The interesting thing is that ...
0
votes
2answers
3k views

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

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
1answer
505 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, ...