From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43517) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyjwG-0007Zq-Vh for qemu-devel@nongnu.org; Tue, 17 Nov 2015 12:21:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZyjwD-0000N6-OS for qemu-devel@nongnu.org; Tue, 17 Nov 2015 12:21:04 -0500 Received: from mx1.redhat.com ([209.132.183.28]:35572) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyjwD-0000Mt-Jn for qemu-devel@nongnu.org; Tue, 17 Nov 2015 12:21:01 -0500 References: <1691671.NeDo6VeWzF@dabox> <564B35CD.9080905@redhat.com> <3124506.girTOD66fI@dabox> From: Paolo Bonzini Message-ID: <564B61F7.30902@redhat.com> Date: Tue, 17 Nov 2015 18:20:55 +0100 MIME-Version: 1.0 In-Reply-To: <3124506.girTOD66fI@dabox> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] i2c-tiny-usb noob question List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Tim Sander , qemu-devel@nongnu.org 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