TTYS(4) Linux Programmer's Manual TTYS(4)NAME
ttyS - serial terminal lines
ttyS[0-3] are character devices for the serial terminal lines.
They are typically created by:
mknod -m 660 /dev/ttyS0 c 4 64 # base address 0x3f8
mknod -m 660 /dev/ttyS1 c 4 65 # base address 0x2f8
mknod -m 660 /dev/ttyS2 c 4 66 # base address 0x3e8
mknod -m 660 /dev/ttyS3 c 4 67 # base address 0x2e8
chown root:tty /dev/ttyS[0-3]
SEE ALSO mknod(1), chown(1), getty(1), tty(4), setserial(8)Linux 1992-12-19 TTYS(4)
Check Out this Related Man Page
HD(4) Linux Programmer's Manual HD(4)NAME
hd - MFM/IDE hard disk devices
The hd* devices are block devices to access MFM/IDE hard disk drives in raw mode. The master drive on the primary IDE controller (major
device number 3) is hda; the slave drive is hdb. The master drive of the second controller (major device number 22) is hdc and the slave
General IDE block device names have the form hdX, or hdXP, where X is a letter denoting the physical drive, and P is a number denoting the
partition on that physical drive. The first form, hdX, is used to address the whole drive. Partition numbers are assigned in the order
the partitions are discovered, and only non-empty, non-extended partitions get a number. However, partition numbers 1-4 are given to the
four partitions described in the MBR (the `primary' partitions), regardless of whether they are unused or extended. Thus, the first logi-
cal partition will be hdX5. Both DOS-type partitioning and BSD-disklabel partitioning are supported. You can have at most 63 partitions
on an IDE disk.
For example, /dev/hda refers to all of the first IDE drive in the system; and /dev/hdb3 refers to the third DOS `primary' partition on the
They are typically created by:
mknod -m 660 /dev/hda b 3 0
mknod -m 660 /dev/hda1 b 3 1
mknod -m 660 /dev/hda2 b 3 2
mknod -m 660 /dev/hda8 b 3 8
mknod -m 660 /dev/hdb b 3 64
mknod -m 660 /dev/hdb1 b 3 65
mknod -m 660 /dev/hdb2 b 3 66
mknod -m 660 /dev/hdb8 b 3 72
chown root:disk /dev/hd*
SEE ALSO mknod(1), chown(1), mount(8), sd(4)Linux 1992-12-17 HD(4)
I need to delete a TTY in my AIX 4.3 system. I have tried using the smit but everytime I try it, there is a message telling me that the device is in use and cannot be changed. How do I take the device "offline", so to speak, so that I can edit the settings and/or delete it.
Djassi (3 Replies)
SCO Unix OpenServer 5
I have this old impact printer that prints invoices, after about 15 pages it becomes misaligned.
ditty -a ttya04 shows -ixon -ixoff -ixany, which is not the right setting..
so, i type
ditty /dev/ttya04 ixon ixoff -ixany
when i ditty -a ttya04 again, the... (2 Replies)
Im having a problem,
Any want know why after ive upgrade from Linux 7.0 to 7.1 ( 2.4.2-2 ) My mouse is having problem. If i drag a content in my Desktop let say an icon suddently the mouse stops moving ( Hang / freeze ) i need to do a hard reboot everytime to make it comes to normal. If... (4 Replies)
I have a modem connect it to ttyS0 , in unix sco i know i can disable and enable the port , how can i do this , is there a command that will allow me to do this.
**** I'm running Redhat 9
*****External Usrobotics 56k
Thanks a lot guys (1 Reply)
We are having a problem on an AIX 4.3 system, whereby users somehow exit the system in a way such that their process continues to run.
In the who listing, the user may or may not be listed. Processes are still listed in ps, and are still assigned to the pseudo-tty. Processes continue to... (1 Reply)
Sometimes when I open up the terminal (like just now) it says
Last login: Wed Jun 17 07:29:25 on console
sometimes it says ttys (like when I exit and open a new window/tab). What's the difference? and is something fishy going on? (6 Replies)
I have several users connecting via a Windows-based SSH\telnet client. The previous sysadmin used FacetTerm to allow certain users to switch between multiple "windows." I'm told there are AIX-native ways to do this but I work with what I inherited.
Originally, many users were still connecting... (3 Replies)
Ciao a tutti!!!
il mio problema è questo: sto cercando di inviare dei comandi AT da PC a cellulare utilizzando il bluetooth e cygwin e vorrei visualizzare le risposte nella shell bash. Per farlo apro due terminali utilizzando le seguente istruzioni:
Sul primo scrivo
... (1 Reply)
Hi! I've got a problem with reading from serial port, when I run this code on Digi ConnectCore Wi-9c. But writing to serial port is Ok. By the way, when I'm running this code on "full" Linux it is working Ok - I can read and write to serial without mistakes. Where is a problem?
uname -a:... (3 Replies)
I searched the forums for RS232 issues, but all of the results don't help me solving my problem, so I had to open new thread.
This is the problem:
I have PIC16F877A micro-controller and I'm programming it with Easypic5(the PIC programming device(board) from MikroElektronika) and I want to... (1 Reply)
I have been trying to capture console logs from the init script.
When the ramfs is mounted, i check if usb is connected , if conncted, i mount it and redirected the console logs like so:
cat & /dev/ttyS1 >> /mnt/logs.txt
/bin/sh : /dev/ttyS1 :permission denied
... (8 Replies)
I am logged into a computer through ssh. I would like to run a program and have it keep running after I log out without screen (i forgot to run it).
user/comp~$ top &
user/comp~$ (something, maybe shell... (5 Replies)
I'm a beginner to the Linux programming and trying my hands on some device driver examples while practising. The below code (a trimmed down version of tiny_tty.c from ldd3 book) loads perfectly using insmod and I'm able to see it in /proc/tty/drivers , /proc/modules and device nodes are getting... (1 Reply)
I got an issue in a RH6.3 VM host , the issue is ttyS0 is always respawning and piling up /var/log/messages with errors.The customer is OK to have tty0 as the serial terminal but ttyS0 needs to be disabled.
Below is the mention of lines that contain 'serial' string from the xml file . How can I... (1 Reply)