Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
i2c_over_vga [2018/05/18 13:59]
admin [Links]
i2c_over_vga [2020/10/26 16:30] (current)
admin
Line 11: Line 11:
 ----  ---- 
 ==== Workaround ==== ==== Workaround ====
-The workaround for Arch Linux:\\+workaround for Arch Linux:\\ 
 + 
 Add the I2C kernel module:\\ Add the I2C kernel module:\\
    $ sudo modprobe i2c-dev    $ sudo modprobe i2c-dev
 Check your I2C devices:\\ Check your I2C devices:\\
    $ ls /dev/    $ ls /dev/
 +You should find somthing like:  **i2c-0  i2c-1  i2c-2 ...**\\ 
 Install the I2C tools:\\ Install the I2C tools:\\
    $ sudo pacman -S i2c-tools    $ sudo pacman -S i2c-tools
 +or on Debian:\\
 +   $ sudo apt-get install -y i2c-tools
 Find your device:\\ Find your device:\\
    $ i2cdetect -l    $ i2cdetect -l
 The result could look like:\\ The result could look like:\\
     i2c-1 unknown    i915 gmbus vga                  N/A     i2c-1 unknown    i915 gmbus vga                  N/A
- +Looking for an I2C device 
- +   $ sudo i2cdetect -y 1 
- +It should tell you the address of your I2C device.\\ 
- +Now you can comunicate to your devices with these commands:\\ 
-$ i2cset +   $ i2cget 
-i2cdump+   $ i2cset 
 +   $ i2cdump
  
  
  
 ==== Links ==== ==== Links ====
-  * [[https://blog.atx.name/twilight-vga-i2c-breakout-board/]] 
   * [[http://flipthatbit.net/2011/04/interfacing-i2c-the-easy-way/]]   * [[http://flipthatbit.net/2011/04/interfacing-i2c-the-easy-way/]]
   * [[http://flipthatbit.net/2011/03/building-a-vga-monitor-ddc2-interface-tests/]]   * [[http://flipthatbit.net/2011/03/building-a-vga-monitor-ddc2-interface-tests/]]
 +  * [[https://blog.atx.name/twilight-vga-i2c-breakout-board/]]
 +  * [[http://www.righto.com/2018/03/reading-vga-monitors-configuration-data.html]]
   * [[http://www.boichat.ch/nicolas/ddcci/method.html]]   * [[http://www.boichat.ch/nicolas/ddcci/method.html]]
   * [[http://ddccontrol.sourceforge.net/index.html]]   * [[http://ddccontrol.sourceforge.net/index.html]]
  
 ---- ----
 +==== License ====
 +
 +This manuals is made by **Wolfgang Spahn** 2018-20.\\
 +It is licensed under a [[http://creativecommons.org/licenses/by-nc-sa/4.0/"|Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License]].
 +
 +<html>
 +<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /></a> 
 +</html>
 +
 +----
 +