Jean Delvare
275b4aa94f
Decode voltage interface level of DDR SDRAM.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5733 7894878c-1315-0410-8ee3-d5d059ff63e0
16 years ago
Jean Delvare
5e742bac78
Be more robust against seek/read errors on sysfs.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5714 7894878c-1315-0410-8ee3-d5d059ff63e0
16 years ago
Jean Delvare
9759b37e87
Try harder to decode the manufacturing date.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5705 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
31177ee398
Add an option to merge identical cells. This makes the output even
clearer.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5702 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
8f3d98791e
Add missing entry.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5609 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
55d662f34f
Let the environment set CC and CFLAGS. Original patch from Mike Frysinger.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5597 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
30415b4597
Delete the decode-xeon script. It was essentially unmaintained, was
never updated to support Linux 2.6, and lacked a license statement.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5595 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
0933f4891c
Update.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5566 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
fa0a699f13
Add support for DDR3 SDRAM. Patch from Paul Goyette.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5551 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
0de7df39bf
Move checksum to a separate function. Handle CRC of FB-DIMM and DDR3
SDRAM memory modules. Based on an original patch from Paul Goyette.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5543 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
fd5a45d190
Use udev settle to speed up initialization.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5533 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
1cbc16700c
Set version to 3.0.2.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5453 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
00a240e7d3
Make reading back the written value optional.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5393 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
e230c1ebe5
Set the data value mask with -m. The old method is still supported for
compatibility, but is considered deprecated and is no longer documented.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5390 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
f2434f705f
Only export the ceil function from POSIX. By default, POSIX exports
everything, and this happens to generate warnings when using perl 5.10.0.
That's a perl bug, but we can still work around it and avoid potential
future issues of the same kind.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5388 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
34773ee2de
Drop I2C_FUNC_SMBUS_*I2C_BLOCK_2 defines, as was just done in the
Linux 2.6 kernel.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5361 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
8dfba8cc8c
Stop on i2cset error.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5293 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
3d7326080b
Behave properly when i2c-stub is already loaded.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5292 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
7da2ec5e48
Add support for little-endian word hexdumps.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5287 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
038139b95b
Add support for partial dumps.
Report if only garbage is found in dump file.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5280 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
79b9137fd4
Use consistent transaction names (based on the SMBus specification)
when complaining about a missing adapter functionality.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5242 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
fdba3b5163
Split the functionality checking code into a separate function for
clarity.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5239 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
740a2c181d
Add support for short writes (SMBus send byte).
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5237 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
2075fca653
Move the confirmation to a separate function, as is done in i2cget
already.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5209 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
69b9ad132e
Consistently restrict the allowed I2C device address to 0x03 - 0x77.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5203 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
7ba65d9e69
Unify and shorten the usage messages. The details can be found in
the man pages so no need to be verbose.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5201 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
1100d3f024
Update.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5197 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
11b8b02ca7
Set version to SVN.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5173 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
96972e2027
Set version to 3.0.1.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5167 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
68e82f5a52
Drop the trailing .pl from all perl script names.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5162 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
c12f721d2b
Drop $opt_body, name was confusing and we can easily do without it.
Update header comment, drop redundant command line interface documentation.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5160 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
9c55a38225
Patch from Trent Piepho:
This adds a "-x" option to decode-dimms.pl, which lets one supply a list of
file names to read SPD data from. It can parse various hexdump formats, such
as the output from i2cdump, eeprog, and the util-linux and Busybox hexdump
progams run on a sysfs eeprom file.
Useful for decoding SPD data that you cut and pasted from a manufacturer's
website or from a DIMM installed on an embedded system that does not have
perl/etc, but does have a serial console with busybox.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5157 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
a90204d162
Patch from Trent Piepho:
This lets decode-dimms.pl decode almost all of the SPD data for DDR2 dimms.
Included are all the detailed timing parameters with their standard tXXX
names, useful if one is trying to program a DDR memory controller for
example. Or just to compare against any other SPD dump or memory spec
sheet.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5152 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
3475df8b5e
Let the user specify a register range.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5151 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
89fa7ca617
Remove reference to hardware monitoring chips. i2cdump works on all I2C/SMBus
chips, not just hardware monitoring chips.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5140 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
c2005584fc
Don't print anything by default if the checksum fails. There are many more
EEPROMs in modern computers than just SPD EEPROMs, and there's no reason
to include them in the output of decode-dimms.pl.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5087 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
01b7d448e2
Return the correct error code on I2C block read failure.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5073 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
4e6f3a7057
The timestamp is only 18-byte long.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5029 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
581a2d18bf
The model name is actually the first half of the asset tag.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5027 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
b0eab1586b
Private Sony Vaio data might not be readable by non-root users.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5026 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Rudolf Marek
97346c5f45
Update IDs (JEP106W). Change 'formerly' to 'former'.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5017 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
4584afd793
decode-dimms: Fix DDR2 SDRAM module speed decoding.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5011 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
e38f906839
Add a manual page for i2c-stub-from-dump.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5005 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
4570dd2ff2
i2c-stub-from-dump: New helper script to use with the i2c-stub kernel
driver.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5002 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
c2f0191aa1
Final status messages go to stdout.
Fix two harmless file descriptor leaks.
Don't return an error when readback fails or doesn't match, it might be OK.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5001 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
704284a86b
Prepare for the 3.0.0 release.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@4954 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago