How can I fix having to type alsa force-reload after each startup?
I am using Ubuntu 16.04 and try connect SOYTO SY733MV Black/Blue (USB-Headphones),
$ lsusb - show next:
...
Bus 003 Device 007: ID 8086:0808 Intel Corp.
...
and in /var/log/kern.log show next error [snd-usb-audio: probe of 3-2:1.0 failed with error -16] :
[34545.631107] usb 3-3: Product: USB 2.0 Hub
[34545.632062] hub 3-3:1.0: USB hub found
[34545.632156] hub 3-3:1.0: 4 ports detected
[34545.889431] snd-usb-audio 3-2:1.0: cannot find the slot for index 0 (range 0-0), error: -16
[34545.889437] usb 3-2: cannot create card instance 0
[34545.889443] snd-usb-audio: probe of 3-2:1.0 failed with error -16
I fixed error above performed next action:
1) updated alsa-base.conf
$ sudo nano/etc/modprobe.d/alsa-base.conf
options snd_usb_audio index=auto
options snd_hda_intel index=2,3
2) unplugged USB headphones and execute next:
$ sudo alsa force-reload
After plugging USB headphones show next log:
$ dmesg
[ 6366.029686] usb 3-3.2: new full-speed USB device number 19 using xhci_hcd
[ 6366.120030] usb 3-3.2: New USB device found, idVendor=8086, idProduct=0808
[ 6366.120038] usb 3-3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6366.120043] usb 3-3.2: Product: USB PnP Sound Device
[ 6366.120047] usb 3-3.2: Manufacturer: C-Media Electronics Inc.
[ 6366.130665] input: C-Media Electronics Inc. USB PnP Sound Device as /devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3.2/3-3.2:1.3/0003:8086:0808.0012/input/input33
[ 6366.186230] hid-generic 0003:8086:0808.0012: input,hidraw0: USB HID v1.00 Device [C-Media Electronics Inc. USB PnP Sound Device] on usb-0000:00:14.0-3.2/input3
in Control::Input device
new device: USB Pnp Sound device
3) set next in updated alsa-base.conf
$ sudo nano/etc/modprobe.d/alsa-base.conf
options snd_usb_audio index=1
options snd_hda_intel index=auto
reboot system.
If this problem occurs after upgrading from Ubuntu 18.04 to 20.04, it's not a problem in alsa itself but in the timidity converter.
Disable timidity and you won't even need to force reboot alsa on startup
systemctl disable timidity