Thanks in advance for the help.
I run debian buster, with the latest backported kernel 5.7. I want to add a usb entity for a usb-based audio headset inside virt-manager. It is a graphical tool to start kvm images, in which I use a Windows VM. When I configure to add a usb entity, I see only my keyboard and my mouse. The headset is not detected.
So either I can forward the USB bus itself and let windows do the detection,
or I have to fix the USB detection in Linux itself.
The headset's model:
https://www.deltaco.eu/en/products/l...%A5por/GAM-074
In this other thread, they say it should be detected as a sound card (weird since it has a microphone also)
https://www.linuxquestions.org/quest...sa-4175542418/
But it is not detected.
cat /proc/asound/cards
0 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0x92c30000 irq 142
I activated at boot time snd-usb-audio in /etc/modules, but I did not understand how to configure it.
> lsmod | grep ^snd_hda_intel
snd_hda_intel 57344 2
> lsmod | grep ^snd_usb
snd_usb_audio 311296 0
snd_usbmidi_lib 40960 1 snd_usb_audio
The heaset is on usb 3.1, on bus 2. I know that because the socket in use is blue and the speed is 10000M in lsusb -t
sudo lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 046d:c069 Logitech, Inc. M-U0007 [Corded Mouse M500]
Bus 001 Device 003: ID 046d:c333 Logitech, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
sudo lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 10000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/16p, 480M
|__ Port 8: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 12: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 12: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 12M
the usb bus 2 part in dmesg after booting, and nothing is added when inserting the usb socket after booting.
[ 1.344676] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.07
[ 1.344677] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.344677] usb usb2: Product: xHCI Host Controller
[ 1.344678] usb usb2: Manufacturer: Linux 5.7.0-0.bpo.2-amd64 xhci-hcd
[ 1.344678] usb usb2: SerialNumber: 0000:00:14.0
[ 1.344835] hub 2-0:1.0: USB hub found
[ 1.344871] hub 2-0:1.0: 10 ports detected
After reading the intro below of usb_modeswtich, it seems that the process of setting up drivers on Windows is complex and would require lots of effort to "eavesdrop" and then replicate on linux.
https://www.draisberghof.de/usb_modeswitch/
So I am prioritizing the solution with kvm otions to just forward the usb bus and then let windows do the driver detection.