Changeset 4126
- Timestamp:
- 09/01/06 09:44:54 (7 years ago)
- Location:
- lm-sensors/trunk
- Files:
-
- 2 modified
-
CHANGES (modified) (1 diff)
-
prog/eeprom/decode-edid.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/CHANGES
r4125 r4126 43 43 Add memory size computation for Rambus memory 44 44 Various output cleanups and fixes 45 Program decode-edid.pl: Add /usr/sbin or /usr/local/sbin to $PATH if needed 45 46 Program i2cdetect: Add a mode to print adapter functionalities 46 47 Program i2cdump: Restore bank after bank switching -
lm-sensors/trunk/prog/eeprom/decode-edid.pl
r2277 r4126 1 1 #!/usr/bin/perl -w 2 2 # 3 # Copyright (C) 2003-200 4Jean Delvare <khali@linux-fr.org>3 # Copyright (C) 2003-2006 Jean Delvare <khali@linux-fr.org> 4 4 # 5 5 # This program is free software; you can redistribute it and/or modify … … 24 24 # Version 1.0 2004-02-08 Jean Delvare <khali@linux-fr.org> 25 25 # Added support for Linux 2.5/2.6 (i.e. sysfs). 26 # Version 1.1 2006-09-01 Jean Delvare <khali@linux-fr.org> 27 # Append /usr/sbin or /usr/local/sbin to $PATH if needed. 26 28 # 27 29 # EEPROM data decoding for EDID. EDID (Extended Display Identification … … 51 53 use constant PROCFS => 1; 52 54 use constant SYSFS => 2; 55 56 # parse-edid will typically be installed in /usr/sbin or /usr/local/sbin 57 # even though regular users can run it 58 $ENV{PATH} .= ':/usr/local/sbin' 59 if $ENV{PATH} !~ m,(^|:)/usr/local/sbin/?(:|$), 60 && -x '/usr/local/sbin/parse-edid'; 61 $ENV{PATH} .= ':/usr/sbin' 62 if $ENV{PATH} !~ m,(^|:)/usr/sbin/?(:|$), 63 && -x '/usr/sbin/parse-edid'; 53 64 54 65 sub edid_valid_procfs … … 194 205 { 195 206 print STDERR 196 "decode-edid: decode-edid version 1. 0\n";207 "decode-edid: decode-edid version 1.1\n"; 197 208 if (-r "/proc/sys/dev/sensors/eeprom-i2c-$bus-$address") 198 209 {
