1LDATTACH(8)                  System Administration                 LDATTACH(8)
2
3
4

NAME

6       ldattach - attach a line discipline to a serial line
7

SYNOPSIS

9       ldattach [-dhV78neo12] [-s speed] [-i iflag] ldisc device
10

DESCRIPTION

12       The ldattach daemon opens the specified device file (which should refer
13       to a serial device) and attaches the line discipline ldisc  to  it  for
14       processing  of  the  sent  and/or received data.  It then goes into the
15       background keeping the device open so that the  line  discipline  stays
16       loaded.
17
18       The line discipline ldisc may be specified either by name or by number.
19
20       In order to detach the line discipline, kill(1) the ldattach process.
21
22       With no arguments, ldattach prints usage information.
23

LINE DISCIPLINES

25       Depending  on  the  kernel  release, the following line disciplines are
26       supported:
27
28       TTY(0) The default line  discipline,  providing  transparent  operation
29              (raw  mode)  as well as the habitual terminal line editing capa‐
30              bilities (cooked mode).
31
32       SLIP(1)
33              Serial Line IP (SLIP) protocol processor for transmitting TCP/IP
34              packets over serial lines.
35
36       MOUSE(2)
37              Device  driver  for  RS232  connected  pointing  devices (serial
38              mice).
39
40       PPP(3) Point to Point Protocol (PPP) processor for transmitting network
41              packets over serial lines.
42
43       STRIP(4)
44
45       AX25(5)
46
47       X25(6) Line  driver  for  transmitting  X.25  packets over asynchronous
48              serial lines.
49
50       6PACK(7)
51
52       R3964(9)
53              Driver for Simatic R3964 module.
54
55       IRDA(11)
56              Linux  IrDa  (infrared   data   transmission)   driver   -   see
57              http://irda.sourceforge.net/
58
59       HDLC(13)
60              Synchronous HDLC driver.
61
62       SYNC_PPP(14)
63              Synchronous PPP driver.
64
65       HCI(15)
66              Bluetooth HCI UART driver.
67
68       GIGASET_M101(16)
69              Driver for Siemens Gigaset M101 serial DECT adapter.
70
71       PPS(18)
72              Driver for serial line Pulse Per Second (PPS) source.
73

OPTIONS

75       -d | --debug
76              Causes  ldattach  to  stay  in  the foreground so that it can be
77              interrupted or debugged, and to print verbose messages about its
78              progress to the standard error output.
79
80       -h | --help
81              Prints a usage message and exits.
82
83       -V | --version
84              Prints the program version.
85
86       -s value | --speed value
87              Set the speed of the serial line to the specified value.
88
89       -7 | --sevenbits
90              Sets the character size of the serial line to 7 bits.
91
92       -8 | --eightbits
93              Sets the character size of the serial line to 8 bits.
94
95       -n | --noparity
96              Sets the parity of the serial line to none.
97
98       -e | --evenparity
99              Sets the parity of the serial line to even.
100
101       -o | --oddparity
102              Sets the parity of the serial line to odd.
103
104       -1 | --onestopbit
105              Sets the number of stop bits of the serial line to one.
106
107       -2 | --twostopbits
108              Sets the number of stop bits of the serial line to two.
109
110       -i value | --iflag [-]value{,...}
111              Sets  the specified bits in the c_iflag word of the serial line.
112              Value may be a number or a symbolic name.  If value is  prefixed
113              by  a  minus  sign,  clear  the specified bits instead.  Several
114              comma separated values may be given in order to  set  and  clear
115              multiple bits.
116

SEE ALSO

118       inputattach(1), ttys(4)
119

AUTHOR

121       Tilman Schmidt (tilman@imap.cc)
122

AVAILABILITY

124       The ldattach command is part of the util-linux package and is available
125       from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
126
127
128
129util-linux                       February 2010                     LDATTACH(8)
Impressum