The tag has no wiki summary.

learn more… | top users | synonyms

3
votes
2answers
1k 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
512 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
1answer
454 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
133 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
298 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
1answer
148 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 ...
8
votes
2answers
5k 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
322 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
322 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
233 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
2k 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 ...
7
votes
1answer
655 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 ...
5
votes
1answer
3k 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
644 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
190 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
8k 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
4k 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
4k 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 ...
1
vote
1answer
210 views

Unable to connect to serial device; no /dev/ttySx

I wrote a Java application that connects to the serial port of the GSM modem. On Windows the serial ports have names like COM3, but in Linux Redhat 6.0 I had to switch to something like ttySx (X is ...
1
vote
0answers
200 views

Changing default line discipline at kernel level [closed]

How to assign line discipline to particular serial port at kernel level?
4
votes
3answers
3k views

cat corrupts serial port data

I have an application which writes some bytes to a serial port. When I do cat /dev/ttyS0 to see what is being transferred, I find that the data is corrupted by the cat command. Is there any other way ...
3
votes
1answer
2k views

Redirect linux serial console

I want to redirect my serial port while telnet session in linux. I have an embedded Linux box which is has a serial console. After I do a telnet to the box, I can type in both the serial console as ...
2
votes
2answers
1k views

New to using serial console and trying to log into embedded system

I have two PC Engines Alix 2d2 which I've been given and I'm trying to install an (BSD or Linux based) OS on. Currently one has a version of openWRT (the other had openWRT until I formatted the CF ...
2
votes
2answers
1k views

debian does not detect serial PCI card after reboot

I have installed a PCI card with two serial and one parallel port on it. the chipset is MCS9865. I downloaded the latest driver(V1.0.12) from here. I ran make and make install. now the two serial ...
1
vote
0answers
190 views

Where are the logs for the serial port (power save modes, specifically)

I'm running a system with Ubuntu 10.10 (pretty old, I know, but it has to be that one), with all its packages updated to the latest version supported (the distribution is not supported anymore so, to ...
3
votes
1answer
1k views

Write data to both a file and a serial port — can I use tee?

I am trying to take the input from a serial port and write it to a file and also then read the file and send it back out the serial port to the host computer. A coworker suggested using the "tee" ...
6
votes
2answers
4k views

Unexpected results testing serial loopback using echo and cat

So I have a standard RS232 serial port that is looped back to itself by simply running a wire from Tx to Rx. I'm testing loopback by running echo and cat in two separate terminals: cat /dev/ttyS1 ...
3
votes
1answer
12k views

How do I access a USB serial port without an entry in /dev?

I have a USB to serial adapter based on the SiLabs CP2101 chipset. I'm trying to use it with Debian 5.0 Lenny (armel architecture). I seem to be able to get the proper kernel module to recognize the ...
11
votes
3answers
5k views

Telnet send Ctrl-C

I use telnet to connect to a terminal server, which proxies the traffic to a RS-232 port. Unfortunately when using some of the devices it is not possible to send the CTRL+C character (0x03). Instead ...
6
votes
1answer
23k views

reading from serial from linux command line

I have a serial port device that I would like to test using linux command line. I am able to use stty and echo for sending commands to serial port, but when device responds I have no way of reading ...
10
votes
2answers
5k views

set baud speed for tty

How do I set the baud speed for a specific tty (in this case a serial port)? I tried using stty -F /dev/tty.iap ispeed 19200 But get the error Invalid argument for every speed I try (2400, 4800, ...
6
votes
3answers
3k views

Why does awk do full buffering when reading from a pipe

I'm reading from a serial port connected to a gps device sending nmea strings. A simplified invocation to illustrate my point: $ awk '{ print $0 }' /dev/ttyPSC9 ...
4
votes
2answers
1k views

Buffer overrun on Fedora 16 serial

I got a brain smashing problem with Fedora 16 and my serial port. I use the serial to monitor an STB on which I'm developping. The STB runs on Linux and when booted, I launch the program I'm working ...
2
votes
1answer
166 views

Make screenshots of Ti-calculator screen

I want to connect a TI-84 Plus Calculator to my PC and take screenshots of the calculator display. Under windows this is possible using the TI-connect software. However is there also a way to do this ...
2
votes
2answers
1k views

how to re-enable input on a serial console

I have an old router which runs Linux and I'd like to have a serial console on. This used to work fine, but after a firmware update, I can now only get output on the console and cannot give any input ...
16
votes
6answers
54k views

How to connect to a serial port as simple as using SSH?

Is there a way to connect to a serial terminal just as you would do with SSH? There must be a simpler way than tools such as Minicom, like this $ serial /dev/ttyS0 I know I can cat the output ...
3
votes
1answer
497 views

Low-level serial configuration?

I'm using embedded Linux platform, kernel is 2.6. I'm using stty command to configure ttyS* high level. The problem is that when I want to turn hardware flow control on: stty -F /dev/ttySA0 crtscts ...
5
votes
3answers
8k views

Read/Write to a Serial Port Without Root?

I'm writing an application to read/write to/from a serial port in Fedora14, and it works great when I run it as root. But when I run it as a normal user I'm unable to obtain the privileges required to ...
0
votes
1answer
1k views

Cloning/Splitting a serial port (COM) port in Ubuntu

Everything is working with my serial port. I have connected my FTDI converter into my computer, set my COM port... ln -s /dev/ttyUSB0 ~/wine/dosdevices/COM1 But now I would like to "clone" this port. ...
7
votes
5answers
21k views

How can I monitor serial port traffic?

Is there any port monitoring tool to watch the packets written on the port? I especially want to check if my program written in Java works so I need some kind of tool to see if my little application ...
3
votes
1answer
350 views

NetBSD Serial Port Gateway

I have an old Toshiba Satellite 4015CDT, with Pentium II MMX, 32MB RAM, 4GB HDD. It also has one USB 1.0 port, parallel and serial ports, a 3.5" floppy drive and a CD-ROM drive (almost dead). Also, ...
3
votes
3answers
7k views

setserial /dev/ttyS4: Cannot set serial info

So, I have a board with 6 hardware serial ports: the first 2 on the ETX bus and the last 4 on the ISA bus. The following configuration is how it is supposed to be: /dev/ttyS0 port 0x03F8 irq 4 ...
2
votes
2answers
719 views

RJ-45 <-> RS-232, can I substitute the RS-232 side and abuse my Ethernet port as COM port?

We have a PCIX board (with MIPS CPU) from some vendor and it has an RJ-45 jack on the "board-side", where the cable has an RS-232 plug on the other side. The expected protocol is clearly the same as ...
4
votes
2answers
669 views

RS232 chat. Simplest way?

I'm working in a project in which I will have to deal with serial communications. For testing, I want make to 2 computers speak to each other (with my interaction) via RS232. Will the next thing ...