|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] Trying to write a new device / virtio-i2c ? |
Date: | Mon, 17 Feb 2014 10:19:11 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
Il 17/02/2014 09:35, Alex David ha scritto:
- Are there solutions that seems more adapted to my case ? Like using USB-I2C bridge ?
From an upstream point of view, a host passthrough device pair (one object talking to /dev/i2c-N on the host, and one device per sensor talking to the other object) would be the best.
But if you can make I2C-over-parallel work, that would also be interesting. And not much new code to write: all you need to parse the bitbanging I2C protocol is already in hw/i2c/bitbang_i2c.c.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |