简体   繁体   中英

How to emulate an i2c device on QEMU x86?

I am work on QEMU 1.5/1.6, but haven't seen any docs for adding an device on i2c bus.
Can any one help?
Thanks!

OK, nobody interested in this issue.
I post my own solution. Cause QEMU does not support I2C bus level data transfer, it has delay when transfer multi-touch data from QEMU to guest Linux.
So we create a shared memory on guest Linux kernel driver, and QEMU transfers the data directly through the shared memory, and it has a good speed.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM