xref: /freebsd/share/man/man4/lpbb.4 (revision 2be1a816b9ff69588e55be0a84cbe2a31efc0f2f)
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.\" $FreeBSD$
26.\"
27.Dd October 25, 1998
28.Dt LPBB 4
29.Os
30.Sh NAME
31.Nm lpbb
32.Nd parallel port I2C bit-banging interface
33.Sh SYNOPSIS
34.Cd "device iicbus"
35.Cd "device iicbb"
36.Pp
37.Cd "device lpbb"
38.Cd "device iic"
39.Sh DESCRIPTION
40The
41.Em lpbb
42driver supports the Philips official I2C parallel bit-banging interface.
43.Pp
44.Bd -literal
45
46                                         LS05 pin 14 (Vcc) o      -------
47                                                           |      |     |
48            +--+--+---------------------+--+--+------------+------+-o 1 |
49            |  |  |                     |  |  |           ===.1uF | +5V |
50  -------- [R][R][R] 3x10K       3x10K [R][R][R]   LS05    |      |     |
51  |      |  |  |  |                     |  |  |    pin 7 o-+------+-o 2 |
52  | 12 o-+--+  |  |   3|\\ 4             |  |  |    (Gnd)          | GND |
53  | 17 o-+-----|--|----| >o-------------+--|--|--------------+    |     |
54  |      |     |  |    |/        8 /|9     |  |     10 /|11  +----+-o 3 |
55  | 15 o-+-----+--|--------------o< |------+--|------o< |----+    | SCL |
56  |      |        |   1|\\ 2        \\|         |        \\|         |     |
57  |  9 o-+--------|----| >o-------------------+--------------+----+-o 4 |
58  |      |        |    |/                            6 /|5   |    | SDA |
59  | 11 o-+--------+----------------------------------o< |----+    -------
60  | 10 o-+-+                                           \\|          4-pin
61  | 13 o-+-+--oGND                                              Connector
62  | 25 o-+-+      ------------------ Part List --------------------------
63  --------        | 1 - .1 uF capacitor   | 6 - 10K 5% resistors        |
64  25-pin male D   | 1 - 4-pin connector   | 1 - 25-pin male D connector |
65  connector to PC | 1 - 74LS05 open collector hex inverter              |
66  printer port    -------------------------------------------------------
67.Ed
68.Sh SEE ALSO
69.Xr iicbb 4 ,
70.Xr iicbus 4 ,
71.Xr ppbus 4
72.Sh HISTORY
73The
74.Nm
75manual page first appeared in
76.Fx 3.0 .
77.Sh AUTHORS
78This
79manual page was written by
80.An Nicolas Souchu .
81