How to emulate an i2c device on QEMU x86?

半腔热情 提交于 2019-12-20 03:50:31

问题


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!


回答1:


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.



来源:https://stackoverflow.com/questions/18501660/how-to-emulate-an-i2c-device-on-qemu-x86

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!