On 02/21/2007 04:17 PM, Ramagudi Naziir wrote:
drivers/i2c/busses/i2c-parport{,-light}.c provides for a simply i2c
bus over the parallel port. If you don't have a parallel port, I
believe no easy to add busses are available.
But how do I attach my I2C chip to the parallel port ?
You solder its SDA and SCL pins to two pins on a parallel cable and plug
in the cable. Which 2 pins varies with the adapter type you pick -- see
drivers/i2c/busses/i2c-parport.h.
Judging by that, the first adapter type (Philips) has its SCL on D3
(0x80, D3 is pin 5 on the 25-pin connector) and SDA on D7 (0x80, D7 =
pin 9). A few more with seperate pins for read and write it seems but
this first one looks like the best one to pick for some simple tests.
Rene
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ