Changeset 1907

Show
Ignore:
Timestamp:
07/26/03 22:17:13 (11 years ago)
Author:
khali
Message:

Document the decode-edid.pl script.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/doc/chips/eeprom

    r1620 r1907  
    165165you will need to adjust the first line of the file accordingly, or else 
    166166you will get a strange "decode-vaio.pl: no such file or directory" error. 
     167 
     168 
     169Decode-edid.pl 
     170 
     171This Perl script acts as an interface between the eeprom module and 
     172parse-edid, which is part of read-edid. Read-edid is a tool for gathering 
     173information on VESA PNP monitors. It is somewhat similar to what our 
     174ddcmon driver does, except that ddcmon outputs user-oriented data while 
     175read-edid generates a a computer oriented configuration file (primarily 
     176for XFree86). 
     177 
     178Read-edid is made of two components, get-edid which retrieves binary data 
     179from the monitor, and parse-edid which decodes the data into useful 
     180information. Get-edid uses low level functions, and relies on compliance 
     181of both the video card and the monitor to some standard (DCC as it is 
     182called). It may not work for everyone. On the other hand, some video 
     183cards make this information available on an I2C bus and we are able to 
     184get it using our eeprom module. That's why we wrote this script that 
     185converts the data as exported by our eeprom module into what parse-edid 
     186expects from get-edid. That way, users who can't get get-edid to work 
     187still have a chance to be able to retrieve the wanted information thanks 
     188to the lm_sensors modules and tools. 
     189 
     190Use: 
     191 
     192Unload the ddcmon if it was loaded, load the eeprom module instead. Then, 
     193run the script. The script will try to figure out on which I2C bus and at 
     194which address is the eeprom, but it may fail. In this case, you can pass 
     195the parameters to the script. Examples: 
     196 
     197  decode-edid.pl 1 
     198  decode-edid.pl 2 0x50 
     199 
     200You will find additional details in the script itself. Read-edid is avilable 
     201there: 
     202  http://john.fremlin.de/programs/linux/read-edid/