Changeset 5029

Show
Ignore:
Timestamp:
11/19/07 23:22:29 (1 year ago)
Author:
khali
Message:

The timestamp is only 18-byte long.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • i2c-tools/trunk/CHANGES

    r5027 r5029  
    77  decode-vaio: Private data might not be readable by non-root users 
    88               Print the asset tag 
     9               Fix the timestamp decoding 
    910  i2cset: Final status messages go to stdout 
    1011          Return success even when readback fails or doesn't match 
  • i2c-tools/trunk/eeprom/decode-vaio.pl

    r5028 r5029  
    4747#  UUID and serial number might be hidden 
    4848#  The model name is actually the first half of the asset tag 
     49#  The timestamp is only 18-byte long 
    4950# 
    5051# EEPROM data decoding for Sony Vaio laptops.  
     
    226227                                decode_hexa($bus, $addr, 174, 12)); 
    227228        print_item('OEM Data', decode_string($bus, $addr, 32, 16)); 
    228         print_item('Timestamp', decode_string($bus, $addr, 224, 32)); 
     229        print_item('Timestamp', decode_string($bus, $addr, 224, 18)); 
    229230        return 1; 
    230231}