Changeset 1621
- Timestamp:
- 11/18/02 21:45:35 (11 years ago)
- Files:
-
- 1 modified
-
lm-sensors/trunk/prog/eeprom/decode-vaio.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/prog/eeprom/decode-vaio.pl
r1325 r1621 19 19 # Version 0.1 2002-02-06 Jean Delvare <khali@linux-fr.org> 20 20 # Version 0.2 2002-02-16 Jean Delvare <khali@linux-fr.org> 21 # Fixed to work with the new, simplified /proc interface names of the eeprom driver22 # (lm_sensors 2.6.3 and greater.)21 # Fixed to work with the new, simplified /proc interface names of the eeprom 22 # driver (lm_sensors 2.6.3 and greater). 23 23 # Shifted data display by 4 columns left. 24 24 # Version 0.3 2002-02-17 Jean Delvare <khali@linux-fr.org> 25 # Added UUID field at 0x10 (added decode_uuid .)25 # Added UUID field at 0x10 (added decode_uuid). 26 26 # Merged decode_string and decode_string32. 27 27 # Added unknown field at 0x20. 28 # Moved header and footer to BEGIN and END, respectiv ly.28 # Moved header and footer to BEGIN and END, respectively. 29 29 # Reformated history to match those of the other decode scripts. 30 # Deleted decode_char (made useless by decode_string .)30 # Deleted decode_char (made useless by decode_string). 31 31 # Reordered field display, changed some labels. 32 32 # Added old /proc interface check. 33 # Version 1.0 2002-11-15 Jean Delvare <khali@linux-fr.org> 34 # Gave the label "OEM Data" to the field at 0x20. 35 # Gave the label "Timestamp" to the field at 0xE0. 36 # Renamed "Model Number" to "Model Name". 37 # Added some Documentation. 33 38 # 34 39 # EEPROM data decoding for Sony Vaio laptops. … … 38 43 # 39 44 # Please note that this is a guess-only work. Sony support refused to help 40 # me, so if someone can provide information, please contact me. I used my 41 # PCG-GR214EP as a base, but I can't promise that this script will work with 42 # other models. Any feedback appreciated anyway. 45 # me, so if someone can provide information, please contact me. 46 # 47 # It seems that if present, the EEPROM is always at 0x57. 48 # 49 # Models tested so far: 50 # PCG-GR214EP : OK 51 # PCG-F403 : No EEPROM 52 # PCG-Z600LEK : No EEPROM 53 # PCG-Z600NE : No EEPROM 54 # PCG-F707 : No EEPROM 55 # PCG-GRX570 : OK 56 # PCG-GRX316G : OK 57 # Any feedback appreciated anyway. 58 # 59 # Thanks to Werner Heuser, Carsten Blume, Christian Gennerat, Joe Wreschnig, 60 # Xavier Roche, Sebastien Lefevre and Philippe H. for their precious help. 43 61 # 44 62 … … 113 131 print_item('UUID',decode_uuid($bus,$addr,16)); 114 132 print_item('Revision',decode_string($bus,$addr,160,0,10)); 115 print_item('Model N umber','PCG-'.decode_string($bus,$addr,160,10,4));116 print_item(' ?',decode_string($bus,$addr,32,0,16));117 print_item(' ?',decode_string($bus,$addr,224,0,32));133 print_item('Model Name','PCG-'.decode_string($bus,$addr,160,10,4)); 134 print_item('OEM Data',decode_string($bus,$addr,32,0,16)); 135 print_item('Timestamp',decode_string($bus,$addr,224,0,32)); 118 136 } 119 137 … … 122 140 print("Sony Vaio EEPROM Decoder\n"); 123 141 print("Written by Jean Delvare. Copyright 2002.\n"); 124 print("Version 0.3\n\n");142 print("Version 1.0\n\n"); 125 143 } 126 144
