#StackBounty: #sound #pulseaudio #alsa #microphone Microphone not set to input device Ubuntu 20.04

Bounty: 50

I have upgraded to ubuntu 20.04 from 18.04, after upgrading i noticed that the microphone is not set as input device in the settings, it appears blank like shown in the below picture, my pc model is Dell Precision 3440

enter image description here

However when i choose this list, i can see my system microphone and my headset microphone, the only problem is there is no microphone set automatically in this selection field. After setting the system microphone, if i try to connect my headset, again this field turns in to blank.

I tried to do

options snd_hda_intel index=0 model=[YOUR_MODEL_SETTING]

as mentioned on arch wiki, but it made it worse, because after setting this, i cant find any of my microphones at the GUI, this problem occurs only if i unplug or insert my headset.


Get this bounty!!!

#StackBounty: #18.04 #sound #pulseaudio Audio input not working; greyed out in pavucontrol [Ubuntu 18.04.5 LTS]

Bounty: 50

Audio input used to work fine.

I tried restarting pulseaudio with killall pulseaudio and pulseaudio -k, followed by pulseaudio --start

pavucontrol screenshots:

input greyed out

config looks fine

Also I looked up how to list audio input devices and tried that, in case it’s helpful:

$ aplay --list-devices
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC3232 Analog [ALC3232 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: PCH [HDA Intel PCH], device 0: ALC3232 Analog [ALC3232 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

That’s my built-in mic right? I don’t know where to go from here.


Get this bounty!!!

#StackBounty: #drivers #nvidia #sound #pulseaudio NVidia Sound Output Device Missing

Bounty: 50

I am using Ubuntu 20.04.

When I booted my PC, I could select my GPU’s DisplayPort cable as an audio out.

Now it has disappeared, and I only see my motherboard’s output device.

If I run pacmd list-cards, I still see the NVidia device:

$ pacmd list-cards

2 card(s) available.
    index: 0
    name: <alsa_card.pci-0000_07_00.1>
    driver: <module-alsa-card.c>
    owner module: 7
    properties:
        alsa.card = "0"
        alsa.card_name = "HDA NVidia"
        alsa.long_card_name = "HDA NVidia at 0xfc080000 irq 88"
        alsa.driver_name = "snd_hda_intel"
        device.bus_path = "pci-0000:07:00.1"
        sysfs.path = "/devices/pci0000:00/0000:00:03.1/0000:07:00.1/sound/card0"
        device.bus = "pci"
        device.vendor.id = "10de"
        device.vendor.name = "NVIDIA Corporation"
        device.product.id = "0fb8"
        device.product.name = "GP108 High Definition Audio Controller"
        device.string = "0"
        device.description = "GP108 High Definition Audio Controller"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card-pci"
    profiles:
        output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5900, available: no)
        output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 800, available: no)
        output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 800, available: no)
        output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5700, available: no)
        output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 600, available: no)
        output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 600, available: no)
        output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5700, available: no)
        output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 600, available: no)
        output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 600, available: no)
        output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5700, available: no)
        output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 600, available: no)
        output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 600, available: no)
        output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (priority 5700, available: no)
        output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (priority 600, available: no)
        output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (priority 600, available: no)
        off: Off (priority 0, available: unknown)
    active profile: <off>
    ports:
        hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
            properties:
                device.icon_name = "video-display"
        hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
            properties:
                device.icon_name = "video-display"
        hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
            properties:
                device.icon_name = "video-display"
        hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
            properties:
                device.icon_name = "video-display"
        hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: no)
            properties:
                device.icon_name = "video-display"
    index: 1
    name: <alsa_card.pci-0000_09_00.4>
    driver: <module-alsa-card.c>
    owner module: 8
    properties:
        alsa.card = "1"
        alsa.card_name = "HD-Audio Generic"
        alsa.long_card_name = "HD-Audio Generic at 0xfc400000 irq 90"
        alsa.driver_name = "snd_hda_intel"
        device.bus_path = "pci-0000:09:00.4"
        sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:09:00.4/sound/card1"
        device.bus = "pci"
        device.vendor.id = "1022"
        device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
        device.product.id = "1487"
        device.product.name = "Starship/Matisse HD Audio Controller"
        device.string = "1"
        device.description = "Starship/Matisse HD Audio Controller"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card-pci"
    profiles:
        input:analog-stereo: Analogue Stereo Input (priority 65, available: no)
        output:analog-stereo: Analogue Stereo Output (priority 6500, available: no)
        output:analog-stereo+input:analog-stereo: Analogue Stereo Duplex (priority 6565, available: no)
        output:analog-surround-21: Analogue Surround 2.1 Output (priority 1300, available: no)
        output:analog-surround-21+input:analog-stereo: Analogue Surround 2.1 Output + Analogue Stereo Input (priority 1365, available: no)
        output:analog-surround-40: Analogue Surround 4.0 Output (priority 1200, available: no)
        output:analog-surround-40+input:analog-stereo: Analogue Surround 4.0 Output + Analogue Stereo Input (priority 1265, available: no)
        output:analog-surround-41: Analogue Surround 4.1 Output (priority 1300, available: no)
        output:analog-surround-41+input:analog-stereo: Analogue Surround 4.1 Output + Analogue Stereo Input (priority 1365, available: no)
        output:analog-surround-50: Analogue Surround 5.0 Output (priority 1200, available: no)
        output:analog-surround-50+input:analog-stereo: Analogue Surround 5.0 Output + Analogue Stereo Input (priority 1265, available: no)
        output:analog-surround-51: Analogue Surround 5.1 Output (priority 1300, available: no)
        output:analog-surround-51+input:analog-stereo: Analogue Surround 5.1 Output + Analogue Stereo Input (priority 1365, available: no)
        output:iec958-stereo: Digital Stereo (IEC958) Output (priority 5500, available: unknown)
        output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analogue Stereo Input (priority 5565, available: no)
        off: Off (priority 0, available: unknown)
    active profile: <output:iec958-stereo>
    sinks:
        alsa_output.pci-0000_09_00.4.iec958-stereo/#0: Starship/Matisse HD Audio Controller Digital Stereo (IEC958)
    sources:
        alsa_output.pci-0000_09_00.4.iec958-stereo.monitor/#0: Monitor of Starship/Matisse HD Audio Controller Digital Stereo (IEC958)
    ports:
        analog-input-front-mic: Front Microphone (priority 8500, latency offset 0 usec, available: no)
            properties:
                device.icon_name = "audio-input-microphone"
        analog-input-rear-mic: Rear Microphone (priority 8200, latency offset 0 usec, available: no)
            properties:
                device.icon_name = "audio-input-microphone"
        analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: no)
            properties:
                
        analog-output-lineout: Line Out (priority 9000, latency offset 0 usec, available: no)
            properties:
                
        analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
            properties:
                device.icon_name = "audio-headphones"
        iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
            properties:
                

Why can’t I set my GPU as the output device anymore?

UPDATE: If I reboot my machine, I can see the GPU as an output device.

EDIT:

This fixed it

sudo apt-get install --reinstall alsa-base pulseaudio
pulseaudio -k && sudo alsa force-reload


Get this bounty!!!

#StackBounty: #sound #headphones #bug-reporting Ubuntu automatically selects the wrong option when I plug my headphones

Bounty: 50

I am using the latest Ubuntu 18.04 on a Dell G3 laptop and having an odd behaviour.
My sound on the headphones doesn’t work sometimes, even though I hear some clips when plugin in (showing that phone and hardware are working).

I looked for solutions online, installed packages and run several commands. The only one that works for me is typing alsactl restore once in a while. However it is not guaranteed that it will always work.

Looking around I found an interest thing.
On the input tab, when I select the headset option I have no audio but if I change it my audio comes back. This behaviour is coherent with my setup, since I have a headphone, not a headset. The problem is that the headset option is selected automatically when I plug in my headphone.

Does anyone know why this could be happening?

enter image description here


Get this bounty!!!

#StackBounty: #usb #sound #microphone Have to reconnect microphone every time I reboot

Bounty: 100

Using a Blue Yeti USB microphone, connected to a Dell dock, connected to a laptop on Ubuntu 20.04.1 LTS.

The external mic is set as the default through a startup script (pactl set-default-source alsa_input.usb-Generic_Blue_Microphones_LT_2007170933195F390975_111000-00.analog-stereo), and it is correctly identified whenever I reboot.

The problem is that even though the mic is listed there and selected, it does not actually receive any input unless I disconnect and reconnect the usb/power cable in the microphone.

Any ideas on what could be causing this?


Get this bounty!!!

#StackBounty: #sound #20.04 #hp 20.04 – No Speaker Audio on HP Spectre x360 2020 15t eb000

Bounty: 50

Recently bought a 2020 HP Spectre X360 15t eb000. It has both Intel sound and a 1650ti Nvidia GPU.

The speakers don’t work in Linux at all. Headphones work fine in Linux, and all sound works fine in Windows. I installed all updates in both Windows and Linux for firmware and BIOS updates, and have tried the following:

  • Made sure everything is unmuted and with volume in alsamixer.
  • Added options snd-hda-intel dmic_detect=0 to the end of /etc/modprobe.d/alsa-base.conf
  • Used hdajackretask to try and make retask unconnected pins. There seem to be 3 Speaker choices here, "Speaker", "Speaker Left" and "Speaker Back". Only "speaker" is connected. I tried retasking the 2 unconnected ones to unused pins but it didn’t work. Its also weird that when I came back after reboot, it showed the same pins as unused again. I reversed this after it didn’t work.
  • Made sure sound was at full volume and unmuted in Windows.

UPDATE for 08/03/2020

I updated to kernel 5.7, didn’t work. Reversed the change in /etc/modprobe.d/alsa-base.conf, did not work. I kept it reversed.

Tried the fix in https://blog.kafaiworks.com/posts/arch-linux-audio-setup-on-msi-gp63/. Didn’t work and actually made the sound through headphones kind of grainy, so I reversed it as well.

Headphones still work fine. alsamixer now shows Nvidia sound as default for some reason. It lets me change to the Intel sound.

UPDATE for 08/31/2020

Updated kernel to 5.8.5, BIOS to F.07, still no luck. I also added options snd-hda-intel index=1,0 to alsa config according to this thread on the Arch forums, which now makes the Intel card the default in alsamixer.

I also tested sound through HDMI, which works fine.

INFORMATION AS OF 08/31/2020

My current output for pacmd list-cards is the following. Note how Speaker availability is ‘unknown’:

pacmd list-cards
2 card(s) available.
    index: 0
    name: <alsa_card.pci-0000_01_00.1>
    driver: <module-alsa-card.c>
    owner module: 23
    properties:
        alsa.card = "1"
        alsa.card_name = "HDA NVidia"
        alsa.long_card_name = "HDA NVidia at 0x90080000 irq 17"
        alsa.driver_name = "snd_hda_intel"
        device.bus_path = "pci-0000:01:00.1"
        sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1"
        device.bus = "pci"
        device.vendor.id = "10de"
        device.vendor.name = "NVIDIA Corporation"
        device.product.id = "10fa"
        device.string = "1"
        device.description = "HDA NVidia"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card-pci"
    profiles:
        output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5900, available: no)
        output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 800, available: no)
        output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 800, available: no)
        output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5700, available: no)
        output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 600, available: no)
        output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 600, available: no)
        output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5700, available: no)
        output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 600, available: no)
        output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 600, available: no)
        output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5700, available: no)
        output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 600, available: no)
        output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 600, available: no)
        output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (priority 5700, available: no)
        output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (priority 600, available: no)
        output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (priority 600, available: no)
        output:hdmi-stereo-extra5: Digital Stereo (HDMI 6) Output (priority 5700, available: no)
        output:hdmi-surround-extra5: Digital Surround 5.1 (HDMI 6) Output (priority 600, available: no)
        output:hdmi-surround71-extra5: Digital Surround 7.1 (HDMI 6) Output (priority 600, available: no)
        off: Off (priority 0, available: unknown)
    active profile: <off>
    ports:
        hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
            properties:
                device.icon_name = "video-display"
        hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
            properties:
                device.icon_name = "video-display"
        hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
            properties:
                device.icon_name = "video-display"
        hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
            properties:
                device.icon_name = "video-display"
        hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: no)
            properties:
                device.icon_name = "video-display"
        hdmi-output-5: HDMI / DisplayPort 6 (priority 5400, latency offset 0 usec, available: no)
            properties:
                device.icon_name = "video-display"
    index: 1
    name: <alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic>
    driver: <module-alsa-card.c>
    owner module: 24
    properties:
        alsa.card = "0"
        alsa.card_name = "sof-hda-dsp"
        alsa.long_card_name = "HP-HPSpectrex360Convertible15t_eb000--86E7"
        alsa.driver_name = "snd_soc_skl_hda_dsp"
        device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
        sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
        device.bus = "pci"
        device.vendor.id = "8086"
        device.vendor.name = "Intel Corporation"
        device.product.id = "06c8"
        device.string = "0"
        device.description = "sof-hda-dsp"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card-pci"
    profiles:
        HiFi: Play HiFi quality Music (priority 8000, available: unknown)
        off: Off (priority 0, available: unknown)
    active profile: <HiFi>
    sinks:
        alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_5__sink/#1: sof-hda-dsp HDMI3/DP3 Output
        alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_4__sink/#2: sof-hda-dsp HDMI2/DP2 Output
        alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_3__sink/#3: sof-hda-dsp HDMI1/DP1 Output
        alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink/#4: sof-hda-dsp Speaker + Headphones
    sources:
        alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_5__sink.monitor/#1: Monitor of sof-hda-dsp HDMI3/DP3 Output
        alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_4__sink.monitor/#2: Monitor of sof-hda-dsp HDMI2/DP2 Output
        alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_3__sink.monitor/#3: Monitor of sof-hda-dsp HDMI1/DP1 Output
        alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink.monitor/#4: Monitor of sof-hda-dsp Speaker + Headphones
        alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__source/#5: sof-hda-dsp Headphones Stereo Microphone
        alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_6__source/#6: sof-hda-dsp Digital Microphone
    ports:
        [Out] HDMI3: HDMI3/DP3 Output (priority 700, latency offset 0 usec, available: no)
            properties:
                
        [Out] HDMI2: HDMI2/DP2 Output (priority 600, latency offset 0 usec, available: no)
            properties:
                
        [Out] HDMI1: HDMI1/DP1 Output (priority 500, latency offset 0 usec, available: no)
            properties:
                
        [Out] Speaker: Speaker (priority 100, latency offset 0 usec, available: unknown)
            properties:
                
        [Out] Headphones: Headphones (priority 200, latency offset 0 usec, available: no)
            properties:
                
        [In] Mic2: Headphones Stereo Microphone (priority 200, latency offset 0 usec, available: no)
            properties:
                
        [In] Mic1: Digital Microphone (priority 100, latency offset 0 usec, available: unknown)
            properties:

Output for aplay -l is:

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 1: HDA Digital (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 3: HDMI1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 4: HDMI2 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 5: HDMI3 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 11: HDMI 5 [HDMI 5]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

And here’s what dmesg shows me:

dmesg | grep snd
[    2.252960] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[    2.252962] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[    2.253047] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[    2.253102] snd_hda_intel 0000:01:00.1: Disabling MSI
[    2.253106] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[    2.591495] snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC285: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[    2.591496] snd_hda_codec_realtek ehdaudio0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    2.591497] snd_hda_codec_realtek ehdaudio0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    2.591497] snd_hda_codec_realtek ehdaudio0D0:    mono: mono_out=0x0
[    2.591498] snd_hda_codec_realtek ehdaudio0D0:    inputs:
[    2.591499] snd_hda_codec_realtek ehdaudio0D0:      Mic=0x19
[    2.637523] snd_hda_codec_realtek ehdaudio0D0: ASoC: sink widget AIF1TX overwritten
[    2.637525] snd_hda_codec_realtek ehdaudio0D0: ASoC: source widget AIF1RX overwritten
[    2.637555] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> DMIC48kHz 6 mapping ok
[    2.637557] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> DMIC16kHz 7 mapping ok
[    2.637562] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> HDA Analog 0 mapping ok
[    2.637566] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> HDA Digital 1 mapping ok
[    2.637568] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> HDMI1 3 mapping ok
[    2.637571] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> HDMI2 4 mapping ok
[    2.637574] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> HDMI3 5 mapping ok
dmesg | grep audio

[    2.253106] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[    2.280935] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[    2.280938] sof-audio-pci 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[    2.280948] sof-audio-pci 0000:00:1f.3: enabling device (0000 -> 0002)
[    2.281114] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[    2.344192] sof-audio-pci 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    2.423134] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
[    2.438667] sof-audio-pci 0000:00:1f.3: hda codecs found, mask 5
[    2.438668] sof-audio-pci 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[    2.438670] sof-audio-pci 0000:00:1f.3: DMICs detected in NHLT tables: 2
[    2.554393] sof-audio-pci 0000:00:1f.3: Firmware info: version 1:4:2-66a5a
[    2.554394] sof-audio-pci 0000:00:1f.3: Firmware: ABI 3:11:0 Kernel ABI 3:16:0
[    2.557125] sof-audio-pci 0000:00:1f.3: Topology: ABI 3:11:0 Kernel ABI 3:16:0
[    2.557127] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name iDisp3 Tx not handled
[    2.558092] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name codec0_in not handled
[    2.558093] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name iDisp2 Tx not handled
[    2.558996] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name codec1_in not handled
[    2.558997] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name iDisp1 Tx not handled
[    2.559892] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name codec0_out not handled
[    2.559893] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name Analog CPU Playback not handled
[    2.560774] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name codec1_out not handled
[    2.560774] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name Digital CPU Playback not handled
[    2.560775] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name codec2_in not handled
[    2.560792] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name Alt Analog CPU Playback not handled
[    2.560793] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name codec2_out not handled
[    2.560793] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name Analog CPU Capture not handled
[    2.561700] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name iDisp1_out not handled
[    2.561701] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name Digital CPU Capture not handled
[    2.562631] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name iDisp2_out not handled
[    2.562632] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name Alt Analog CPU Capture not handled
[    2.563553] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name iDisp3_out not handled
[    2.572765] sof-audio-pci 0000:00:1f.3: ASoC: Parent card not yet available, widget card binding deferred
[    2.591495] snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC285: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[    2.591496] snd_hda_codec_realtek ehdaudio0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    2.591497] snd_hda_codec_realtek ehdaudio0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    2.591497] snd_hda_codec_realtek ehdaudio0D0:    mono: mono_out=0x0
[    2.591498] snd_hda_codec_realtek ehdaudio0D0:    inputs:
[    2.591499] snd_hda_codec_realtek ehdaudio0D0:      Mic=0x19
[    2.637523] snd_hda_codec_realtek ehdaudio0D0: ASoC: sink widget AIF1TX overwritten
[    2.637525] snd_hda_codec_realtek ehdaudio0D0: ASoC: source widget AIF1RX overwritten

Current alsamixer view:

AlsaMixer


Get this bounty!!!

#StackBounty: #sound #pulseaudio #microphone #headphones Elgato Wave 3 only as input or output but not both

Bounty: 50

I was not able to find anything similar to this, so I hope this is not a duplicated cuestion…

I have the following issue with my Elgato Wave 3 microphone: when I want to use it as an input (microphone), it works like a charm, but when I connect the headphones at the back of it, using it also as an output (selecting it on settings panel or PulseAudio control), the microphone stops registering as an input, so I cannot use it anymore as a microphone, but headphones works…

I saw that it could have missing the output + input or duplex profile or something related to the profile, but I have no idea if I can add it or what can I do to solve this. I tried researching about pactl but I do not understand it fully.

The profiles I see are:

  1. Analog Stereo Output
  2. Digital Stereo (IEC958) Output
  3. Analog Mono Input
  4. Off

Thank you !


Get this bounty!!!

#StackBounty: #sound #bluetooth #pulseaudio #alsa #headphones Ubuntu 20.04 bluetooth headphones play through internal speakers

Bounty: 50

I’m trying to pair my Skullcandy Crusher Wireless headphones to my computer. I’m able to get them paired, and selected in the sound menu successfully, but for some reason audio still plays through the internal speakers?

I tried the fixes described in 477933, and https://www.nielsvandermolen.com/bluetooth-headphones-ubuntu/ to no avail

This is what my settings menu looks like:
settings img
Which is wierd because it looks like both the output and the input are hooked together, but I never set them that way?

Does anybody know how to fix this?

Edit

Here are the printouts from the dmesg commands in the tutorial from above

(base) aaron@aaron-Lenovo-IdeaPad-S340-15IILTouch:~$ dmesg | grep -i bluetooth # Shows all Bluetooth driver info
[    3.163206] Bluetooth: Core ver 2.22
[    3.163223] Bluetooth: HCI device and connection manager initialized
[    3.163231] Bluetooth: HCI socket layer initialized
[    3.163233] Bluetooth: L2CAP socket layer initialized
[    3.163235] Bluetooth: SCO socket layer initialized
[    3.216419] Bluetooth: hci0: Bootloader revision 0.1 build 0 week 11 2017
[    3.217429] Bluetooth: hci0: Device revision is 2
[    3.217430] Bluetooth: hci0: Secure boot is enabled
[    3.217430] Bluetooth: hci0: OTP lock is enabled
[    3.217431] Bluetooth: hci0: API lock is enabled
[    3.217431] Bluetooth: hci0: Debug lock is disabled
[    3.217432] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[    3.218922] Bluetooth: hci0: Found device firmware: intel/ibt-19-32-1.sfi
[    4.876884] Bluetooth: hci0: Waiting for firmware download to complete
[    4.877409] Bluetooth: hci0: Firmware loaded in 1623682 usecs
[    4.877453] Bluetooth: hci0: Waiting for device to boot
[    4.891412] Bluetooth: hci0: Device booted in 13645 usecs
[    4.891818] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-19-32-1.ddc
[    4.892417] Bluetooth: hci0: Failed to send Intel_Write_DDC (-22)
[    5.114099] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    5.114101] Bluetooth: BNEP filters: protocol multicast
[    5.114104] Bluetooth: BNEP socket layer initialized
[   13.193395] Bluetooth: RFCOMM TTY layer initialized
[   13.193409] Bluetooth: RFCOMM socket layer initialized
[   13.193416] Bluetooth: RFCOMM ver 1.11
(base) aaron@aaron-Lenovo-IdeaPad-S340-15IILTouch:~$ dmesg | grep -i bluetooth | grep -i firmware # Shows Bluetooth firmware issues
[    3.217432] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[    3.218922] Bluetooth: hci0: Found device firmware: intel/ibt-19-32-1.sfi
[    4.876884] Bluetooth: hci0: Waiting for firmware download to complete
[    4.877409] Bluetooth: hci0: Firmware loaded in 1623682 usecs
(base) aaron@aaron-Lenovo-IdeaPad-S340-15IILTouch:~$ lsusb # Displays hardware connected to the USB ports
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 13d3:56b2 IMC Networks Integrated Camera
Bus 001 Device 003: ID 04f3:245a Elan Microelectronics Corp. Touchscreen
Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 005: ID 8087:0aaa Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
(base) aaron@aaron-Lenovo-IdeaPad-S340-15IILTouch:~$ 

When I went into the alsamixer it showed my headphones were, muted, so I unmuted them, as the SO question above indicated, but that didn’t help things either.


Get this bounty!!!

#StackBounty: #sound #pulseaudio #alsa How can I record sound in background

Bounty: 500

I would like to run a command to be executed in background monitoring the output to the speaker and record what’s played.

I used the following command:

parec -d alsa_output.pci-0000_00_1b.0.analog-stereo.monitor | sox -t raw -b 16 -e signed -c 2 -r 44100 - test.ogg silence 1 0.1 3% 1 3.0 3%

It works, but it is running in forground listening to the device… I tried use tmux but it didn’t record the sound…. any solution?

I prefer a command line as a startup service to listen to the speaker output as long as it’s not stopped, however later I found pulseaudio as a required service isn’t run as a wide-system service and making it wide-system causes some problems in sound system….

Now this question isn’t my priority but if one knows a solution can offer.


Get this bounty!!!