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
1answer
15 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?
0
votes
1answer
23 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?
1
vote
1answer
38 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
21 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 ...
2
votes
1answer
38 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... ...
1
vote
1answer
126 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
25 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 ...
0
votes
2answers
69 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
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
59 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
130 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
72 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 ...
0
votes
0answers
36 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
82 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
1answer
94 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 ...
0
votes
0answers
122 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
119 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 ...
0
votes
0answers
94 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
124 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
29 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
53 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
123 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
46 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 ...
2
votes
2answers
132 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
165 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
291 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
116 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
344 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
333 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
239 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
53 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
34 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
48 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
1answer
146 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
134 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
28 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
126 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
109 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
170 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
88 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
155 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
125 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
42 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
112 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
205 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
745 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 ...