The tag has no wiki summary.

learn more… | top users | synonyms

7
votes
1answer
31 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
28 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 ...
23
votes
2answers
2k 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 ...
0
votes
0answers
13 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
11 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
21 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, ...
0
votes
1answer
41 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
30 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
59 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
0answers
53 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, ...
3
votes
2answers
118 views

How can I listen to communication between a process and a serial port?

On a gentoo-Linux a process is communicating with another computer via serial port (/dev/ttyS1). I want to listen to this communication (i.e. what is being sent/received by the process) without ...
1
vote
1answer
90 views

Why root can't open pseudo terminal device? (permission denied)

Using a non-root user, I'm creating a pseudo terminal with socat like this: socat -d -d PTY,link=$HOME/.wine/dosdevices/com1,raw,echo=0 PTY,link=/tmp/com1-pty,raw,echo=0 and I need a root ...
0
votes
1answer
29 views

How to set an option for a serial device? [closed]

On a Linux console I want to set the onclr option for a serial device. According to the manpage the command is stty [-F DEVICE | --file=DEVICE] [SETTING]... but none of the following commands were ...
0
votes
1answer
43 views

Monitor com port with strace

I have done small application in Java that writes to com port two strings -'dddd' and 'ffff'. I decided to look how it writes with thelp of strace -s9999 -o serialtrace.log -eread,write,ioctl And I ...
1
vote
0answers
532 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 ...
4
votes
1answer
241 views

udev rule for assigning known symlinks for identical usb serial devices

I have two (and possibly in the future, more) USB serial devices which are identical (down to the serial number, unfortunately) - they're actually BTC miners. Currently they end up as ttyUSBX where X ...
1
vote
2answers
425 views

How to log Serial data with time stamp?

I have an Arduino sending serial data to the computer. I'm able to view the data using a Serial console. But, I want to be able to log it with time stamp. I want a ready made script or program that ...
6
votes
1answer
414 views

How do I know if a serial port is actually transmitting data, without opening the device?

I have a high-availability cluster (Heartbeat) connected via serial line and two ethernet NICs. I'd like to set up a monitoring script capable of recognizing disconnected serial line (basically the ...
1
vote
0answers
69 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
1answer
521 views

serial data over ethernet on a linux box

I'm trying to connect a widget (192.168.1.214:20108) through Ethernet (serial to Ethernet) to a Linux box. Under Windows using a virtual device driver mapping I can see the serial data, so I know ...
1
vote
1answer
2k views

How to send AT commands to a modem in Linux?

In Linux (Ubuntu) I am trying to send AT commands to a modem at /dev/ttyACM0. I tried to do it as: sudo socat - /dev/ttyACM0 but when typing anything I just get a line repeating this command (I ...
3
votes
1answer
576 views

How do I use a serial port on Linux like a pipe or netcat?

I have two computers with two serial ports: ttyS0 and ttyUSB0. (Actually they are on the same computer but that's just for testing). The ports are connected via null modem cable. I want to be able to ...
0
votes
0answers
81 views

Serial Over Lan redirection stops at OS boot

I'm trying to create a monitoring system for a remote machine using an IPMI Serial Over Lan (SOL) console. The remote OS is RHEL 6, the mobo manufacturer is Supermicro. I've successfully enabled SOL ...
1
vote
0answers
109 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
1answer
324 views

How do you use minicom with stdin and stdout?

I need to communicate with Python over a USB to RS-232 converter, to a device. The application minicom connects seamlessly, so if I could run that in non-interactive mode, everything would would be ...
0
votes
2answers
145 views

How do I send text to a USB device?

I'm trying to get the "Torobot" USB servo controller to work with Angstrom on a Beagle Board XM. The servo controller registers as a USB device. The device just takes simple text commands, but there ...
3
votes
1answer
114 views

Is it possible to have two seperate one way (simplex) serial ports to make single tty device?

I am building embeded device, which has IR comunication with PC and it will have two IR Led/detector pairs which are one-way and are setup like this: IR source input commands -> near embeded device ...
0
votes
0answers
153 views

lrzsz doesn't working in my Mac OS X

When I was used secureCRT in Windows, I often used sz and rz to transfer files between my linux server and client machine. But I can't use that way in iterm2 in MacOS X. lrzsz package has installed ...
2
votes
1answer
1k views

Unable to receive data from /dev/ttyACM0 device [SOLVED]

Description: Using USB based CAN device connected on AR9350 mips processor based Atheros reference board with linux kernel 2.6.32.61. Which is coming up as /dev/ttyACM0 device. In which Able to ...
5
votes
2answers
385 views

My process was killed but I cannot understand the kernel notice

I have a custom application running on an embedded x86 setup (built using buildroot and uClibc). The application has been running fine but this morning when I returned to work I discovered my process ...
2
votes
1answer
322 views

Re-ordering serial ports on a multiport card

I have a Red Hat Enterprise 6.2 machine with two on-board serial ports and a PCIe card with 8 additional serial ports (16C950 UARTs, 16C550 compliant). I've added the kernel option 8250.nr_uarts=10 so ...
3
votes
2answers
816 views

udev re-numbering when creating symlinks

I have USB cellular modem attached to an ALIX 3d2 board running voyage linux (which is based on Debian Squeeze). The modem registers itself as a TTY device, and so by default, udev will create TTY ...
2
votes
2answers
349 views

ttyO ports do not have the good port address on QEMU 1.4.0 running image for beagleboard-xm

I'm running an Linux Image (kernel 3.2.8) for beagleboard-xm on QEMU's 1.4.0 emulator Ubuntu distribution for 13.04. My image is created using Buildroot beagle_defconfig. I added some pkgs to be able ...
1
vote
0answers
350 views

Setting up tty ports on Beaglebone Black with Angstrom linux

I'm using a Beaglebone Black running the Angstrom v2012.12 build that came pre-loaded. I want to be able to connect another device to a serial port via the UART connections on the GPIO headers. The ...
3
votes
2answers
118 views

Reading from a serial interface

I have a serial device running which I need to read data from(I have absolutely no control over the device itself) except reading its output; using hyper terminal in Windows I am able to detect a ...
3
votes
4answers
252 views

How do I configure my tty session such that a form feed `\f` character will clear the terminal?

I'm connecting to a USB-serial connection on /dev/ttyACM0. The code on the sender side is sending a \f character at regular intervals. print("----------------------------\n\r"); print("-- LED ...
2
votes
0answers
103 views

Sun type 5 keyboard via serial port replicator

I'm running Ubuntu 12.04 on an HP G60 laptop with a Targus serial port replicator to USB and a custom cable between the keyboard and the replicator I ran modprobe sunkbd. Nothing works for the Type ...
6
votes
2answers
3k views

How does cat know the baud rate of the serial port?

I regularly use cat to view debugging information in the console from my FPGA development board over the serial connection, but I never have had to tell linux what the baud rate is. How does cat know ...
0
votes
0answers
271 views

Trouble communicating with FTDI FT245RL on ttyUSB0. works fine on Win7x64

I purchased a Sainsmart 4 channel USB relay board which seems to be based on a FTDI FT245RL chip. I should be easy enough to use. when you plug it in it appears as a serial port (VCP). You send it ...
1
vote
1answer
235 views

Linux not finding Serial Ports

I have debian6.0 installed on my machine. It has four comports of which 2 cannot be found. From looking that the systems bios I can see that the ports address are: PORT ADDRESS IRQ 1 ...
2
votes
1answer
166 views

Execute commands coming from a serial port

I have some hardware that is sending commands over /dev/ttyACM0 every once in a while and I'd like to execute them in a terminal. For example, if the ascii "ls" comes over /dev/ttyACM0, I'd like to ...
1
vote
1answer
1k views

Reading from USB serial port under Cygwin

I am actually using Cygwin, but it is my understanding that it responds to Unix commands so hopefully I am in the correct place. I have an Arduino hooked up via USB to my LapTop for data reading. I ...
6
votes
1answer
292 views

Attaching USB-Serial device with custom PID to ttyUSB0 on embedded

I'm attempting to get an FTDI USB-Serial device with a custom PID to automatically (or even manually) attach to ttyUSB%n, without much success. The device's normal VID/PID is 0403/6001. When ...
4
votes
1answer
2k views

How to bind USB device under a static name?

I have an arduino which sometimes gets bound to /dev/ttyUSB0 and other times to /dev/ttyUSB1 making my script fail. I do not want to enumerate all the possibilities of where my device could be, but I ...
3
votes
1answer
449 views

How do I test that two connected serial ports really transmit data?

I have a device with two serial ports which I connected together, and I SSH into it. I would like to send data via one of the serial ports and read it from the other, to see that they do ...
3
votes
2answers
178 views

How do I convert my old PC to a data logging and presentation terminal?

Take an old PC (e.g. 1.8GHz P4 with 256MB RAM), install e.g. Ubuntu 10.04 LTS on it. Now go to your PIC or AVR based home project and hook up the thing. With only three connections and the onboard ...
1
vote
1answer
5k views

PuTTY can access serial port as /dev/ttyUSB0, but not as named udev device

I have multiple USB-to-serial converters. I need to access one of them in particular. I'm using a udev rule to give it a special name. I have rebooted since I last modified it. SUBSYSTEM=="usb", ...
1
vote
2answers
3k views

How to install a printer that is connected via an USB-to-Parallel-Port adapter?

I'm running Sabayon Linux (x86_64). $ uname -a Linux qdoe 3.7.0-sabayon #1 SMP Thu Dec 20 07:12:55 UTC 2012 x86_64 Intel(R) Core(TM) i7-3930K CPU @ 3.20GHz GenuineIntel GNU/Linux I have a HP ...
4
votes
2answers
3k views

Cannot change baud rate on usb serial device

I recently upgraded to ubuntu 12.04 from 10.04. Under 10.04 I had no trouble using usbserial driver to connect to a device through the serial port. After the upgrade usually I cannot reset the baud ...
2
votes
2answers
3k views

Send file by xmodem or kermit protocol with GNU screen

I work with an RS-232 device via GNU screen. $ screen /dev/ttyUSB0 115200 At some point I need to send a local file to the device using either the xmodem or kermit protocol. On Windows I use ...