November 11, 20214 yr I have a USB microphone a Trust GXT 232. Whenever I try to add this USB as a passed through USB the config saves. When I then start my Ubuntu VM I get the following error after about 15 seconds. qemu-system-x86_64: hw/usb/host-libusb.c:838: usb_host_ep_update: Assertion `udev->altsetting[i] < conf->interface[i].num_altsetting' failed. 2021-11-11 07:57:49.628+0000: shutting down, reason=crashed I have the following about the USB in my VM XML (i added it using the UI) <hostdev mode='subsystem' type='usb' managed='no'> <source> <vendor id='0x145f'/> <product id='0x0254'/> </source> <address type='usb' bus='0' port='4'/> </hostdev> Does anyone have an idea what this error means and what I can change to get it to work?
November 18, 20214 yr Author For some reason it does work in my Windows VM. So parhaps its something with Linux VM's specifically.
November 18, 20214 yr Hi I don't have the "how to fix", but this may be of interest: https://forums.debian.net/viewtopic.php?f=10&t=148165 Same as you, running debian, same error, same device (mic). The user says he solved by: Adding a usb redirector in virt-manager solved the problem very simply. Try to search about how to add that "redirector" to your xml template.
December 1, 20214 yr Author Tnx! I will give that a try and post back if that worked. My previous post about the Windows VM working was also not entirely true, it booted but ended up breaking when actually trying to use the microphone for a longer time. I will have a look at this this weekend I think
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.