#StackBounty: #sound #volume-control function keys for volume not working properly in ubuntu 14.04 LTS

Bounty: 100

When using the volume buttons (+, -, mute) they are reacting weirdly. When I press the key for increasing the volume a bit, it’ll go to the maximum automatically and when I decrease the volume, it’ll automatically go to 0.

Volume control with the mouse works fine.

The buttons are working and get recognized:

Checked with keyboard system settings tool: they get recognized by the tool both from the laptop directly as well as from my USB keyboard.

Who can help?


Get this bounty!!!

#StackBounty: #sound function keys for volume not working properly in ubuntu 14.04 LTS

Bounty: 100

When using the volume buttons (+, -, mute) they are reacting weirdly. When I press the key for increasing the volume a bit, it’ll go to the maximum automatically and when I decrease the volume, it’ll automatically go to 0.

Volume control with the mouse works fine.

The buttons are working and get recognized:

Checked with keyboard system settings tool: they get recognized by the tool both from the laptop directly as well as from my USB keyboard.

Who can help?


Get this bounty!!!

#StackBounty: #20.04 #sound #kubuntu #bluetooth #pulseaudio Stop application/pulse audio changing Bluetooth Profile when joining a call

Bounty: 50

I have a pair of bluetooth headphones, and a separate microphone, so I have the headphones set to use the "High Fidelity Playback (A2DP Sink)" Profile, so the audio quality isn’t trash. When, however, I join calls on some conference software, such as Microsoft Teams, the profile is automatically changed from A2DP Sink to HSP/HFP, causing the quality to turn into as if I’m using a mobile phone from the 1980’s.

I also, at the same time, wanted to stop application’s audio being muted when I join a call, and I discovered a solution to that in the question How to stop gnome from muting my music? I assume, therefore, there is likely a similar setting in Pulse Audio to stop it changing the profile when I join a call, but of searchfu hasn’t yielded any results and the linked blog in the above answer is a dead link. Does anyone know which I need to (un)comment or amend to stop it changing the profile? As I am using a separate microphone, then changing the profile makes no sense, as the headphone’s inbuilt mic shouldn’t be being used.

More odd is that if I join to call, change all the settings back (including the input volume as for some reason it resets that too) and then rejoin the call it doesn’t change the settings again; it is only the first time I join a call that boot cycle. Also, odd again, when I turn the headphones on for the first time in a boot cycle, they will connect using A2DP sink, and will continue to do so if I power them off and on. If, however, I join a call (which results in the profile change), and then later, after fixing the settings, power the headphones off, and then on again later they will connect using HSP/HFP even though they were using A2DP Sink when powered off here. This suggests it’s not Teams that’s changing the profile but likely PulseAudio.

Does anyone know how I can stop PulseAudio making automatic choices on what profile to use when I join a call for a Bluetooth device?


Get this bounty!!!

#StackBounty: #sound #pulseaudio #alsa #headphones #speakers Ubuntu 20.04 Built-in speakers treated as headphones

Bounty: 50

Built-in Speakers treated as headphones

I recently configured dual boot with ubuntu 20.04 LTS and now I have a volume problem.

This is the default sound configuration when I boot my computer and when I unplug a headphone or any external speaker.
How alsamixer appears at booting
.

My problem is:

  1. My Headphone Volume is controled by the “Headphone” device.
  2. Getting sound from my headphones requires that the “Master” and “Headphone” devices be unmuted.
  3. My Speaker Volume is ALSO controlled by the “Headphone” device. (The ALSA speaker volume setting suprisingly has no effect on my speaker’s volume). And when I unplug a Headphone, the “Headphone” device turns to 0 volume, as it does when I turn on the pc.
  4. Getting sound from my speakers requires that the “Master” and “Speaker” devices be unmuted.

So, basically I have to turn on the “Headphone” device any time I start my pc or unplug any sound device.

So it is exactly the same problem as this comment: https://askubuntu.com/a/929766/1092287, but I tried with that solution and it didn’t work, it just worsened everything and I have to uninstall and reinstall alsa-base and pulseaudio

I would really appreciate it if you could give me a solution to this problem that has been driving me nuts. Thank you in advance, and tell me if you need more info about my computer or something.


Get this bounty!!!

#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!!!