This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.

Please visit our production wiki at https://wiki.gentoo.org

I2C

From Gentoo Wiki (test)
Jump to:navigation Jump to:search

Not to be confused with I2P.

Resources

This article describes the setup of I2C (Inter-Integrated Circuit) controllers.

Hardware detection

To choose the right driver, first detect the used I2C controllers. The lspci tool can be used for this task:

root #lspci | grep -i smbus

Installation

Kernel

The following kernel options need to be activated:

KERNEL
Device Drivers  --->
   <*> I2C support  --->
      <*> I2C device interface
      [*] Autoselect pertinent helper modules
         I2C Hardware Bus support  --->

         Select the driver for your I2C controller, e.g.:
            <*> Intel 82801 (ICH/PCH) (i2c-i801)