Difference between revisions of "Hammer I2C Driver"

From eLinux.org
Jump to: navigation, search
Line 1: Line 1:
Start by entering the kernel config with the "make menuconfig" command, then choose the "Drivers" section
+
Start by entering the kernel config with the "make menuconfig" command, then choose the "Device Drivers" section
 
[[image:kernel1.jpg]]
 
[[image:kernel1.jpg]]
  
 +
 +
use the up/down arrow keys to move to the "I2C Support" Section and use the space bar to select
 
[[image:kernel2.jpg]]
 
[[image:kernel2.jpg]]
  
 +
 +
use the up/down arrow keys to move to the "I2C Device Interface" Section and use the space bar to select
 
[[image:kernel3.jpg]]
 
[[image:kernel3.jpg]]
  
 +
 +
use the up/down arrow keys to move to the "I2C Hardware Bus support" Section and use the space bar to select
 
[[image:kernel4.jpg]]
 
[[image:kernel4.jpg]]
  
 +
 +
use the up/down arrow keys to move to the "S3C2410 I2C Driver" Section and use the space bar to select
 
[[image:kernel5.jpg]]
 
[[image:kernel5.jpg]]
  
  
 +
tab to the "Exit" option and move back one screen, then use the up/down arrow keys to move to the "Miscellaneous I2C Chip Support" Section and use the space bar to select
 
[[image:kernel6.jpg]]
 
[[image:kernel6.jpg]]
  
 +
there are a number of supported base drivers to select
 
[[image:kernel7.jpg]]
 
[[image:kernel7.jpg]]
 +
 +
 +
 +
i2c-* device files, usually found in the /dev directory on your system.  They make it possible to have user-space programs use the I2C bus.  Information on how to do this is contained in the file Documentation/i2c/dev-interface in the linux source tree.

Revision as of 16:56, 17 June 2008

Start by entering the kernel config with the "make menuconfig" command, then choose the "Device Drivers" section Kernel1.jpg


use the up/down arrow keys to move to the "I2C Support" Section and use the space bar to select Kernel2.jpg


use the up/down arrow keys to move to the "I2C Device Interface" Section and use the space bar to select Kernel3.jpg


use the up/down arrow keys to move to the "I2C Hardware Bus support" Section and use the space bar to select Kernel4.jpg


use the up/down arrow keys to move to the "S3C2410 I2C Driver" Section and use the space bar to select Kernel5.jpg


tab to the "Exit" option and move back one screen, then use the up/down arrow keys to move to the "Miscellaneous I2C Chip Support" Section and use the space bar to select Kernel6.jpg

there are a number of supported base drivers to select Kernel7.jpg


i2c-* device files, usually found in the /dev directory on your system. They make it possible to have user-space programs use the I2C bus. Information on how to do this is contained in the file Documentation/i2c/dev-interface in the linux source tree.