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
56 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 ...
2
votes
0answers
84 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] ...
1
vote
1answer
41 views

How to set no stop bits in minicom?

How to set no stop bits in minicom? Apparently, there is no such setting: Would it be senseless? I am trying to set this way since apparently (not sure) this is correct way to communicate via USB ...
1
vote
1answer
61 views

Opticon OPN-3002i no ttyUSB0

I have an Opticon OPN-3002i that I would like to have working on Linux, currently my computer runs Kali Linux. Unfortunately, the device doesn't show up as ttyUSB0, despite me setting it to USB-VCP ...
2
votes
1answer
256 views

udev rules driving me nuts

I have this usb-serial device: root@imx6_armboard:/etc/udev/rules.d# udevadm info -a -p $(udevadm info -q path -n /dev/ttyUSB0) Udevadm info starts with the device specified by the devpath and then ...
1
vote
1answer
56 views

How do I read from a Serial Port, without using up its resource?

My boss at work needs to be making a monitoring app for a program they are using. Because of their business needs, I can NOT use any sort of virtual serial port. The data goes in and out of ...
0
votes
0answers
39 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 ...
1
vote
1answer
109 views

Connect to serial, issue a command, read result, capture it and exit

I have some device, connected to serial port. Actually, it is Arduino based temperature sensor. I wish to write a script, which will connect to serial port, send a command to device, receive it's ...
1
vote
1answer
341 views

How can I know which serial port corresponds to a PCI card?

I have a vehicle computer with a internal 3G PCIe card for cellular communications, but I can't figure out which serial port I have to use in order to send AT commands. This computer also includes a ...
3
votes
1answer
145 views

Serial File Transfer without lrzsz

I have a device running Raspian, that does not have the lrzsz package installed on it. I only have a serial port to the device, and can connect to the device using screen or minicom, but unfortunately ...
1
vote
0answers
109 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
1answer
236 views

What is the proper way to listen on serial port using minicom?

I have found tutorials about using minicom to communicate with modems, but none about just listening what data arrives to the serial port of my desktop computer. I will ask for this case scenario: ...
2
votes
1answer
645 views

Tftp file transfer via serial port

First , please excuse me for my very thin knowledge with Linux, just getting to learn it in work. So my question is if I can transfer files from my Linux machine which runs busybox using tftp over ...
0
votes
0answers
161 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
1answer
119 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
69 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
474 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 ...
-2
votes
1answer
237 views

Virtualbox and telnet

With the latest VirtualBox it is possible to set a tcp serial. I have set port 2231 and with telnet localhost 2231, the login prompt appears on my old Unix system. The problems are: passwords are ...
2
votes
1answer
647 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
1k 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
93 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
97 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
159 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
130 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
327 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 ...
1
vote
0answers
399 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
229 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
82 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
143 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
33 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
259 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
275 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 ...
1
vote
1answer
547 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 ...
2
votes
0answers
427 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
1answer
341 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 ...
2
votes
0answers
249 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
82 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 ...
2
votes
2answers
447 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
629 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
572 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
309 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 ...
2
votes
1answer
1k 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
1k 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
509 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
105 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 ...
3
votes
1answer
101 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
558 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 ...
3
votes
2answers
1k 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
263 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 ...
1
vote
1answer
341 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 ...