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 "14 January 2008" "Linux 2.6" "Linux Programmer's Manual"
5 ldattach \- attach a line discipline to a serial line
15 daemon opens the specified
18 (which should refer to a serial device)
19 and attaches the line discipline
21 to it for processing of the sent and/or received data.
22 It then goes into the background keeping the device open so that the
23 line discipline stays loaded.
27 may be specified either by name
30 In order to detach the line discipline,
38 prints usage information.
40 Depending on the kernel release, the following line disciplines are supported:
43 The default line discipline,
44 providing transparent operation (raw mode)
45 as well as the habitual terminal line editing capabilities (cooked mode).
48 Serial Line IP (SLIP) protocol processor
49 for transmitting TCP/IP packets over serial lines.
52 Device driver for RS232 connected pointing devices (serial mice).
55 Point to Point Protocol (PPP) processor
56 for transmitting network packets over serial lines.
63 Line driver for transmitting X.25 packets over asynchronous serial lines.
68 Driver for Simatic R3964 module.
71 Linux IrDa (infrared data transmission) driver -
72 see http://irda.sourceforge.net/
75 Synchronous HDLC driver.
78 Synchronous PPP driver.
81 Bluetooth HCI UART driver.
83 .BR GIGASET_M101 ( 16 )
84 Driver for Siemens Gigaset M101 serial DECT adapter.
87 Driver for serial line Pulse Per Second (PPS) source.
90 \fB-d\fP | \fB--debug\fP
93 to stay in the foreground so that it can be interrupted or debugged,
94 and to print verbose messages about its progress to the standard error output.
96 \fB-h\fP | \fB--help\fP
97 Prints a usage message and exits.
99 \fB-V\fP | \fB--version\fP
100 Prints the program version.
102 \fB-s\fP \fIvalue\fP | \fB--speed\fP \fIvalue\fP
103 Set the speed of the serial line to the specified value.
105 \fB-7\fP | \fB--sevenbits\fP
106 Sets the character size of the serial line to 7 bits.
108 \fB-8\fP | \fB--eightbits\fP
109 Sets the character size of the serial line to 8 bits.
111 \fB-n\fP | \fB--noparity\fP
112 Sets the parity of the serial line to none.
114 \fB-e\fP | \fB--evenparity\fP
115 Sets the parity of the serial line to even.
117 \fB-o\fP | \fB--oddparity\fP
118 Sets the parity of the serial line to odd.
120 \fB-1\fP | \fB--onestopbit\fP
121 Sets the number of stop bits of the serial line to one.
123 \fB-2\fP | \fB--twostopbits\fP
124 Sets the number of stop bits of the serial line to two.
130 Tilman Schmidt (tilman@imap.cc)
133 The ldattach command is part of the util-linux-ng package
134 and is available from
135 ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/.