Show
Ignore:
Timestamp:
03/08/10 15:00:52 (2 years ago)
Author:
khali
Message:

Add support for multiple dumps. This makes it easier to setup test
environments with more than one I2C chip.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • i2c-tools/trunk/stub/i2c-stub-from-dump.8

    r5165 r5830  
    1 .TH I2C-STUB-FROM-DUMP 8 "April 2008" 
     1.TH I2C-STUB-FROM-DUMP 8 "March 2010" 
    22.SH NAME 
    3 i2c-stub-from-dump \- feed i2c-stub with a dump file 
     3i2c-stub-from-dump \- feed i2c-stub with dump files 
    44 
    55.SH SYNOPSIS 
    66.B i2c-stub-from-dump  
    7 .I address 
    8 .I dump-file 
     7.IR address [, address ,...] 
     8.IR dump-file " [" dump-file " ...]" 
    99 
    1010.SH DESCRIPTION 
    1111i2c-stub-from-dump is a small helper script for the i2c-stub kernel driver. 
    12 It lets you setup a fake I2C chip on the i2c-stub bus based on a dump of 
    13 the chip you want to emulate. 
     12It lets you setup one or more fake I2C chips on the i2c-stub bus based on 
     13dumps of the chips you want to emulate. 
    1414 
    1515i2c-stub-from-dump requires i2cdetect and i2cset to be installed and 
    1616reachable through the user's PATH. The former is used to find out the i2c-stub 
    17 bus number, while the latter is used to write to the fake I2C chip. 
     17bus number, while the latter is used to write to the fake I2C chips. 
    1818 
    1919.SH EXAMPLE