From f9bad5666dbe219944fb8d6cc8dbb4a151601687 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Thu, 20 Nov 2008 18:01:10 +0000 Subject: [PATCH] Clarify the requirements of data value masking. git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5392 7894878c-1315-0410-8ee3-d5d059ff63e0 --- tools/i2cset.8 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/i2cset.8 b/tools/i2cset.8 index d99dd55..51ea8c8 100644 --- a/tools/i2cset.8 +++ b/tools/i2cset.8 @@ -42,7 +42,10 @@ scripts. The \fImask\fR parameter, if specified, describes which bits of \fIvalue\fR will be actually written to \fIdata-address\fR. Bits set to 1 in the mask are taken from \fIvalue\fR, while bits set to 0 will be read from -\fIdata-address\fR and thus preserved by the operation. +\fIdata-address\fR and thus preserved by the operation. Please note that +this parameter assumes that the read and write operations for the specified +mode are symmetrical for the device you are accessing. This may or may not +be the case, as neither I2C nor SMBus guarantees this. .PP There are three required options to i2cset. \fIi2cbus\fR indicates the number or name of the I2C bus to be scanned. This number should correspond to one of