So, after struggling for weeks to figure out how to get sound through my Logitech Wireless Headset in a browser, I finally came across a post on the debian forums and enabled me to fix this problem. Here's how you do it:
First, find out what modules are loaded:
skrave@debian:~$ cat /proc/asound/modules 0 snd_usb_audio 1 snd_hda_intel 2 snd_hda_intel
As you can see, in my case I have the usb audio module and the intel hda modules. Right now my usb audio is showing as 0 because I've changed the order in which they load and made usb audio index 0.
Next, you need to find the vid and pid of the device you want to be default using lsusb.
skrave@debian:~$ lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 002: ID 046d:0a29 Logitech, Inc. Bus 003 Device 003: ID 046d:c245 Logitech, Inc. Bus 004 Device 002: ID 1532:0109 Razer USA, Ltd Lycosa Keyboard
As you can see, I have a logitech mouse and the logitech headset. I unplugged the headset to determine that the headset's vid is the 046d and the pid is 0a29.
Now, you need to add these two lines to the bottom of /etc/modprobe.d/alsa-base.conf
options snd slots=snd_usb_audio,snd_hda_intel,snd_hda_intel options snd_usb_audio index=0 vid=0x046d pid=0x0a29
Now, you can change this to your needs. In my case, I wanted the headset to be index 0, so I put the usb audio as index 0 and then specified the vid and pid (you need to put 0x before each). After saving the file, do a reboot and your specified device should appear as index 0 and be the alsa default. Once I did this, my headset worked instantly in my browser.
Nice How To sKrave, I have added it to Quick References.
VSIDO | Words That Build Or Destroy
We do not run from challenges, they become new innovations within VSIDO!