Browse Source

The timestamp is only 18-byte long.

git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5029 7894878c-1315-0410-8ee3-d5d059ff63e0
tags/v3.0.1
Jean Delvare 18 years ago
parent
commit
000c929755
  1. 1
      CHANGES
  2. 3
      eeprom/decode-vaio.pl

1
CHANGES

@ -6,6 +6,7 @@ SVN
Update manufacturer IDs.
decode-vaio: Private data might not be readable by non-root users
Print the asset tag
Fix the timestamp decoding
i2cset: Final status messages go to stdout
Return success even when readback fails or doesn't match
i2c-stub-from-dump: New helper script to use with i2c-stub

3
eeprom/decode-vaio.pl

@ -46,6 +46,7 @@
# Version 1.5 2007-11-19 Jean Delvare <khali@linux-fr.org>
# UUID and serial number might be hidden
# The model name is actually the first half of the asset tag
# The timestamp is only 18-byte long
#
# EEPROM data decoding for Sony Vaio laptops.
#
@ -225,7 +226,7 @@ sub vaio_decode
print_item('Asset Tag', decode_string($bus, $addr, 170, 4).
decode_hexa($bus, $addr, 174, 12));
print_item('OEM Data', decode_string($bus, $addr, 32, 16));
print_item('Timestamp', decode_string($bus, $addr, 224, 32));
print_item('Timestamp', decode_string($bus, $addr, 224, 18));
return 1;
}

Loading…
Cancel
Save