Jean Delvare
fd3d0c91d5
In side-by-side merged cells mode, don't make columns larger than they
need to be.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6066 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
fe0364cb21
If either SMBus Quick Write or SMBus Receive Byte command is missing,
still proceed and do a best-effort detection.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6064 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
186311fb8b
Don't choke when no SPD EEPROM is found while the eeprom or at24 driver is
loaded. This can happen, handle the case gracefully.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6062 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
bf690d8371
libi2c: Use I2C_SMBUS_BLOCK_MAX instead of hard-coding 32
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6059 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
330bba29f3
libi2c: Properly propagate real error codes on read errors
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6058 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
de3b853bb4
Add a copy of the LGPL v2.1, and clarify licenses.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6055 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
251d594fd0
New library for I2C device access under Linux. As a first step, the
library will host the i2c_smbus_*() inline functions which were
previously in the user-space flavor of <linux/i2c-dev.h>.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6054 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
93caf007f4
i2c-dev: Move SMBus helper functions to include/i2c/smbus.h
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6048 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
6526191219
i2c-dev.h: Minimize differences with kernel flavor
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6047 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
f043eb5430
Decode and print bus width extension of DDR3 memory modules.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6042 7894878c-1315-0410-8ee3-d5d059ff63e0
13 years ago
Jean Delvare
50eccc620f
i2c-stub-from-dump: Be more tolerant on input dump format
Allow for uppercase hexadecimal digits, "|" instead of ":" as the address
separator, and an optional space before said separator. i2cdump doesn't
use any of these but other dump tools do, so this improves
compatibility.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6013 7894878c-1315-0410-8ee3-d5d059ff63e0
14 years ago
Jean Delvare
d0a411f46c
Set version to 3.1.0.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6002 7894878c-1315-0410-8ee3-d5d059ff63e0
14 years ago
Jean Delvare
add2bce315
Add support for the at24 kernel driver.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5929 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Jean Delvare
1981d2ef40
Decode module configuration type and refresh rate of DDR SDRAM.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5928 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Guenter Roeck
670782bf29
CHANGES update for i2cset
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5925 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Guenter Roeck
7dd2610269
i2cset: Removed obsolete method to specify value mask
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5921 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Guenter Roeck
fcc8ce36b8
Added support to write SMBus and I2C block commands to i2cset
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5911 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Jean Delvare
210dd401a5
Make value arrays const for block write functions. Patch from Roman
Fietze.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5894 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Jean Delvare
7e636d2ae3
Set version to 3.0.3.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5892 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Jean Delvare
e241a27bdd
Simplify change list.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5890 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Jean Delvare
3a5d21649e
Use a 20-bit limit for the i2c bus number.
Use snprintf for the i2c dev node name.
Update copyright years.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5885 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Jean Delvare
54a2dcbba5
tools: Drop arbitrary limit on I2C bus number
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5884 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Jean Delvare
604db400f8
Point users to the linux-i2c mailing list for questions and bug
reports.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5882 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Jean Delvare
7e6f85bfc5
Drop legacy reference to ISA bus. The i2c-isa fake bus driver is gone
long ago, today the message is only confusing.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5862 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Jean Delvare
e8c558c9a5
Properly handle the rare case where /dev/i2c exists but isn't a
directory. Patch from Florian Fainelli.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5854 7894878c-1315-0410-8ee3-d5d059ff63e0
15 years ago
Jean Delvare
3d8b5e9b61
Add support for multiple dumps. This makes it easier to setup test
environments with more than one I2C chip.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5830 7894878c-1315-0410-8ee3-d5d059ff63e0
16 years ago
Jean Delvare
9a6022de1b
Unload i2c-stub automatically if needed.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5828 7894878c-1315-0410-8ee3-d5d059ff63e0
16 years ago
Jean Delvare
2ea4dccae0
Add support for short writes with PEC.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5771 7894878c-1315-0410-8ee3-d5d059ff63e0
16 years ago
Jean Delvare
7c1ce6a507
Fix array initialization overrun. Reported by David Binderman.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5746 7894878c-1315-0410-8ee3-d5d059ff63e0
16 years ago
Jean Delvare
71f241a1e1
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
722106833a
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
f0249a02bb
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
aeec8074a5
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
1fa6e1c3b1
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
03aa66377f
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
4b89e48a10
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
929a2e1846
Update.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5566 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
41277a7c4b
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
25dae9734d
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
e096011986
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
ed1356ea0b
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
35a929de32
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
c797cbaaeb
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
8cc99d7f45
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
aad070abd0
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
6a2f709549
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
cc17bf04ca
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
d34a2c94fc
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
f575d048f4
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
54cee12770
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
17 years ago