Jean Delvare
9160a95ad0
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
17 years ago
Jean Delvare
c3d335575f
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
17 years ago
Jean Delvare
8603e2aab2
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
2e942d16a5
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
2c57ef91a2
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
386982ae7f
Update.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5197 7894878c-1315-0410-8ee3-d5d059ff63e0
18 years ago
Jean Delvare
3b4d0d1940
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
85443f4b8f
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
ef4592db09
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
a8a3f9c7ac
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
a56e6baf47
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
09e1d02772
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
8e4ddd1f56
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
0d1b482ef0
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
726895ced3
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
7abc52d779
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
000c929755
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
16a99f4b96
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
670d3a6d92
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
49683302a6
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
d928de76a7
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
5d732a3e27
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
87c129180f
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
afff1260eb
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
53ebfce9dc
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