xref: /freebsd/share/man/man4/lpbb.4 (revision 257e70f1d5ee61037c8c59b116538d3b6b1427a2)
1.\" Copyright (c) 1998, Nicolas Souchu
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\"    notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\"    notice, this list of conditions and the following disclaimer in the
11.\"    documentation and/or other materials provided with the distribution.
12.\"
13.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.Dd October 25, 1998
26.Dt LPBB 4
27.Os
28.Sh NAME
29.Nm lpbb
30.Nd parallel port I2C bit-banging interface
31.Sh SYNOPSIS
32.Cd "device iicbus"
33.Cd "device iicbb"
34.Pp
35.Cd "device lpbb"
36.Cd "device iic"
37.Sh DESCRIPTION
38The
39.Em lpbb
40driver supports the Philips official I2C parallel bit-banging interface.
41.Bd -literal
42
43                                         LS05 pin 14 (Vcc) o      -------
44                                                           |      |     |
45            +--+--+---------------------+--+--+------------+------+-o 1 |
46            |  |  |                     |  |  |           ===.1uF | +5V |
47  -------- [R][R][R] 3x10K       3x10K [R][R][R]   LS05    |      |     |
48  |      |  |  |  |                     |  |  |    pin 7 o-+------+-o 2 |
49  | 12 o-+--+  |  |   3|\\ 4             |  |  |    (Gnd)          | GND |
50  | 17 o-+-----|--|----| >o-------------+--|--|--------------+    |     |
51  |      |     |  |    |/        8 /|9     |  |     10 /|11  +----+-o 3 |
52  | 15 o-+-----+--|--------------o< |------+--|------o< |----+    | SCL |
53  |      |        |   1|\\ 2        \\|         |        \\|         |     |
54  |  9 o-+--------|----| >o-------------------+--------------+----+-o 4 |
55  |      |        |    |/                            6 /|5   |    | SDA |
56  | 11 o-+--------+----------------------------------o< |----+    -------
57  | 10 o-+-+                                           \\|          4-pin
58  | 13 o-+-+--oGND                                              Connector
59  | 25 o-+-+      ------------------ Part List --------------------------
60  --------        | 1 - .1 uF capacitor   | 6 - 10K 5% resistors        |
61  25-pin male D   | 1 - 4-pin connector   | 1 - 25-pin male D connector |
62  connector to PC | 1 - 74LS05 open collector hex inverter              |
63  printer port    -------------------------------------------------------
64.Ed
65.Sh SEE ALSO
66.Xr iicbb 4 ,
67.Xr iicbus 4 ,
68.Xr ppbus 4
69.Sh HISTORY
70The
71.Nm
72manual page first appeared in
73.Fx 3.0 .
74.Sh AUTHORS
75This
76manual page was written by
77.An Nicolas Souchu .
78