A representation of a device that asynchronously transmits and receives serial data.

learn more… | top users | synonyms

6
votes
6answers
2k views

Enabling Numeric Keypad

I have trouble with the numeric keypad (NumLock keys) being unusable while typing. While I don't think it's GUI specific, this happens both in Gnome and KDE. Sometimes it works in TTY, other times it ...
3
votes
1answer
631 views

How can I make the TTY use the appropriate charset?

Note: forked of this per recommendation here. While I got the X keyboard layout right on my own after I fixed that stupid typo, I still can't set the console charset, key map, font map, or whatever ...
3
votes
3answers
237 views

USB device to be detected at the “same” /dev point always?

In Linux (actually I'm with CentOS v6.5), whenever I plug in my USB Terminal/Character Device (some kind of USB Adapter) for the first time (after booted), it is detected at: /dev/ttyUSB0 But ...
0
votes
1answer
712 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, ...
0
votes
0answers
23 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 ...
0
votes
1answer
89 views

systemd with 10 ttys and Desktop on Ctrl+Alt+F5

I am running systemd on ArchLinux. I have read various posts of doing this but it seems impossible (i.e. I am incompetent in implementing this:)) ). I want to disable the on-demand tty spawning of ...
2
votes
3answers
4k views

Endless data loop from dev/ttyUSB while sending AT commands

I have problem sending AT commands to my USB modem. At first I tried php-serial class, but when i was reading data, I got endless loop with strange data. Then I tried to debug problem and opened putty ...
1
vote
1answer
24 views

setpgrp causes tty gone

When using setpgrp vi (and other tty programs) work completely different than if setpgrp is not used. Example: perl -MIPC::Open3 -e '$pid= open3("<&STDIN", ">&STDOUT", ...
1
vote
1answer
1k 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
0answers
28 views

Name of the font used in Linux Console (TTY)

What is the name of the font that is used in Linux Console TTY 1-6?
0
votes
0answers
16 views

interceptty error message

I want to listen to a certain device on my linux system. therefore I am using interceptty. When I call: mv ttyO0 ttyO0-orig and then ./interceptty -o ttyO0.out /dev/ttyO0-orig /dev/ttyO0 & I ...
0
votes
0answers
10 views

How do I write commands to a ttyACM0 device and obtain the resultant information data using C/C++ [migrated]

I am currently stuck with a task of retrieving data from a decoder that monitors 6 joint positions of a robot arm. This device has a USB interface that runs as a serial CDC device. An ASCII command ...
1
vote
1answer
57 views

reading /dev/ttyUSB0

I'm trying to see the output of an accelerometer with Ubuntu (15.04), kernel 3.19. The UART driver is cp210x.ko, and the chip of the accelerometer is MPU6050w. So, when I plug the device, I have this: ...
4
votes
1answer
765 views

How to open tty or execute some script when the shortcut Ctrl+Alt+F[1-6] doesn't work and X11 is partially frozen but system is still working?

I'm using Ubuntu 10.10 with Gnome on Acer Aspire One netbook. The X11 or just some parts of Gnome like panels and partially windows (details described below) are frozen which doesn't allow to do ...
1
vote
1answer
86 views

What decides where TTY and boot messages are displayed?

I recently switched from Fedora 21 to Arch Linux, and one thing that bothers me is that Arch does not put boot messages and TTYs' on all available outputs like Fedora does, but only on the primary ...
3
votes
0answers
41 views

Start application using xinit on different tty

I'm using Fedora 21, trying the following: On tty1 is running KDE, just as normal. But to speed up my games/avoid them changing something like gamma, I want to run them on a differnt tty, starting a ...
3
votes
1answer
42 views

Using named pipes to send keypresses to an interactive program

I have a program, mpg123, which has an interactive mode that allows keyboard commands from stdin to do useful things such as control volume. I am trying to start up mpg123 so that it reads commands ...
2
votes
0answers
94 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 ...
3
votes
0answers
100 views

How do I permanently change the console TTY font type so it holds after reboot?

I'm running Ubuntu 15.04 64-bit Desktop Edition (A Debian based Linux). I used sudo dpkg-reconfigure console-setup from the command line to change the default console font type to Terminus. ...
3
votes
2answers
43 views

Remove data from the STDIN stream buffer of another TTY session

I encountered a problem the other day while running multiple tty sessions in separate terminal windows. I was running a expensive disk access command and was waiting for it to return. Meanwhile I was ...
1
vote
1answer
109 views

Why does GDM start in TTY2 and TTY7

I have Ubuntu 15.04 and GNOME 3.16 installed. This PPAs are enabled: deb http://ppa.launchpad.net/gnome3-team/gnome3-staging/ubuntu vivid main deb http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu ...
0
votes
1answer
35 views

Linking two hardware serial ports

I have two micro-controllers which are connected to my computer(ubuntu 12.04) through serial-USB cables. One of the controllers (ttyUSB0) is programmed such that it sends data serially and another ...
1
vote
1answer
72 views

Echoing Backspace Characters in the Terminal

I'm working with picocom running inside gnome-terminal. I have local echo switched on inside picocom using the -e option, and when I backspace I can see that caret moves backwards, however the ...
7
votes
2answers
4k views

How to close a tty

I've opened several ttys and I don't know the key combination to use to close a tty. I'm using Arch Linux.
1
vote
0answers
18 views

Setting custom baud rate on console

Just for aesthetics I would like to have my text on my console be displayed at a lower speed. I've tried using things like screen with custom baud rates of /dev/tty1 but it wouldn't work, input from ...
1
vote
1answer
30 views

tty problem: binary mess instead of “text good data”

I am trying to use a GPS over moxa Uport 1110 usb-to-serial device. The driver of UPort was installed OK, and GPS sends NMEA (text) data. However, when I issue command cat /dev/ttyUSB0 my terminal ...
2
votes
0answers
244 views

tty blinking cursor not at insertion point

I have an Ubuntu 12.04 system where I, at reboot, login a root. This morning I did the things I had to and thought about running apt-get -y upgrade I started typing this but before pressing Enter I ...
2
votes
1answer
580 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
1answer
101 views

Determine the owner of the session of a process

I am trying to implement a way to determine which user is owner of some process's session, in a way that's as cross-platform as possible. In Linux I can trace the process's pty by following the link ...
11
votes
4answers
3k views

Get ssh to forward signals

I want to be able to send signals (SIGINT is the most important) through ssh. This command: ssh server "sleep 1000;echo f" > foo will start sleep on server and after 1000 seconds it will put ...
0
votes
1answer
28 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 ...
1
vote
1answer
39 views

_Robust_ bluetooth serial port console/tty

I've managed to create and connect to a console via bluetooth, as is described in many Q&A's FAQs Guides etc found via a google search. Briefly, in sudo mode, /usr/sbin/hciconfig hci0 piscan ...
8
votes
4answers
7k views

Poor TTY resolution with nVidia driver

The resolution of the TTY1-6 is poor ~ 640×480 Ubuntu 11.10 | Grub2 | nVidia | NVIDIA GT215 Board I went through the process on this site and after the edit the GRUB menu appears in the correct ...
1
vote
2answers
89 views

How are long command lines ( > $COLUMNS ) automatically wrapped to a new line?

There are several points where I/O is passed through, some of which (to my knowledge) are the shell, pty, tty, termios, terminal emulator application. In most terminal emulators, long command lines ...
3
votes
3answers
2k 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 ...
1
vote
1answer
57 views

How do I change which monitor the TTY shows up on?

When I boot, or when I press CtrlAltF*, I am taken to a physical terminal/TTY. The problem is that the TTY shows up on my HDMI monitor, which is actually not even in the same room as me. Is it ...
3
votes
2answers
3k views

Call sudo from Jenkins

I have one build machine which has a user abc which is has limited sudo access. When I check out the source code and run my build script, it works fine. The build script contains sudo calls for which ...
0
votes
0answers
62 views

echo `“hello terminal” > /dev/terminal` - works for /dev/tty[2-5] but not for /dev/pts/n

I'm trying to get to know the input output systems of unix/linux systems better. Since terminals and devices are implemented to interface as ordinary files, I assumed I could on any desired terminal ...
1
vote
0answers
91 views

Fedora 21 VT Change Hangs

On Fedora 21, I have LightDM and i3 installed. When I switch to tty2 and do a bit of work then switch back, my laptop hangs. I am using Intel HD Graphics 4600. Thanks UPDATE now it sometimes ...
9
votes
1answer
801 views

What exactly is scrollback and scrollback buffer?

What are "scrollback" and "scrollback buffer" in programs like bash and screen, and how do they relate to the tty, the programs being run, and stdin/ stdout/ stderr? Here is the only definition of ...
0
votes
1answer
44 views

Is the PTTY inside the Kernel or Userspace?

I read, that drivers are a way to expand the Kernels abilities to communicate with hardware devices, since there are so many and will be even more the Kernel has to be expandable. In order to ...
0
votes
0answers
31 views

Does udev only check for matches on the first remove event?

ACTION=="add|remove",SUBSYSTEM=="tty", ATTRS{idVendor}=="XXXX", ATTRS{idProduct}=="XXXX",SYMLINK+="device", RUN+="/home/alvin/udev/test.sh" This is the command that works on add ...
22
votes
8answers
87k 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 ...
1
vote
2answers
86 views

Redirect script output to /dev/tty1 and also capture output to file

I want to display text output on the console that is always displayed on a small screen on my Raspberry Pi. The following code works for showing that text output: cd ...
1
vote
1answer
40 views

Saving colored output regardless of the source

How can I save colored output to a file regardless of the source when the sources turn coloring off if they detect their stdout isn't a terminal?
0
votes
0answers
37 views

how to copy files using TTY teminal from one pc to another connected through same home network

In my academic lab my friend copied files from one computer to another that were serially connected using the tty4. How could he have done this if there was no internet and he didn't install any new ...
2
votes
2answers
153 views

Buffer each line locally on a serial terminal

I use kermit to connect to a device over serial. The device is quite "dumb" and doesn't have any fancy shell. It is really just receiving commands over serial and sending outputs back over serial. ...
4
votes
2answers
100 views

How to get the real name of the controlling terminal?

How can one get the real name of the controlling terminal (if there is one, else an error) as a pathname? By "real name", I mean not /dev/tty, which cannot be used by other arbitrary processes to ...
7
votes
3answers
1k views

Construct a command by putting a string into a tty

I managed to do this echo -n "command" > /dev/tty1 The letters appear, and the cursor moves, but they are "ghosts" - if you hit enter, nothing happens (they are not in stdin). Edit: In the ...
0
votes
0answers
43 views

Kernel loglevel and console manipulation

I want to have two console kernel arguments, one /dev/tty2 for screen and one /dev/ttyAM0 for serial debugging. I can achieve that simply with: console=ttyAM0,115200 console=tty2 I want /dev/ttyAM0 ...