SMB bus is not implemented yet.
Before starting protocoltool
For using the I²C port on linux, some kernel modules must be loaded:
- for kernel 2.4, these modules must be loaded: i2c-proc, i2c-dev and specific driver for the
- for kernel 2.6, these modules must be loaded: i2c-dev and specific driver for the
- the specific module for the I²C bus implementation
modprobe i2c-dev (2.4,2.6)
modprobe i2c_parport type=0
(if using the parallel port dongle below)
Using the I²C interface
For I²C, a flag must be used in the beginning of each line to tell which
operation the user wants:
- for a Read message, the token <read> or <r> must be placed before
characters to be sent. When clicking 'Send', the address byte is
transmitted with the 'read' flag; after that, the 1st byte after the read
token specifies the number of bytes to read. The remaining bytes on the
send line are ignored.
- for a Write message, the token <write> or <w> must be placed before characters to be
sent. When clicking 'Send', the address byte is transmitted with the
'write' flag; after that, the bytes on the send line are transmitted.
By default, we'll assume that the user wants to write if he didn't specify
which operation to use.
On platforms other than Linux, only one dongle is supported on the parallel
port. It's the Philips I2C parallel dongle. On Linux, the
corresponding driver is loaded with this command line:
This is a schematic of the dongle.