qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] i2c-tiny-usb noob question


From: Paolo Bonzini
Subject: Re: [Qemu-devel] i2c-tiny-usb noob question
Date: Tue, 17 Nov 2015 18:20:55 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0


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 via email to

[Prev in Thread] Current Thread [Next in Thread]