Changeset 1907

2003-07-26 22:17:13 (12 years ago)

Document the script.

1 modified


  • 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 " no such file or directory" error. 
     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). 
     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. 
     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: 
     197 1 
     198 2 0x50 
     200You will find additional details in the script itself. Read-edid is avilable