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

OPTIONS

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

AUTHORS

128       Tilman Schmidt <tilman@imap.cc>
129

SEE ALSO

131       inputattach(1), ttys(4)
132

REPORTING BUGS

134       For bug reports, use the issue tracker at
135       https://github.com/util-linux/util-linux/issues.
136

AVAILABILITY

138       The ldattach command is part of the util-linux package which can be
139       downloaded from Linux Kernel Archive
140       <https://www.kernel.org/pub/linux/utils/util-linux/>.
141
142
143
144util-linux 2.38.1                 2022-05-11                       LDATTACH(8)
Impressum