All of lore.kernel.org
 help / color / mirror / Atom feed
From: "George Hung (洪忠敬)" <George.Hung@quantatw.com>
To: "OpenBMC Maillist (openbmc@lists.ozlabs.org)" <openbmc@lists.ozlabs.org>
Cc: "Patrick Venture (venture@google.com)" <venture@google.com>,
	"emilyshaffer@google.com" <emilyshaffer@google.com>,
	"benjaminfair@google.com" <benjaminfair@google.com>,
	"vernon.mauery@linux.intel.com" <vernon.mauery@linux.intel.com>
Subject: Sending I2C command via google-ipmi i2c
Date: Fri, 12 Apr 2019 05:46:40 +0000	[thread overview]
Message-ID: <81e4866b111a47d991f767df3c6b4b0a@quantatw.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 681 bytes --]

Hi all,

I’m trying to sending ipmi I2C command via google-ipmi-i2c extension,
but I will get the response error, “Unspecified error” from ipmitool.

There are the command and response example below:

# ipmitool raw 0x2e 0x02 0x79 0x2b 0x00 1 0 0x98 0 1 0 0x99 0 2
Unable to send RAW command (channel=0x0 netfn=0x2e lun=0x0 cmd=0x2 rsp=0xff): Unspecified error

I check the error message from journal and it indicates that cannot open /dev/i2c-121 and I think it used the first byte of IANA number (0x79) as bus number.

Has anyone ever met this situation ? or something I have to configure for phosphor-ipmi-host / google-ipmi-i2c ?


Best Regards
George Hung

[-- Attachment #2: Type: text/html, Size: 3868 bytes --]

             reply	other threads:[~2019-04-12  5:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-12  5:46 George Hung (洪忠敬) [this message]
2019-04-12 14:23 ` Sending I2C command via google-ipmi i2c Patrick Venture
2019-04-16  3:38   ` George Hung (洪忠敬)
2019-04-16  3:42     ` William Kennington

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=81e4866b111a47d991f767df3c6b4b0a@quantatw.com \
    --to=george.hung@quantatw.com \
    --cc=benjaminfair@google.com \
    --cc=emilyshaffer@google.com \
    --cc=openbmc@lists.ozlabs.org \
    --cc=venture@google.com \
    --cc=vernon.mauery@linux.intel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.