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