1LDATTACH(8)                Linux Programmer's Manual               LDATTACH(8)
2
3
4

NAME

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

SYNOPSIS

9       ldattach [-dhV78neo12] [-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

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

SEE ALSO

111       inputattach(1), ttys(4)
112

AUTHOR

114       Tilman Schmidt (tilman@imap.cc)
115

AVAILABILITY

117       The ldattach command is part of the util-linux-ng package and is avail‐
118       able from ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/.
119
120
121
122Linux 2.6                       14 January 2008                    LDATTACH(8)
Impressum