Changeset 5160
- Timestamp:
- 03/24/08 16:28:25 (5 years ago)
- Location:
- i2c-tools/trunk
- Files:
-
- 2 modified
-
CHANGES (modified) (1 diff)
-
eeprom/decode-dimms.pl (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
i2c-tools/trunk/CHANGES
r5157 r5160 8 8 Decode all DDR2 SDRAM timing information 9 9 Add support for reading SPD data from hexdumps 10 Make command line parsing more robust 10 11 decode-vaio: Private data might not be readable by non-root users 11 12 Print the asset tag -
i2c-tools/trunk/eeprom/decode-dimms.pl
r5159 r5160 23 23 # 24 24 # 25 # The eeprom driver must be loaded. For kernels older than 2.6.0, the 26 # eeprom driver can be found in the lm-sensors package. 27 # 28 # use the following command line switches 29 # -f, --format print nice html output 30 # -b, --bodyonly don't print html header 31 # (useful for postprocessing the output) 32 # -c, --checksum decode completely even if checksum fails 33 # -h, --help display this usage summary 25 # The eeprom driver must be loaded (unless option -x is used). For kernels 26 # older than 2.6.0, the eeprom driver can be found in the lm-sensors package. 34 27 # 35 28 # References: … … 47 40 use POSIX; 48 41 use Fcntl qw(:DEFAULT :seek); 49 use vars qw($opt_html $opt_body $opt_bodyonly $opt_igncheck $use_sysfs $use_hexdump42 use vars qw($opt_html $opt_bodyonly $opt_igncheck $use_sysfs $use_hexdump 50 43 @vendors %decode_callback $revision @dimm_list); 51 44 … … 1221 1214 push @dimm_list, $_ if $use_hexdump; 1222 1215 } 1223 $opt_body = $opt_html && ! $opt_bodyonly; 1224 1225 if ($opt_body) { 1216 1217 if ($opt_html && !$opt_bodyonly) { 1226 1218 print "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 3.2 Final//EN\">\n", 1227 1219 "<html><head>\n", … … 1234 1226 printh 'Memory Serial Presence Detect Decoder', 1235 1227 'By Philip Edelbrock, Christian Zuckschwerdt, Burkart Lingner, 1236 Jean Delvare and others';1228 Jean Delvare, Trent Piepho and others'; 1237 1229 1238 1230 … … 1402 1394 printl2 "\n\nNumber of SDRAM DIMMs detected and decoded", $dimm_count; 1403 1395 1404 print "</body></html>\n" if $opt_body;1396 print "</body></html>\n" if ($opt_html && !$opt_bodyonly);
