LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Virtualization and Cloud (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/)
-   -   qemu-system-arm and USB (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/qemu-system-arm-and-usb-4175714396/)

lakis70 07-07-2022 11:31 PM

qemu-system-arm and USB
 
Hello
I want to ask how i can make the guest shown from host as USB peripheral (not to use the hosts usb devices). I want to virtual plug my guest and lsusb on host to list it. Also i want to run adbd on guest and adb on host.
QEMU is 6.2 and OS is Slackware 15. I try with versatilepb and virtio machines.

smallpond 07-09-2022 01:32 PM

QEMU already has host emulation, so should be able to support connecting your virtual device. Making it look like its an actual device to your host may require a driver on the host to create a virtual controller. When I looked around for such a beast I found https://sourceforge.net/projects/usb-vhci/ which seems to be an active project. I don't know what it would take to get it to talk to QEMU, though.

lakis70 07-11-2022 06:27 PM

Quote:

Originally Posted by smallpond (Post 6366613)
I don't know what it would take to get it to talk to QEMU, though.

me too

lakis70 07-12-2022 10:25 PM

I think one part of the problem is that the device tree doesn't mention the otg423 controller that why if i load the g_ether module dmesg says <<couldn't find an available UDC - added [g_ether] to list of pending drivers>>. Someone with more knowledge about? I will try the vexpress dts.


All times are GMT -5. The time now is 11:52 PM.