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