================================== これは、 linux-2.6.13/Documentation/i2c/summary の和訳(ドラフト) です。 翻訳団体: JF プロジェクト < http://www.linux.or.jp/JF/ > 更新日 : 2005/9/2 翻訳者 : Hiroshi.Suzuki < setter at reset dot jp > 校正者 : ================================== This is an explanation of what i2c is, and what is supported in this package. この文書は、i2c とは何か、また、このパッケージでは何がサポートされているのかを 説明しています。 I2C and SMBus I2C と、SMBus ============= I2C (pronounce: I squared C) is a protocol developed by Philips. It is a slow two-wire protocol (10-400 kHz), but it suffices for many types of devices. I2C (発音: アイ スクウェア シー) は、フィリップス社が開発したプロトコルです。 低速2線プロトコル (10-400キロヘルツ) ですが、多くの種類のデバイスには十分なものです。 SMBus (System Management Bus) is a subset of the I2C protocol. Many modern mainboards have a System Management Bus. There are a lot of devices which can be connected to a SMBus; the most notable are modern memory chips with EEPROM memories and chips for hardware monitoring. SMBus (System Management Bus = システム管理バス) は、I2C プロトコルの一部 (サブセット) です。 数多くの最新メインボードは、システム管理バスを搭載しています。SMBus に接続でき る、たくさんのデバイスがあります;もっとも有名なのは、EEPROM メモリを含む最新の メモリチップと、ハードウェアを監視するチップです。 Because the SMBus is just a special case of the generalized I2C bus, we can simulate the SMBus protocol on plain I2C busses. The reverse is regretfully impossible. ですから、SMBus は、一般化された I2C バスの特別な場合でだけ、I2C バス上の SMBus プロトコルに見せかけます。逆のことは、残念ながら、できません。 Terminology 用語 =========== When we talk about I2C, we use the following terms: Bus -> Algorithm Adapter Device -> Driver Client 私達が I2C について語るとき、次の用語を使います: バス -> アルゴリズム アダプタ デバイス -> ドライバ クライアント An Algorithm driver contains general code that can be used for a whole class of I2C adapters. Each specific adapter driver depends on one algorithm driver. A Driver driver (yes, this sounds ridiculous, sorry) contains the general code to access some type of device. Each detected device gets its own data in the Client structure. Usually, Driver and Client are more closely integrated than Algorithm and Adapter. ひとつのアルゴリズムドライバは、I2C アダプタのすべてのクラスで使える汎用コード を持っています。それぞれの指定するアダプタドライバは、ひとつのアルゴリズムドラ イバに依存します。 ひとつのドライバドライバ (変な風に聞こえるのは、ご容赦を) は、数種類のデバイス にアクセスするためのコードを持っています。それぞれの検出されたデバイスは、 クライアント構造内の自身のデータを得ます。通常、ドライバとクライアントは、 アルゴリズムとアダプタより、密接に結合しています。 For a given configuration, you will need a driver for your I2C bus (usually a separate Adapter and Algorithm driver), and drivers for your I2C devices (usually one driver for each device). There are no I2C device drivers in this package. See the lm_sensors project http://www.lm-sensors.nu for device drivers. 与えられる構成により、ひとつの I2C バス (通常、分離した、アダプタとアルゴリズム ドライバ) のドライバと、I2C デバイス (通常、各デバイスにひとつのドライバ) の複 数のドライバを必要とするでしょう。 このパッケージには、I2C デバイスドライバは含まれていません。 デバイスドライバに関しては、lm_sensors プロジェクト http://www.lm-sensors.nu を見てください。 Included Bus Drivers 含まれるバスドライバ ==================== Note that only stable drivers are patched into the kernel by 'mkpatch'. 'mkpatch' によるカーネルパッチは、安定したドライバにのみ行われることに注意してください。 Base modules 基本モジュール ------------ i2c-core: The basic I2C code, including the /proc/bus/i2c* interface i2c-dev: The /dev/i2c-* interface i2c-proc: The /proc/sys/dev/sensors interface for device (client) drivers i2c-core: 基本となるI2Cコードで、/proc/bus/i2c* インタフェースを含みます i2c-dev: /dev/i2c-* インタフェース i2c-proc: デバイス(クライアント) 用の、/proc/sys/dev/sensors インタフェース Algorithm drivers アルゴリズムドライバ ----------------- i2c-algo-8xx: An algorithm for CPM's I2C device in Motorola 8xx processors (NOT BUILT BY DEFAULT) i2c-algo-bit: A bit-banging algorithm i2c-algo-pcf: A PCF 8584 style algorithm i2c-algo-ibm_ocp: An algorithm for the I2C device in IBM 4xx processors (NOT BUILT BY DEFAULT) i2c-algo-8xx: モトローラ社 8xx プロセッサの、CPMの I2C デバイス用アルゴリズム (デフォルトでは生成されません) i2c-algo-bit: ビットバンギングアルゴリズム i2c-algo-pcf: PCF 8584 形式アルゴリズム i2c-algo-ibm_ocp: IBM 社 4xx プロセッサの I2C デバイス用アルゴリズム (デフォルトでは生成されません) Adapter drivers アダプタドライバ --------------- i2c-elektor: Elektor ISA card (uses i2c-algo-pcf) i2c-elv: ELV parallel port adapter (uses i2c-algo-bit) i2c-pcf-epp: PCF8584 on a EPP parallel port (uses i2c-algo-pcf) (NOT mkpatched) i2c-philips-par: Philips style parallel port adapter (uses i2c-algo-bit) i2c-adap-ibm_ocp: IBM 4xx processor I2C device (uses i2c-algo-ibm_ocp) (NOT BUILT BY DEFAULT) i2c-pport: Primitive parallel port adapter (uses i2c-algo-bit) i2c-rpx: RPX board Motorola 8xx I2C device (uses i2c-algo-8xx) (NOT BUILT BY DEFAULT) i2c-velleman: Velleman K8000 parallel port adapter (uses i2c-algo-bit) i2c-elektor: Elektor社 ISA カード (i2c-algo-pcf を使います) i2c-elv: ELV 社 パラレルポートアダプタ (i2c-algo-bit を使います) i2c-pcf-epp: EPP パラレルポート上の PCF8584 (i2c-algo-pcf を使います) (mkpatch されません) i2c-philips-par: フィリップス社 形式のパラレルポートアダプタ (i2c-algo-bit を使います) i2c-adap-ibm_ocp: IBM 社 4xx プロセッサ I2C デバイス (i2c-algo-ibm_ocp を使います) (デフォルトでは生成されません) i2c-pport: Primitive 社 パラレルポートアダプタ (i2c-algo-bit を使います) i2c-rpx: RPX ボード Motorola 社 8xx I2C デバイス (i2c-algo-8xx を使います) (デフォルトでは生成されません) i2c-velleman: Velleman 社 K8000 パラレルポートアダプタ (i2c-algo-bit を使います)