qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Tim Sander <tim@krieglstein.org>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] i2c-tiny-usb noob question
Date: Tue, 17 Nov 2015 18:20:55 +0100	[thread overview]
Message-ID: <564B61F7.30902@redhat.com> (raw)
In-Reply-To: <3124506.girTOD66fI@dabox>



On 17/11/2015 17:25, Tim Sander wrote:
> I can instantiate my i2c-tiny-usb with the following command line option:
> -device usb-i2c-tiny,id=i2c-0
> 
> Now i would like to add child devices to this device instance. Unfortunatly i 
> could not find out how to add e.g. the tmp105 sensor to this i2c-bus. It always 
> apears on its own bus. Is this possible?

Yes, like

	-device usb-i2c-tiny,id=usbi2c -device tmp105,bus=usbi2c.0

(possibly even without the ".0", I don't recall).

Paolo

      reply	other threads:[~2015-11-17 17:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-17 13:45 [Qemu-devel] i2c-tiny-usb noob question Tim Sander
2015-11-17 14:12 ` Paolo Bonzini
2015-11-17 14:47   ` Tim Sander
2015-11-17 14:54   ` Tim Sander
2015-11-17 16:25   ` Tim Sander
2015-11-17 17:20     ` Paolo Bonzini [this message]

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=564B61F7.30902@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=tim@krieglstein.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).