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

NAME

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

SYNOPSIS

9       ldattach [-1278denoVh] [-i iflag] [-s speed] 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
74       GSM0710(21)
75              Driver for GSM 07.10 multiplexing protocol modem (CMUX).
76

OPTIONS

78       -1, --onestopbit
79              Set the number of stop bits of the serial line to one.
80
81       -2, --twostopbits
82              Set the number of stop bits of the serial line to two.
83
84       -7, --sevenbits
85              Set the character size of the serial line to 7 bits.
86
87       -8, --eightbits
88              Set the character size of the serial line to 8 bits.
89
90       -d, --debug
91              Keep ldattach in the foreground so that it can be interrupted or
92              debugged, and to print verbose messages about  its  progress  to
93              standard error output.
94
95       -e, --evenparity
96              Set the parity of the serial line to even.
97
98       -i, --iflag [-]value...
99              Set  the  specified bits in the c_iflag word of the serial line.
100              The given value may be a number or a symbolic name.  If value is
101              prefixed  by  a  minus  sign,  the  specified  bits  are cleared
102              instead.  Several comma-separated values may be given  in  order
103              to set and clear multiple bits.
104
105       -n, --noparity
106              Set the parity of the serial line to none.
107
108       -o, --oddparity
109              Set the parity of the serial line to odd.
110
111       -s, --speed value
112              Set  the  speed (the baud rate) of the serial line to the speci‐
113              fied value.
114
115       -c, --intro-command string
116              Define an intro command that is sent  through  the  serial  line
117              before the invocation of ldattach. E.g. in conjunction with line
118              discipline GSM0710, the command ´AT+CMUX=0\r´ is commonly  suit‐
119              able to switch the modem into the CMUX mode.
120
121       -p, --pause value
122              Sleep  for  value  seconds  before  the  invocation of ldattach.
123              Default is one second.
124
125       -V, --version
126              Display version information and exit.
127
128       -h, --help
129              Display help text and exit.
130

AUTHORS

132       Tilman Schmidt (tilman@imap.cc)
133

SEE ALSO

135       inputattach(1), ttys(4)
136

AVAILABILITY

138       The ldattach command is part of the util-linux package and is available
139       from https://www.kernel.org/pub/linux/utils/util-linux/.
140
141
142
143util-linux                         July 2014                       LDATTACH(8)
Impressum