From: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
To: Guenter Roeck <guenter.roeck-IzeFyvvaP7pWk0Htik3J/w@public.gmane.org>
Cc: Linux I2C <linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: i2ctools: Need capability to write SMBus block command
Date: Tue, 25 Jan 2011 17:49:22 +0100 [thread overview]
Message-ID: <20110125174922.4c802f49@endymion.delvare> (raw)
In-Reply-To: <20110125162106.GA8024-IzeFyvvaP7pWk0Htik3J/w@public.gmane.org>
Hi Guenter,
On Tue, 25 Jan 2011 08:21:06 -0800, Guenter Roeck wrote:
> I need the capability to write a SMBus block command with i2ctools.
>
> Not an issue writing it myself. Question is if to expand i2cset to include
> that capability, or to write a new command (i2csetblock ?) to do it.
>
> Thoughts ?
This would probably be best discussed on the linux-i2c list than
lm-sensors. Redirecting there...
I would add it to i2cset. The only problem is that the command line
convention of i2cset is a little tricky and thus hard to extend. But I
see no reason why allowing multiple VALUEs followed by MODE s (for
SMBus block) or i (for I2C block) wouldn't work. I suggest i and s
because this is what i2cdump is using.
--
Jean Delvare
next prev parent reply other threads:[~2011-01-25 16:49 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20110125162106.GA8024@ericsson.com>
[not found] ` <20110125162106.GA8024-IzeFyvvaP7pWk0Htik3J/w@public.gmane.org>
2011-01-25 16:43 ` i2ctools: Need capability to write SMBus block command Guenter Roeck
2011-01-25 16:49 ` Jean Delvare [this message]
[not found] ` <20110125174922.4c802f49-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2011-01-25 17:14 ` Guenter Roeck
2011-01-27 16:00 ` [PATCH] i2ctools: Add capability to write " Guenter Roeck
[not found] ` <20110127160058.GA16853-IzeFyvvaP7pWk0Htik3J/w@public.gmane.org>
2011-01-27 16:59 ` Jean Delvare
[not found] ` <20110127175908.488edda3-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2011-01-27 18:36 ` Guenter Roeck
2011-01-27 19:58 ` [PATCH v2] " Guenter Roeck
[not found] ` <20110127195842.GA17775-IzeFyvvaP7pWk0Htik3J/w@public.gmane.org>
2011-01-29 16:43 ` Jean Delvare
[not found] ` <20110129174354.2b146a19-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2011-01-29 17:39 ` Guenter Roeck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110125174922.4c802f49@endymion.delvare \
--to=khali-puyad+kwke1g9huczpvpmw@public.gmane.org \
--cc=guenter.roeck-IzeFyvvaP7pWk0Htik3J/w@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).