1 .\" Copyright 2008 Tilman Schmidt (tilman@imap.cc)
2 .\" May be distributed under the GNU General Public License version 2 or later
3 .TH LDATTACH 8 "February 2010" "util-linux" "System Administration"
5 ldattach \- attach a line discipline to a serial line
17 daemon opens the specified
20 (which should refer to a serial device)
21 and attaches the line discipline
23 to it for processing of the sent and/or received data.
24 It then goes into the background keeping the device open so that the
25 line discipline stays loaded.
29 may be specified either by name
32 In order to detach the line discipline,
40 prints usage information.
42 Depending on the kernel release, the following line disciplines are supported:
45 The default line discipline,
46 providing transparent operation (raw mode)
47 as well as the habitual terminal line editing capabilities (cooked mode).
50 Serial Line IP (SLIP) protocol processor
51 for transmitting TCP/IP packets over serial lines.
54 Device driver for RS232 connected pointing devices (serial mice).
57 Point to Point Protocol (PPP) processor
58 for transmitting network packets over serial lines.
65 Line driver for transmitting X.25 packets over asynchronous serial lines.
70 Driver for Simatic R3964 module.
73 Linux IrDa (infrared data transmission) driver -
74 see http://irda.sourceforge.net/
77 Synchronous HDLC driver.
80 Synchronous PPP driver.
83 Bluetooth HCI UART driver.
85 .BR GIGASET_M101 ( 16 )
86 Driver for Siemens Gigaset M101 serial DECT adapter.
89 Driver for serial line Pulse Per Second (PPS) source.
92 \fB-d\fP | \fB--debug\fP
95 to stay in the foreground so that it can be interrupted or debugged,
96 and to print verbose messages about its progress to the standard error output.
98 \fB-h\fP | \fB--help\fP
99 Prints a usage message and exits.
101 \fB-V\fP | \fB--version\fP
102 Prints the program version.
104 \fB-s\fP \fIvalue\fP | \fB--speed\fP \fIvalue\fP
105 Set the speed of the serial line to the specified value.
107 \fB-7\fP | \fB--sevenbits\fP
108 Sets the character size of the serial line to 7 bits.
110 \fB-8\fP | \fB--eightbits\fP
111 Sets the character size of the serial line to 8 bits.
113 \fB-n\fP | \fB--noparity\fP
114 Sets the parity of the serial line to none.
116 \fB-e\fP | \fB--evenparity\fP
117 Sets the parity of the serial line to even.
119 \fB-o\fP | \fB--oddparity\fP
120 Sets the parity of the serial line to odd.
122 \fB-1\fP | \fB--onestopbit\fP
123 Sets the number of stop bits of the serial line to one.
125 \fB-2\fP | \fB--twostopbits\fP
126 Sets the number of stop bits of the serial line to two.
128 \fB-i\fP \fIvalue\fP | \fB--iflag\fP [\fB-\fP]\fIvalue\fP{,...}
129 Sets the specified bits in the c_iflag word of the serial line.
130 \fIValue\fP may be a number or a symbolic name.
131 If \fIvalue\fP is prefixed by a minus sign, clear the specified bits instead.
132 Several comma separated \fIvalue\fPs may be given in order to
133 set and clear multiple bits.
139 Tilman Schmidt (tilman@imap.cc)
142 The ldattach command is part of the util-linux package
143 and is available from
144 ftp://ftp.kernel.org/pub/linux/utils/util-linux/.