Comment 5 for bug 608279

Revision history for this message
Mathieu Poirier (mathieu.poirier-deactivatedaccount) wrote :

parse-edid demands binary date, something i2cdump doesn't provide.

I added an additional 'i2c_board_info' structure and tied it to the i2c 'eeprom' driver, which creates the following /sys/bus/i2c/devices/3-0050/eeprom entry. From there using 'decode-edid' specifying to scan bus 3 is trivial. Note that decode-edid calls parse-edid.

mpoirier@beagle:~$ sudo modprobe eeprom
mpoirier@beagle:~$ decode-edid 3
decode-edid: decode-edid version 1.1
parse-edid: parse-edid version 2.0.0
parse-edid: EDID checksum passed.

        # EDID version 1 revision 3
Section "Monitor"
        # Block type: 2:0 3:ff
        # Block type: 2:0 3:fc
        Identifier "DELL P2310H"
        VendorName "DEL"
        ModelName "DELL P2310H"
        # Block type: 2:0 3:ff
        # Block type: 2:0 3:fc
        # Block type: 2:0 3:fd
        HorizSync 30-83
        VertRefresh 56-76
        # Max dot clock (video bandwidth) 170 MHz
        # DPMS capabilities: Active off:yes Suspend:no Standby:no

        Mode "1920x1080" # vfreq 60.000Hz, hfreq 67.500kHz
                DotClock 148.500000
                HTimings 1920 2008 2052 2200
                VTimings 1080 1084 1089 1125
                Flags "+HSync" "+VSync"
        EndMode
        # Block type: 2:0 3:ff
        # Block type: 2:0 3:fc
        # Block type: 2:0 3:fd
EndSection
mpoirier@beagle:~$