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 FreeBSD 30.Sh NAME 31.Nm lpbb 32.Nd 33Parallel port I2C bit-banging interface 34.Sh SYNOPSIS 35.Cd "device iicbus" 36.Cd "device iicbb0" 37.Pp 38.Cd "device lpbb0 at ppbus?" 39.Cd "device iic0 at iicbus?" 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.Pp 70.Sh SEE ALSO 71.Xr iicbb 4 , 72.Xr iicbus 4 , 73.Xr ppbus 4 74.Sh HISTORY 75The 76.Nm 77manual page first appeared in 78.Fx 3.0 . 79.Sh AUTHORS 80This 81manual page was written by 82.An Nicolas Souchu . 83