broken usb mirophone with kvm - FIXED

If none of the more specific forums is the right place to ask

broken usb mirophone with kvm - FIXED

Postby MagicPoulp » 2020-12-01 08:35

EDIT: this is now fixed.
Adding a usb redirector in virt-manager solved the problem very simply. So one must not add manually the usb device in virt-manager. I also had crashes befopre if I try to add a mouse manually as a usb device.

---

I could use a usb microphone before, in a windows guest, with kvm. But now I cannot and I don't know what changed. It used to work plug and play.

Since it does not work, I found I can add it manually in virt-manager, I can see the device with the manufacturer name,
then if I open a program about to use it or the windows sound settings, the VM crashes with the following log.


I get this in /var/log/libvirt/qemu.log
qemu-system-x86_64: /build/qemu-oK652D/qemu-3.1+dfsg/hw/usb/host-libusb.c:819: usb_host_ep_update: Assertion `udev->altsetting[i] < conf->interface[i].num_altsetting' failed.
2020-12-01 09:20:38.916+0000: shutting down, reason=crashed


lsusb finds the device:
Bus 001 Device 006: ID 0909:0051 Audio-Technica Corp.





-----

What does this assertion check?
https://github.com/qemu/qemu/blob/maste ... t-libusb.c
for (i = 0; i < conf->bNumInterfaces; i++) {
assert(udev->altsetting[i] < conf->interface[i].num_altsetting);
MagicPoulp
 
Posts: 423
Joined: 2018-11-05 21:30

Return to General Questions

Who is online

Users browsing this forum: No registered users and 20 guests

fashionable