I2C

From Gentoo Wiki
Jump to: navigation, 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)