1. First of all, lets install required tools. We will need Python SMBus library to read/write data to I2C bus, and EDID decode tools to represent EDID data in human-readable form:

sudo apt-get install python-smbus edid-decode

2. Then we should download edid-rw utility:

git clone https://github.com/bulletmark/edid-rw

3. And write-edid script that I wrote to simplify update process:

git clone https://github.com/ChalkElec/write-edid

4. Activate i2c-dev kernel module to get access to I2C bus:

sudo modprobe i2c-dev

5. Now we should find which I2C bus is used by our HDMI adapter. The simplest way is to try bus numbers one by one with command like:

sudo ./edid-rw 0 | edid-decode

6. In my case I found HDMI adapter on bus #3:

sudo ./edid-rw 3 | edid-decode

I got output like this:

Extracted contents:
header:          00 ff ff ff ff ff ff 00
serial number:   30 e4 45 03 00 00 00 00 00 15
version:         01 04
basic params:    90 16 0e 78 02
chroma info:     e8 87 96 5a 55 95 28 22 51 55
established:     00 00 00
standard:        01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01
descriptor 1:    4c 1d 00 ec 50 20 18 30 40 30 57 00 d9 88 00 00 00 1b
descriptor 2:    16 12 00 80 50 20 16 30 30 20 47 00 d9 88 00 00 00 1b
descriptor 3:    00 00 00 fe 00 43 33 47 52 4e 80 31 30 31 57 58 31 0a
descriptor 4:    00 00 00 00 00 00 41 32 a8 00 00 00 00 01 01 0a 20 20
extensions:      00
checksum:        9a

Manufacturer: LGD Model 345 Serial Number 0
Made week 0 of 2011
EDID version: 1.4
Digital display
6 bits per primary color channel
Digital interface is not defined
Maximum image size: 22 cm x 14 cm
Gamma: 2.20
Supported color formats: RGB 4:4:4
First detailed timing is preferred timing
Established timings supported:
Standard timings supported:
Detailed mode: Clock 75.000 MHz, 217 mm x 136 mm
               1280 1344 1392 1516 hborder 0
                800  805  812  824 vborder 0
               +hsync -vsync
Detailed mode: Clock 46.300 MHz, 217 mm x 136 mm
               1280 1328 1360 1408 hborder 0
                800  804  811  822 vborder 0
               +hsync -vsync
ASCII string: C3GRN€101WX1
Manufacturer-specified data, tag 0
Checksum: 0x9a
EDID block does NOT conform to EDID 1.3!
    Missing name descriptor
    Missing monitor ranges

I can recognize it by Manufacturer string that contains “LGD” – short code of LG Display company, and by resolutions numbers “1280” and “800” in Detailed mode string. For dualLVDS converter resolution will be 1920×1200

7. Now we know I2C bus number and can program another EDID information to our HDMI adapter. But be careful to state correct bus number on the next step. Better check twice output on previous step, then check once again. If you state wrong I2C bus number, you can accidentally overwrite another I2C EEPROM with wrong data (like EDID information of main LCD panel of your notebook).

8. We use the following command to update EDID with information from file edid_auo14.bin (in our case this is EDID information for our 14″ AUO panel):

sudo ./write-edid.sh 3 edid_auo14.bin

9. Let’s check that EDID has been updated:

sudo ./edid-rw 3 | edid-decode

We should have the following output for 14″ EDID data:

Extracted contents:
header:          00 ff ff ff ff ff ff 00
serial number:   06 af 3c 10 00 00 00 00 00 16
version:         01 04
basic params:    90 1f 11 78 02
chroma info:     10 b5 97 58 57 92 26 1e 50 54
established:     00 00 00
standard:        01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01
descriptor 1:    ce 1d 56 d2 50 00 26 30 10 10 3e 00 35 ad 10 00 00 18
descriptor 2:    df 13 56 d2 50 00 26 30 10 10 3e 00 35 ad 10 00 00 18
descriptor 3:    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
descriptor 4:    00 00 00 02 00 0c 39 cc 0d 3c 64 0f 0c 1b 6f 20 20 20
extensions:      00
checksum:        0d

Manufacturer: AUO Model 103c Serial Number 0
Made week 0 of 2012
EDID version: 1.4
Digital display
6 bits per primary color channel
Digital interface is not defined
Maximum image size: 31 cm x 17 cm
Gamma: 2.20
Supported color formats: RGB 4:4:4
First detailed timing is preferred timing
Established timings supported:
Standard timings supported:
Detailed mode: Clock 76.300 MHz, 309 mm x 173 mm
               1366 1382 1398 1576 hborder 0
                768  771  785  806 vborder 0
               -hsync -vsync
Detailed mode: Clock 50.870 MHz, 309 mm x 173 mm
               1366 1382 1398 1576 hborder 0
                768  771  785  806 vborder 0
               -hsync -vsync
Manufacturer-specified data, tag 0
Manufacturer-specified data, tag 2
Checksum: 0xd
EDID block does NOT conform to EDID 1.3!
    Missing name descriptor
    Missing monitor ranges