All Questions
31
questions
1
vote
1
answer
49
views
USB device not detected upon quest when I usb passthrough using qemu
I run an Ubuntu Iso as:
#!/bin/bash
MEM_SIZE=4096
qemu-system-x86_64 \
-accel kvm \
-cpu host \
-m ${MEM_SIZE} \
-M q35 \
-bios /usr/share/ovmf/OVMF.fd \
-device qemu-xhci \
-usb -device usb-host,...
-1
votes
1
answer
162
views
How do I physically pass a USB device to a QEMU VM
I've been trying to use a Linux QEMU virtual machine for USB driver development. I wanted to use USB passthrough but when I check the USB device in the VM, it shows some kind of generated product id ...
0
votes
0
answers
61
views
USB passthrough in Android emulator on MacOS M1 failing to acquire exclusive access
I am trying to get my Android emulator to see the Wi-Fi dongle or my Ethernet dongle connected over USB to the Macbook Pro M1. I tried the following methods:
Command:
./emulator -avd MyTestEmulator -...
0
votes
0
answers
35
views
redirdev device support live migration?
I am tyring to do live migration with redirdev usb device,
there is redirdev usb device define in source,
but the usb device will be absent in target vm after migration until I perform attach-device:
$...
0
votes
1
answer
85
views
USB prevent automatic device disconnect due to missing firmware
I have a TP LINK usb wifi adapter. This is what happens when I plug it in:
[ 153.838373] usb 2-1.1: new high-speed USB device number 5 using ehci-pci
[ 153.951203] usb 2-1.1: New USB device found, ...
5
votes
1
answer
11k
views
Redirect USB device in KVM while guest is running
I have two USB Redirector devices in my KVM, created using virt-manager:
<redirdev bus="usb" type="spicevmc">
<alias name="redir0"/>
<address type=&...
0
votes
2
answers
3k
views
How to connect a USB device?
There is a sensor. This sensor is connected via USB, the file name is ttyUSB0 lying in the /dev folder. There is a set of commands:
1: -m 1024 \
2: -cpu core2duo \
3: -serial stdio \
4: -display none \...
2
votes
1
answer
1k
views
Virt-manager -- USB device visibility on host and in Linux VM, but not in Windows VM
I have an FTDI device connected to my host (machine that runs hypervisor i.e. virt-manager/qemu).
Host sees the device just fine:
ziga@ziga--hypervisor:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux ...
1
vote
2
answers
951
views
From USB wifi dongle interface determine vendor: product ID
I am in the process of developing a bash script which automates the addition of a USB wifi dongle to a virtual machine (QEmu/KVM virtualization) and therefore to add a wifi key to a VM.
[edit]This VM ...
0
votes
0
answers
236
views
How to pass through USB device to guest VM? What are "hostaddr", "hostport" etc? [duplicate]
I have the following on the host machine
$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-...
1
vote
1
answer
372
views
Why does my USB device disapear when I pass it to a qemu virtual machine?
I have a realtek wireless dongle that I want to pass to a qemu virtual machine. When I start the VM, the usb device shows up on both the host and in the guest as expected (shows up in lsusb, under /...
2
votes
1
answer
4k
views
Cannot get USB passthrough working with QEMU MacOS (Arch Linux host)
I'm using this repo to run MacOS High Sierra on my Arch Linux. All is fine, however cannot seem to get USB passthrough working for my Lego NXT (current Lego Mindstorms software doesn't support NXT 2....
2
votes
1
answer
824
views
How to prevent sound getting distorted when adding an USB passthrough for my controller to a KVM/QEMU virtual machine?
I created a virtual machine with aqemu and the sound was working properly in the vm. Then under Media -> Computer Ports -> Add USB Port I added a passthrough for my mixer connected via USB. After ...
1
vote
0
answers
774
views
Connecting iOS devices to KVM guest
I'm trying to connect an iPad to a MacOS guest via KVM. The MacOS guest runs fine, PCIe passthrough to a K4000 also works. OS is Fedora 31, 5.5.10-200.fc31.x86_64. Libvirt/virsh is 5.6.0, QEMU is qemu-...
2
votes
0
answers
384
views
USB Support in Qemu User Mode Emulation
I have a CLI program compiled for x86_64 for which I have no source code (a firmware programming utility). I would like to run this on a Raspberry Pi.
The program runs fine using Qemu user mode ...