Show
Ignore:
Timestamp:
04/10/08 09:53:14 (6 years ago)
Author:
khali
Message:

Remove history, it belongs to SVN.
Don't tell people to contact me, they'll find out by themselves if
they want to.
Make the header text shorter.
Bump version to 1.6.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • i2c-tools/trunk/eeprom/decode-vaio

    r5164 r5172  
    11#!/usr/bin/perl -w 
    22# 
    3 # Copyright (C) 2002-2007 Jean Delvare <khali@linux-fr.org> 
     3# Copyright (C) 2002-2008 Jean Delvare <khali@linux-fr.org> 
    44# 
    55#    This program is free software; you can redistribute it and/or modify 
     
    1717#    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
    1818#    MA 02110-1301 USA. 
    19 # 
    20 # Version 0.1  2002-02-06  Jean Delvare <khali@linux-fr.org> 
    21 # Version 0.2  2002-02-16  Jean Delvare <khali@linux-fr.org> 
    22 #  Fixed to work with the new, simplified /proc interface names of the eeprom 
    23 #    driver (lm_sensors 2.6.3 and greater). 
    24 #  Shifted data display by 4 columns left. 
    25 # Version 0.3  2002-02-17  Jean Delvare <khali@linux-fr.org> 
    26 #  Added UUID field at 0x10 (added decode_uuid). 
    27 #  Merged decode_string and decode_string32. 
    28 #  Added unknown field at 0x20. 
    29 #  Moved header and footer to BEGIN and END, respectively. 
    30 #  Reformated history to match those of the other decode scripts. 
    31 #  Deleted decode_char (made useless by decode_string). 
    32 #  Reordered field display, changed some labels. 
    33 #  Added old /proc interface check. 
    34 # Version 1.0  2002-11-15  Jean Delvare <khali@linux-fr.org> 
    35 #  Gave the label "OEM Data" to the field at 0x20. 
    36 #  Gave the label "Timestamp" to the field at 0xE0. 
    37 #  Renamed "Model Number" to "Model Name". 
    38 #  Added some documentation. 
    39 # Version 1.1  2004-01-17  Jean Delvare <khali@linux-fr.org> 
    40 #  Added support for Linux 2.5/2.6 (i.e. sysfs). 
    41 # Version 1.2  2004-11-28  Jean Delvare <khali@linux-fr.org> 
    42 #  Support bus number 0 to 4 instead of only 0. 
    43 # Version 1.3  2005-01-18  Jean Delvare <khali@linux-fr.org> 
    44 #  Revision might be a Service Tag. 
    45 # Version 1.4  2006-09-20  Jean Delvare <khali@linux-fr.org> 
    46 #  Detect and skip false positives (e.g. EDID EEPROMs). 
    47 # Version 1.5  2007-11-19  Jean Delvare <khali@linux-fr.org> 
    48 #  UUID and serial number might be hidden 
    49 #  The model name is actually the first half of the asset tag 
    50 #  The timestamp is only 18-byte long 
    5119# 
    5220# EEPROM data decoding for Sony Vaio laptops.  
     
    7846#   VGN-S4M/S    : OK 
    7947#   VGN-TZ11MN/N : OK 
    80 # Any feedback appreciated anyway. 
    8148# 
    8249# Thanks to Werner Heuser, Carsten Blume, Christian Gennerat, Joe Wreschnig, 
     
    8956use vars qw($sysfs $found); 
    9057 
     58use constant VERSION    => "1.6"; 
    9159use constant ONLYROOT   => "Readable only by root"; 
    9260 
     
    234202BEGIN 
    235203{ 
    236         print("Sony Vaio EEPROM Decoder\n"); 
    237         print("Copyright (C) 2002-2007  Jean Delvare\n"); 
    238         print("Version 1.5\n\n"); 
     204        print("# Sony Vaio EEPROM Decoder version ".VERSION." by Jean Delvare\n\n"); 
    239205} 
    240206 
     
    269235{ 
    270236        print("Vaio EEPROM not found.  Please make sure that the eeprom module is loaded.\n"); 
    271         print("If you believe this is an error, please contact me <khali\@linux-fr.org>\n"); 
    272         print("so that we may see how to fix the problem.\n"); 
    273 } 
     237}