Changes

How to use I2C

46 bytes added, 17:55, 16 January 2012
no edit summary
= Overview =
This How-To is meant to be a starting point for people to learn use I2C for IGEP v2 devices as quickly and easily as possible. For this how-to i do a program that reads and decodes EDID information from EEPROM display. This program was tested in [http://releases.linaro.org/platform/linaro-m/headless/final/linaro-m-headless-tar-20101108-2.tar.gz Linaro Headless] with [[Linux_Kernel_2Linux Kernel 2.6.35.y|Kernel 2.6.35.y]] and [[How to get the Poky Linux distribution|Poky Linux distribution.]]<br>
More information about [http://en.wikipedia.org/wiki/Extended_display_identification_data EDID].<br>
= Feedback and Contributing =
<pre>i2c-1 i2c OMAP I2C adapter I2C adapter
i2c-3 i2c OMAP I2C adapter I2C adapter
</pre>It's important than i2c-3 is enable, because it connect by default to DVI-D.
= Compile =
Download '''(upload source code)''' and extract it. Compile program using your Cross Compiler, i used arm-linux-gnueabi-:
<pre>arm-linux-gnueabi-gcc parse-edid-beta2.c -o parse-edid-beta2</pre>Make sure that i2c.dev.h has the same path as parse-edid-beta2.c.
= Run program =
Run program as root.<br> = Results = '''Under construction'''
[[Category:Communications]] [[Category:Work_in_progress]]
4,199
edits